Derivative calculator with central difference formula Find the volumetric thermal expansion coefficient for each temperature given in the table. Solve BY MATLAB

조회 수: 13 (최근 30일)
Method: Derivative calculator with central difference formula
Question: The change in density of water, ρ (kg / m3), in the temperature range of 291-338 K is given in the table below. It is defined by the relation of volumetric thermal expansion coefficient of any substance. Find the volumetric thermal expansion coefficient for each temperature given in the table. Solve BY MATLAB
β = − (1/ρ ) (dρ/dT)
  댓글 수: 3

댓글을 달려면 로그인하십시오.

답변 (1개)

darova
darova 2021년 6월 1일
Or maybe gradient will be better aproach here. diff returns (n-1) points
T = [291 296 305 309 311 316 322 328 331 338];
rho = [999 997 996 994 992 990 988 986 983 980];
w = -1./rho.*gradient(rho,T);
plot(T,w)

카테고리

Help CenterFile Exchange에서 Fluid Mechanics에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by