Dsolve gives extra term
Show older comments
Hello, Im calculating following third term function
. I got the following answer without Matlab
. However when solving the function with dsolve Matlab gives me this answer
.
So my question is, where is this -1/2187 coming from? Is it possible to get rid of it somehow when using dsolve?
Accepted Answer
More Answers (1)
John D'Errico
on 16 Nov 2023
3 votes
Why do you care?
Note that C1 is completely arbirtrary! C1 is an unknown constant!
So you can trivially add or subtract any constant from the result, and the solution is still as valid.
Once you apply initial conditions, then the constant will be absorbed. It will magically go away.
1 Comment
Arto Jyvälä
on 16 Nov 2023
Categories
Find more on Get Started with MATLAB 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!