indefinite Integral with two unknowns
Show older comments

I am trying to find the solution to this indefinite integral but when I try the symbolic method I get an error saying 'a' is an undefined variable. Can anyone help me out?
Accepted Answer
More Answers (1)
Torsten
on 18 Apr 2016
syms a x
int(sqrt((x-a)/(x+a)),x)
does not work ?
Best wishes
Torsten.
3 Comments
Derek Bindbeutel
on 18 Apr 2016
Torsten
on 18 Apr 2016
Then you don't seem to use the most recent MATLAB version.
Take a look at your documentation for suitable examples.
Best wishes
Torsten.
Steven Lord
on 18 Apr 2016
You defined the expression to be integrated as an inline object. That won't work. Define it as a symbolic expression instead as Star Strider and Torsten did; note that this will require Symbolic Math Toolbox.
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!