Write a function to solve the following ordinary differential equation:
with
and
. The function should return the values of y at the specified values of x. One application of this equation involves the propagation of internal gravity waves in a fluid with variable density gradient.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers9
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53739 Solvers
-
Select every other element of a vector
37316 Solvers
-
Convert hex color specification to MATLAB RGB
260 Solvers
-
Side of an equilateral triangle
7221 Solvers
-
Height of a right-angled triangle
2102 Solvers
More from this Author329
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Chris,
Can you loosen the tolerance to 1e-13. Cannot seem to get all my answers within tolerance.
The tight tolerances are meant to encourage analytical solutions. A tag and the problem title provide clues. Nevertheless, I've loosened the tolerance on the tests that solution 5760543 didn't pass.