# How to get θ sin and cos are together in 1 equation

ohaiyo88
b2cos2θ+2cosθ(-mb+bc2-bz-bcsinθ)+2sinθ(cm-cz)-c2sin2θ=p

How to get θ in terms of b,c,m,z,p
The equation i formed to calculate the dynamic
PLs, anyone can help to solve this, i would much appreciate! im doing my FYP!

Homework Helper
Replace $sin^2(\theta)$ with $1- cos^2(\theta)$ and $sin(\theta)$ with $\sqrt{1- cos^2(\theta)}$. That will give you an equation in $cos(\theta)$ only. However it will involve a square root so isolate that on one side of the equation and square both sides to get a fourth degree equation in $cos(\theta)$. That is not going to give a simple answer!

ohaiyo88
Thanks for ur precious reply! Somehow i still have to go through this question.. does it has any alternative method?

HallsofIvy's approach is the right one. Do you know the values of b,c,m,z,p (or ranges)? The equation will be easily solved numerically if you do.

ohaiyo88
b,c,m,z,p are the fixed constant, they will be known later. Somehow i cant get θ if i use HallsofIvy's approach because the existence of fourth, third, second, first degree of cos θ

ohaiyo88
and also how if i want to use numerical method? how to use it ? Matlab?

Personally, I use Mathematica, but Matlab will work. A simple Newton's method solver will find the root quickly once the coefficients are known.

ohaiyo88
may i know how do i use numerical method to solve this trigo+algebraic equation? i need to equate the equation θ in terms of b,c,m,z,p

Using Newton Raphson? (i donno how to use software, only know how to use handwritten)