Solve an ODE: equation C - MATLAB Cody - MATLAB Central

Problem 51815. Solve an ODE: equation C

Difficulty:Rate
Write a function to solve the following ordinary differential equation:
(1-x^2) y" - x y' + a^2 y = 0
with y(x0) = y0 and y(x1) = y1. The parameter a is a constant. The function should return the values of y at the specified values of x.

Solution Stats

83.33% Correct | 16.67% Incorrect
Last Solution submitted on Jan 23, 2022

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers5

Suggested Problems

More from this Author290

Community Treasure Hunt

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

Start Hunting!
Go to top of page