修正符号方程解法.

Signed-off-by: lion.chan <cy187lion@sina.com>
This commit is contained in:
lion.chan 2022-07-16 16:05:06 +08:00
parent 94b924d707
commit 9b0ca983b9
1 changed files with 3 additions and 3 deletions

View File

@ -919,7 +919,7 @@ p = A * X
```m
>> pkg load symbolic
>> syms f v o g b
>> fun=(f/v*cos(b))^2-2*o/g-(v*sin(b)/g)^2
>> solve(fun,b)
>> syms a b c x
>> eqn=a*x^2+b*x+c==0
>> x=solve(eqn,x)
```