EXAM4 - 4-22-08 FOURTH IN-TERM EXAM Name: EGM 3344...

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

View Full Document Right Arrow Icon
4 - 2 2 - 0 8 N a m e : EGM 3344 Introduction to Numerical Methods of Engineering Analysis FOURTH 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. (1%)_____________________ 1. The following is a given Table of entropy s vs. specific volume v of superheated steam (as in Problem 15.7) v 10 11 12 s 64 65 69 a. (7%) Use linear interpolation to find (by hand) the entropy corresponding to a specific volume of 11.1. s(11.1)=65+(11.1-11)/(12-11)*(69-65)=65+0.1*4=65.4 b. (10%) Write Matlab code to obtain the value by quadratic interpolation by fitting a parabola to the data. v=[10 11 12]; s=[64, 65, 69]; p=polyfit(v,s,2); s111=polyval(p,11.1); c. (10%) Given that the parabola fitted in (b) is s=1.5v 2 -30v+220 (not exactly true), write Matlab code to find what v corresponds to s=66 by inverse interpolation. p=[1.5,-30, 220,-66]; roots(p) Then pick root between 11 and 012.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
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 / 7

EXAM4 - 4-22-08 FOURTH IN-TERM EXAM Name: EGM 3344...

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

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