Advertisement
JoelSjogren

Untitled

Mar 20th, 2022
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. box% python
  2. Python 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0] on linux
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> from scipy.integrate import quad
  5. >>> from numpy import sqrt
  6. >>> quad((lambda x: quad((lambda y: x*y), 0, sqrt(5-x**2))[0]), 1, sqrt(5))[0]
  7. 1.9999999999999998
  8. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement