complete the square MuPad

Does MuPad have among its factoring functions a command to complete the square?

Respuestas (1)

Paulo Silva
Paulo Silva el 26 de Abr. de 2011

1 voto

I don't know if there's one function for that purpose but you can do it easily following this:
%a*x^2+b*x+c %quadratic formula, this is what you have
h=-b/(2*a) %calculate h
k=c-b^2/(4*a) %calculate k
a*(x-h)^2+k %this is your equivalent formula
Just adapt the code for MuPad, shouldn't be hard to do.

Etiquetas

Preguntada:

el 26 de Abr. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by