06-21-2014, 05:01 PM
I'm trying to get all answers from a Van Der Waals cubic equation.
Here's the definition of variables:
I defined 'x' too (x:=0)
When trying to plot the following equation on CAS, the hourglass stays there forever.
Which doesn't happen on it's equivalent form, the standard cubic form:
Anyway, I just managed to get all 3 answers from both forms of my equation.
There are 4 ways to solve the equation, by using the following sintaxis:
Here's the definition of variables:
I defined 'x' too (x:=0)
When trying to plot the following equation on CAS, the hourglass stays there forever.
Which doesn't happen on it's equivalent form, the standard cubic form:
Anyway, I just managed to get all 3 answers from both forms of my equation.
There are 4 ways to solve the equation, by using the following sintaxis:
- With solve
solve(equation,var)
solve({equation},{var}) For multiple equations.
- With fsolve
fsolve(equation,var)
fsolve([equation],[var])--> For multiple equations, but this one only shows 1 result in my case.