P15_7 - v coefs = polyfit(v,s,2); c f2 = polyval(coefs,...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function P15_7 f v = [0.10377 0.11144 0.12547]; v s = [6.4147 6.5453 6.7664]; s f1 = 6.5453 + ((.118-.11144)/(.12547-.11144))*(6.7664-6.5453) f %--------------------------------------------------- % %part b % v = [0.10377 0.1144 0.12547];
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: v coefs = polyfit(v,s,2); c f2 = polyval(coefs, 0.118) f %------------------------------------------------% %part c % coefs(1,3) = coefs(1,3) - 6.45; c f3 = roots(coefs) f if f3 > coefs...
View Full Document

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

Ask a homework question - tutors are online