Guest User

Untitled

a guest
Jan 5th, 2019
131
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mayank@mayank-Lenovo-ideapad-310-15IKB:~/Desktop/mynk/aeroME/visma$ ./run visma
  2. >>> multiplication(x^(-1)y^2 * zx^2)
  3. INPUT: x^(-1.0)y^(2.0) * zx^(2.0)
  4. OPERATION: multiplication
  5. OUTPUT: xy^(2.0)z
  6.  
  7. x^(-1.0)y^(2.0) * zx^(2.0)
  8.  
  9. xy^(2.0)z
  10. (Multiplying x^-1.0y^2.0 and zx^2.0)
  11.  
  12.  
  13. >>> addition(1 + 2 + x + 3x)
  14. INPUT: 1.0 + 2.0 + x + 3.0x
  15. OPERATION: addition
  16. OUTPUT: 3.0 + 4.0x
  17.  
  18. 1.0 + 2.0 + x + 3.0x
  19.  
  20. 3.0 + x + 3.0x
  21. (Adding 2.0 and 1.0)
  22.  
  23. 3.0 + 4.0x
  24. (Adding x and 3.0x)
  25.  
  26.  
  27. >>> integrate(xyz + xy/z + x + 1 + 1/x,x)
  28. INPUT: xyz + xy / z + x + 1.0 + 1.0 / x
  29. OPERATION: integrate
  30. OUTPUT: 0.5x^(2)yz + 0.5x^(2)yz^(-1) + 0.5x^(2) + x + 1.0 * log(x)
  31.  
  32. xyz + xy / z + x + 1.0 + 1.0 / x
  33.  
  34. xyz + xyz^(-1) + x + 1.0 + 1.0 / x
  35. (Dividing xy by z)
  36.  
  37. xyz + xyz^(-1) + x + 1.0 + x^(-1)
  38. (Dividing 1.0 by x)
  39.  
  40. 0.5x^(2)yz + 0.5x^(2)yz^(-1) + 0.5x^(2) + x + 1.0 * log(x)
  41. (Integrating with respect to x
  42. int  ( xyz) dx= 0.5x^2yz ; int  ( xyz^-1) dx= 0.5x^2yz^-1 ; int  ( x) dx= 0.5x^2 ; int  ( 1.0) dx= x ; int  ( x^-1) dx= 1.0*log(x) ; )
  43.  
  44.  
  45. >>> integrate(xyz + xy/z + x + 1 + 1/x,x)
  46. INPUT: xyz + xy / z + x + 1.0 + 1.0 / x
  47. OPERATION: integrate
  48. OUTPUT: 0.5x^(2)yz + 0.5x^(2)yz^(-1) + 0.5x^(2) + x + 1.0 * log(x)
  49.  
  50. xyz + xy / z + x + 1.0 + 1.0 / x
  51.  
  52. xyz + xyz^(-1) + x + 1.0 + 1.0 / x
  53. (Dividing xy by z)
  54.  
  55. xyz + xyz^(-1) + x + 1.0 + x^(-1)
  56. (Dividing 1.0 by x)
  57.  
  58. 0.5x^(2)yz + 0.5x^(2)yz^(-1) + 0.5x^(2) + x + 1.0 * log(x)
  59. (Integrating with respect to x
  60. int  ( xyz) dx= 0.5x^2yz ; int  ( xyz^-1) dx= 0.5x^2yz^-1 ; int  ( x) dx= 0.5x^2 ; int  ( 1.0) dx= x ; int  ( x^-1) dx= 1.0*log(x) ; )
  61.  
  62.  
  63. >>> differentiate(xy + xy^2 + xyz,y)
  64. INPUT: xy + xy^(2.0) + xyz
  65. OPERATION: differentiate
  66. OUTPUT: x + 2.0xy + xz
  67.  
  68. xy + xy^(2.0) + xyz
  69.  
  70. x + 2.0xy + xz
  71. (Differentiating with respect to y
  72. fracddy ( xy)= x ; fracddy ( xy^2.0)= 2.0xy ; fracddy ( xyz)= xz ; )
  73.  
  74.  
  75. >>> exit
  76. mayank@mayank-Lenovo-ideapad-310-15IKB:~/Desktop/mynk/aeroME/visma$
RAW Paste Data