matlab find max and min of given equation
2 views (last 30 days)
Show older comments
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 Comments
Sarah Crimi
on 28 Jan 2019
Edited: madhan ravi
on 28 Jan 2019
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)
Answers (0)
See Also
Categories
Find more on Number Theory in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!