Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Module[{length = 1, distance = 1},
  2. (*The exact expression before simplification*)
  3. N[\!\(
  4. \*SubsuperscriptBox[\(\[Integral]\), \(0\), \(Pi\)]\(\((distance -
  5. length\ Sin[x])\) \[DifferentialD]x\)\)]/(Pi*distance);
  6. (*Simplified expression*)
  7. N[1 - 2 (length/distance)/Pi]
  8. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement