find the minimum of polynomial.

10 views (last 30 days)
MADHVI
MADHVI on 24 Feb 2025
Answered: Walter Roberson on 24 Feb 2025
To find the minimum of polynomial a*R^2+b*R+c=0.
I want to minimize the f(R,a)=0.
Give the command for minimizing f(R,a)=0.
Thanks in advance.

Answers (2)

Sam Chak
Sam Chak on 24 Feb 2025

For a two-degree polynomial (quadratic) in the form of "y = ax^2 + bx + c", the formula to find the minimum value is: min = c - (b^2 / 4a).

Do you want to test special tools or functions for this specific problem?


Walter Roberson
Walter Roberson on 24 Feb 2025
syms a b c R
f = a*R^2+b*R+c
f = 
critical_points = solve(diff(f, R), R)
critical_points = 
value_at_critical_points = subs(f, R, critical_points)
value_at_critical_points = 

Community Treasure Hunt

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

Start Hunting!