matlab用符号函数法求解方程at2+b*t+c=0.
问题描述:
matlab用符号函数法求解方程at2+b*t+c=0.
答
>> solve('a*t^2+b*t+c')
ans =
-(b + (b^2 - 4*a*c)^(1/2))/(2*a)
-(b - (b^2 - 4*a*c)^(1/2))/(2*a)