Question: The density of freshwater can be computed as a function of temperature with the following cubic equation: = 5.5289 10 8 T 3
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).
Step by Step Solution
3.38 Rating (160 Votes )
There are 3 Steps involved in it
Heres the MATLAB code to generate a vector of temperatures in C ranging from 32F to 932F using incre... View full answer
Get step-by-step solutions from verified subject matter experts
