matlab find max and min of given equation
2 ビュー (過去 30 日間)
古いコメントを表示
to write matlab code for this equation
f(a,y)= a^2y^2+3ya+4(a^2y-4y^4a)
df(a,y)/da=0
to find the value of constant =a from above equation
then substitute the value back to equation to find min value of F(y)
2 件のコメント
Sarah Crimi
2019 年 1 月 28 日
編集済み: madhan ravi
2019 年 1 月 28 日
I think you need to define a and y as symbols. I got this from the attached link.
syms a y
f= a^2y^2+3ya+4(a^2y-4y^4a)
df = diff(f, a)==0;
solve(df, a)
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Number Theory についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!