Problem with Symboli integration by partial fraction

2 views (last 30 days)
I just wrote a simple script to solve this expression
syms x
f = (x + 1)/(4*x^2 - 1)
int(f)
And I got the wrong answer (image attached).
Did I do something wrong, or there is something I should know.
Thanks.

Accepted Answer

madhan ravi
madhan ravi on 27 Jul 2018
Edited: madhan ravi on 27 Jul 2018
Hi, the file is not attached but if your answer correlates with this answer then there is nothing wrong with your code:
syms x
q = partfrac((x+1)/(4*x.^2-1))
int(q)

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!