{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

EXAM1 - FIRST IN-TERM EXAM Name EGM 3344 Introduction to...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
2-6-08 Name: EGM 3344 Introduction to Numerical Methods of Engineering Analysis FIRST IN-TERM EXAM In this exam you may use only one 8.5x11” formula page, and a pen or a pencil ( no computers or calculator s).. Please sign a pledge that you have not violated any of the university honesty provisions with regards to this exam. Also, please provide a 4 digit PIN that you will use to access your grade. If you do not provide one, the first four digits of your UF ID will be used except that leading zeros will be omitted. (1%)_____________________ PIN __________ 1. (25%) The density of freshwater can be computed as a function of temperature in centigrade, with the following equation 6 3 2 10 (0.055 8.5 ) 1 C C T T ρ = + Write Matlab code needed to generate a vector of temperatures ranging from 0 to 30 degrees (centigrade) in increments of 2 degrees, compute a vector of densities, and plot density vs. temperature. >> TC = 0:2:30; >> rho = 1e-6*(0.055*TC.^3-8. *TC.^2)+ +1; >> plot(TC,rho)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon