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−8T3− 8.5016 × 10−6T2+ 6.5622 × 10−5 T+ 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:

Question Posted: