SHARE
TWEET

Untitled

a guest Apr 18th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. r=3.10
  2. s=0.08
  3. f=0.30
  4.  
  5. % syms r s f x
  6. % eq= 0==-(r^2*(x-1)*((0.5*x)-1)+1+((s)/(1-x)))*x+f;
  7. % eq,x)
  8. %
  9. % %
  10. % solve(root(r^2*z^4 - 4*r^2*z^3 + 5*r^2*z^2 + 2*z^2 - 2*r^2*z - 2*s*z - 2*f*z - 2*z + 2*f, z, 1)
  11.  
  12. poly = [r^2 -4*r^2 (5*r^2)+2 (-2*r^2)-(2*s)-(2*f)-2 2*f];
  13.  
  14. r=roots(poly)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top