dsolve error :Warning: Explicit solution could not be found. > In dsolve (line 201) In HW4_Q2 (line 15)

4 ビュー (過去 30 日間)
saravanakumar D
saravanakumar D 2019 年 3 月 4 日
編集済み: saravanakumar D 2019 年 3 月 4 日
%% HW4_Q2
clear all
syms f(x)
Df = diff(f,x);
ode = 2*(f*diff(f,x)-diff(f,x,2)*diff(f,x,3)-f*diff(f,x,2)+(diff(f,x))^2+(diff(f,x,3))^2+diff(f,x,2)*diff(f,x,4)+f*diff(f,x,3)+diff(f,x,1)*diff(f,x,2)+2*diff(f,x,1)*diff(f,x,2)-2*diff(f,x,3)*diff(f,x,4)-diff(f,x,2)*diff(f,x,4)-diff(f,x,3)*diff(f,x,4))== 0;
cond1 = f(0) == 0;
cond2 = f(pi/2)==0;
cond3 = Df(0)==0;
cond4 = Df(pi/2)==1;
conds = [cond1 cond2 cond3 cond4];
fSol(x) = dsolve(ode,conds)
  2 件のコメント
madhan ravi
madhan ravi 2019 年 3 月 4 日
upload your equations in latex form
Walter Roberson
Walter Roberson 2019 年 3 月 4 日
There does not appear to be an analytic solution to the given system.
If you omit cond4, Df(pi/2)==1, then the solution to the rest is f(x) = 0

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

回答 (0 件)

カテゴリ

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

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by