A 'Enter The Function in Terms of A:'

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

5/ 5/ 14 8: 32 AM Unt i t l ed 1 of 1

syms A;
f un = i nput ( ' Ent er t he f unct i on i n t er ms of A: ' ) ;
f =i nl i ne( f un) ;
z=di f f ( f ( A) ) ;
f 1=i nl i ne ( z) ;
A0=i nput ( ' Ent er t he i ni t i al val ue of A: ' ) ;
A=A0;
f or i =0: i nf ;
y=A;
A=y- [ f ( A) / f 1( A) ] ;
i f A==y
br eak
end
end
A
i

You might also like