ich habe in Leteratur rausgefunden, diese Integralgleichung
[math]\int_ -1^ 1 \! \frac{sqrt{1-x^2}}{(a-x)} \, dx = \pi \cdot a[/math]
[math] - 1\leq a\leq + 1 [/math]
wie muss ich das Integral in matlab vordefinieren , damit das gleiche wie in Leteratur
[math]\int_-1^1 \! \frac{sqrt{1-x^2}}{(a-x)} \, dx = \pi \cdot a[/math] rauskommt
hier ist mein fehlerhaftes Code:
syms x a
assume ( -1<=a<=+1 )
int( [math] \! \frac{sqrt{1-x^2}}{(a-x)}[/math] ,x,-1,1)
dann kommt nix raus.
was soll ich im Matlab-Code eingeben.
↧