Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.65 KB | None | 0 0
  1. function F = yoba(x)
  2.  
  3. F(1) = 101.325*10*70 -( x(3)*8.314*x(10));
  4. F(2) = 101.325*30*70 -( (x(4) + 37.7)*8.314*x(9));
  5. F(3) = 373.15*(200*(x(3) + x(4)) + 20*37.7) -( 200*(x(10)*x(3) + x(9)*x(4)) + 20*x(9)*37.7);
  6. F(4) = x(4) + x(3) -( 2 * 37.7);
  7. F(5) = x(7)*70 -( x(4)*8.314*x(5));
  8. F(6) = x(8)*70 -( 37.7*8.314*x(6));
  9. F(7) = x(9)*(200*x(4) + 20*37.7) -( x(5)*x(4) + 20*x(6)*37.7);
  10. F(8) = x(7) + x(8) -( 1013);
  11. F(9) = x(2)*2*70 -( 37.7*8.314*x(1));
  12. F(10) = x(1)*30*37.7 -( x(10)*200*x(3)*+x(9)*(20*37.7 + 200*x(4)) + 550000*37.7/2);
  13.  
  14. ans =
  15.  
  16. 10901.1426
  17. 34375.2015
  18.   221.0958
  19.   -34.8885
  20.  -194.4301
  21.    54.8473
  22.   -11.0551
  23.    31.8844
  24.    -0.0025
  25.     2.8202
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement