Solution of nonlinear ordinary differential equation of second order

4 ビュー (過去 30 日間)
manish jain
manish jain 2023 年 11 月 6 日
回答済み: Bhumi Desai 2023 年 11 月 10 日
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
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 件)

Torsten
Torsten 2023 年 11 月 6 日
編集済み: Torsten 2023 年 11 月 7 日
I suggest you integrate the equation
y" = A (x^4)
twice with respect to x and adjust the two free constants from the integration such that the two boundary conditions
y(0) = y(1) = 1
are satisfied.
No MATLAB is required.

Bhumi Desai
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)

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by