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 - 0 8 N a m e : 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 63 2 10 (0.055 8.5 ) 1 CC TT ρ =− + 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 DocumentRight Arrow Icon
Name: 2. ((25%) Write an M-file function to determine the elapsed days from the beginning of the year to a given date. For simplicity assume that it is NOT a leap year. Use a
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/13/2010 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Page1 / 5

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

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online