フィルターのクリア

how to solve this equation in matlab? Please help

2 ビュー (過去 30 日間)
Prince
Prince 2016 年 2 月 23 日
コメント済み: Torsten 2016 年 2 月 25 日
please help me for solving this equation in matlab , thank you all , see the attached file.

採用された回答

Torsten
Torsten 2016 年 2 月 23 日
Use MATLAB's bvp4c to solve
y1' = y2
y2' = a*sin(y1)*cos(y1)
(a=V^2/V_th^2*Pi^2/L^2)
with boundary conditions
y1(0.01)=Pi/2
y1(L)=Pi/2
Best wishes
Torsten.
  5 件のコメント
Prince
Prince 2016 年 2 月 25 日
Hi , can you please check the mfile i have attached it for the this equation?, and also how can i plot the equation? thanks a lot for your kind help.
Torsten
Torsten 2016 年 2 月 25 日
To plot, add
x = linspace(0,L,20);
y = deval(sol,x);
plot(x,y(1,:));
after the line
sol=bvp4c(@(x,y)ode(x,y,a),@bc,solinit);
Best wishes
Torsten.

サインインしてコメントする。

その他の回答 (1 件)

Explorer
Explorer 2016 年 2 月 23 日
編集済み: Explorer 2016 年 2 月 23 日
L =0.2;
K11 =4.8e-12;
E0 =8.85e-12;
delta_E =0.78;
Vth = (pi/L) * sqrt(K11/(E0*delta_E))
  1 件のコメント
Prince
Prince 2016 年 2 月 24 日
thanks a lot

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeBoundary Conditions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by