What is a two term tangent and how am I supposed to calculate it?

  • Thread starter Thread starter F14
  • Start date Start date
  • Tags Tags
    Tangent Term
Click For Summary
SUMMARY

The discussion centers on calculating the angle of a two-term tangent using the "atan2" function, which is essential for retaining sign information in vector calculations. The user initially attempted to use the inverse tangent function but encountered discrepancies in the angle results. The correct angle, as referenced in a solution, is -166.51 degrees, which the user could not replicate. The conversation emphasizes the importance of using separate x and y parameters in the atan2 function for accurate angle determination.

PREREQUISITES
  • Understanding of vector components and their representation
  • Familiarity with the distance formula in mathematics
  • Knowledge of trigonometric functions, specifically "atan" and "atan2"
  • Basic proficiency in LaTeX for mathematical notation
NEXT STEPS
  • Research the "atan2" function and its applications in programming languages like Python and JavaScript
  • Study the distance formula and its derivation in vector mathematics
  • Explore LaTeX formatting for presenting mathematical problems clearly
  • Investigate the significance of quadrant determination in trigonometric calculations
USEFUL FOR

Students in mathematics or physics, software developers working with vector calculations, and anyone needing to understand trigonometric functions in programming contexts.

F14
Messages
1
Reaction score
0
Homework Statement
determine the magnitude and direction of V
Relevant Equations
Please refer to the pictures
So, I was able to run some numbers and get a magnitude with what looks to be the distance formula. I was able to do that by first adding the (i) and(j) components from the two vectors and then taking the sums and running them through that distance formula. So far so good, but now I have to figure out the degrees of its angle.

I looked up the problem on Chegg study to see what others have done and that is when I noticed that this "atan2" process was being used to calculate the direction. I have never heard of a two-term tangent before and when I looked that up, I mostly just got references to Fortran and MatLab usage. In the solution, it states that it is -166.51 degrees. I could not replicate that answer when I tried to do it on my own. I tried inverse tan to get my degrees, but those figures were under 80 degrees and in the positive since the slope is positive.

Could I get some insight into this, please?
 

Attachments

  • pic2.jpg
    pic2.jpg
    47.5 KB · Views: 304
  • pic3.jpg
    pic3.jpg
    26.9 KB · Views: 306
  • pic1.jpg
    pic1.jpg
    42.3 KB · Views: 286
Physics news on Phys.org
F14 said:
never heard of a two-term tangent before
The trouble with atan(y/x) is that it loses sign information in the x and y values. If both are positive then the angle is in the first quadrant, but if both negative it is 180 degrees around in the third quadrant. Providing x and y as separate parameters solves this.
 
  • Like
Likes   Reactions: Dale and DaveE
Your pictures are very hard to read. Neither the problem statement nor your own calculations can be clearly seen without further editing: downloads, change of brightness, zooming etc.

Please type in both: problem statement + what you did by using LaTeX. Here you can find how it is done:
https://www.physicsforums.com/help/latexhelp/
 

Similar threads

Replies
3
Views
844
  • · Replies 10 ·
Replies
10
Views
2K
Replies
4
Views
1K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
27K
  • · Replies 17 ·
Replies
17
Views
1K
  • · Replies 53 ·
2
Replies
53
Views
5K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K