Your second arg is being interpreted as a flag for the `integrate` routine.
You should not be telling it the integration variable via second arg when
you have a limits:
```python
integrate(y,x) -> x*sqrt(1 - x**2)/2 + asin(x)/2
integrate(y,(x,1) -> pi/4
integrate(y,(x,0,1)) -> pi/4
```
/c
On
This code:
import sympy as sm
x = sm.symbols('x')
f = sm.integrate(sm.sqrt(1-x**2), (x, 0, 1))
print('f=', f)
gives:
f = pi /4
From: sympy@googlegroups.com On Behalf Of Ajith Kumar
Sent: Dienstag, 23. April 2024 10:43
To: sympy
Subject: [sympy] Area of circle by integration