2
$\begingroup$

I have an equation $4\sin^2(θ) = 1+4\cos(θ)$. I need to solve this equation on the interval $0<=θ<2 π$.

How would I use the Solve and/or Reduce commands to solve this equation?

$\endgroup$

1 Answer 1

5
$\begingroup$
Reduce[{4 Sin[θ]^2 == 1 + 4 Cos[θ], 0 <= θ < 2 π}]
 (* θ == π/3 || θ == (5 π)/3 *)

Solve[{4 Sin[θ]^2 == 1 + 4 Cos[θ], 0 <= θ < 2 π}]
 (* {{θ -> π/3},{θ -> (5 π)/3}} *)
$\endgroup$
2
  • $\begingroup$ Thank you! I kept using Solve and gave me much longer solutions. $\endgroup$ Commented Nov 17, 2016 at 6:31
  • 1
    $\begingroup$ you can use Solve as well: see the latest edit $\endgroup$
    – kevin
    Commented Nov 17, 2016 at 6:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.