The density of freshwater can be computed as a function of temperature with the following cubic equation:
Question:
The density of freshwater can be computed as a function of temperature with the following cubic equation:
ρ = 5.5289 × 10−8T3C − 8.5016 × 10−6T2C + 6.5622 × 10−5 TC + 0.99987
where ρ = density (g/cm3) and TC = temperature (°C). Use MATLAB to generate a vector of temperatures ranging from 32°F to 93.2°F using increments of 3.6°F. Convert this vector to degrees Celsius and then compute a vector of densities based on the cubic formula. Create a plot of ρ versus TC. Recall that TC = 5/9(TF − 32).
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Applied Numerical Methods With MATLAB For Engineers And Scientists
ISBN: 9781259027437
3rd Edition
Authors: Steven C. Chapra
Question Posted: