|
发表于 2009-5-24 14:23:07
|
显示全部楼层
Two ways.
1
solve('x+y-a', 'x*y-b')
But in this case, a and b must be replaced by their values, for example ('x+y-1.5', 'x*y-2').
2
solve(x+y-a, x*y-b)
In this case, a and b do not need to be numbers. They can be defined in many ways.
For example,
w=[1 3];
solve(x+y-w(1), x*y-w(2)^2).
Hope this will be helpful. |
|