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

  • Thread starter Thread starter ohaiyo88
  • Start date Start date
  • Tags Tags
    Cos Sin
Click For Summary

Homework Help Overview

The discussion revolves around an equation involving trigonometric functions, specifically relating to the variable θ in terms of constants b, c, m, z, and p. The original poster seeks assistance in isolating θ from a complex equation that combines both sine and cosine functions.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the possibility of substituting sine and cosine terms to simplify the equation. One suggestion involves replacing sin²(θ) with 1 - cos²(θ) and isolating terms to derive a polynomial in cos(θ). Others inquire about alternative methods and numerical approaches to solve the equation.

Discussion Status

There is ongoing exploration of various methods to approach the problem, including numerical solutions. Some participants have provided insights into using software tools like Matlab or Mathematica for numerical methods, while others express uncertainty about the implementation of these methods.

Contextual Notes

Participants note that the constants b, c, m, z, and p are fixed but not yet defined, which may affect the ability to solve the equation. The presence of multiple degrees of cos(θ) in the equation raises concerns about the complexity of finding a solution.

ohaiyo88
Messages
12
Reaction score
0
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! I am doing my FYP!
 
Physics news on Phys.org
Replace [itex]sin^2(\theta)[/itex] with [itex]1- cos^2(\theta)[/itex] and [itex]sin(\theta)[/itex] with [itex]\sqrt{1- cos^2(\theta)}[/itex]. That will give you an equation in [itex]cos(\theta)[/itex] 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 [itex]cos(\theta)[/itex]. That is not going to give a simple answer!
 
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.
 
b,c,m,z,p are the fixed constant, they will be known later. Somehow i can't get θ if i use HallsofIvy's approach because the existence of fourth, third, second, first degree of cos θ
 
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.
 
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)
 
You could try Wolfram Alpha, which uses the Newton_Raphson method in the "FindRoot" function. For example, when I took the values, {b=1, c=2, z=3, m=4, p=5}, then using x for cos(theta), the equation becomes:

(-5 - 6 x + x^2 - 4 (1 - x^2))^2 == (-4 + 4 x)^2 (1 - x^2)

Wolfram Alpha, using the link below, finds x = -.45969. you can then find theta using the arccos function, or a calculator.

http://www.wolframalpha.com/input/?...-4+(1-x^2))^2+==+(-4+4+x)^2(1-x^2),+{x,+0.5}]
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
9K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
3
Views
4K