complete the square MuPad
조회 수: 16 (최근 30일)
이전 댓글 표시
Does MuPad have among its factoring functions a command to complete the square?
댓글 수: 0
답변 (1개)
Paulo Silva
2011년 4월 26일
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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!