Joe
Joe

Reputation: 1768

How to solve polynomial equation with parameter?

I have a polynomial equation in x with an additional parameter in it. My goal is to solve it with R such that I have x on one side, and the parameter terms on the other. Here is a simplified example:

enter image description here

Now, I would like R to come up with:

enter image description here

How to do it?

Upvotes: 0

Views: 438

Answers (1)

OmG
OmG

Reputation: 18838

You can do it by using Ryacas package likes the following:

require("Ryacas")
x <- Sym("x")
t <- Sym("t")
yacas("Solve(4*x^2*t == 3, x)")

Know more about this package in this link.

Upvotes: 1

Related Questions