Solution of nonlinear ordinary differential equation of second order
3 次查看(过去 30 天)
显示 更早的评论
Can anyone let me hownto solve nonlinear ordinary differential equation mathematically, numerically and graphically using matlab. The differential equation is: y" = A (x^4) and y(0) = y(1) = 1
1 个评论
Dyuman Joshi
2023-11-6
Do you mind showing how to solve a Differential equation graphically?
Also, did you search on this forum or on the internet for similar questions asked before?
回答(2 个)
Bhumi Desai
2023-11-10
A = 1; % Assumed
syms y(x)
Dy = diff(y);
ode = diff(y,x, 2) == A*(x^4);
cond1 = y(0) == 1;
cond2 = y(1) == 1;
conds = [cond1 cond2];
ySol(x) = dsolve(ode,conds);
ySol = simplify(ySol)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!