how to solve algebraic expression in matlab?

Ivan J

New member
I want to solve this for x in matlab
x^2-25x+150
this is what I tried
>>syms x;
>>solve ('x^2-25x+150','x')
but I get an error. I am looking for the answers x = 10, 15
 
Back
Top