matlab find max and min of given equation

2 ビュー (過去 30 日間)
Arvind Sharma
Arvind Sharma 2019 年 1 月 28 日
編集済み: madhan ravi 2019 年 1 月 28 日
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
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)
madhan ravi
madhan ravi 2019 年 1 月 28 日
f = a^2*y^2+3*y*a+4*(a^2*y-4*y^4*a)

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeNumber Theory についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by