Hi.
Is it possible to solve equations using R with one unknown variable? I've tried some different things but can't come up with a solution. Here's my equation:
p*(1+p^2) + (1-p) * (3+2 * p * (1-p)) == p * (3+2 * p * (1-p)) + (1-p) * (1+(1 * 2 * p * p^2))
y = x*(1+x^2) + (1-x) * (3+2 * x * (1-x)) - x * (3+2 * x * (1-x)) - (1-x) * (1+(1 * 2 * x * x^2))
Well, you could graph it.
There are numerical methods like Newton-Raphson, but the solutions are close together and N-R may not converge.