This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: function[f]=Ratchford_Rice(V) sum=0; global Psat; global z; global P; for i=1:3 sum=sum+((z(i)*(Psat(i)/P-1))/(1+V*(Psat(i)/P-1))); end f=sum; Global.m global Psat Psat=[195.75,97.84,50.32]; global z z=[.45,.35,.20]; global P P=110; global lowGuess; lowGuess=.2; global highGuess; highGuess=.8; false_position('Ratchford_Rice',lowGuess,highGuess)...
View Full Document
This note was uploaded on 04/21/2010 for the course PGE 310 taught by Professor Klaus during the Spring '06 term at University of Texas.
- Spring '06