T-89 not giving pi back as cos(-1)

  • Thread starter Thread starter Tyrion101
  • Start date Start date
  • Tags Tags
    Pi
Click For Summary

Discussion Overview

The discussion revolves around a problem with a cosine calculator where a participant expects the output of cos(-1) to yield π, either symbolically or numerically. The scope includes conceptual understanding of trigonometric functions and their outputs.

Discussion Character

  • Conceptual clarification, Debate/contested

Main Points Raised

  • One participant suggests that the issue may stem from confusion between the cosine function and its inverse, indicating that arccos(-1) equals π.
  • Another participant points out that the cosine function cannot yield a value of π, as cosine values are constrained between -1 and 1.
  • There is a question raised about whether the input to the cosine function is in radians or degrees, which could affect the output.

Areas of Agreement / Disagreement

Participants express differing views on the expected output of the cosine function, with some clarifying the misunderstanding while others highlight the constraints of cosine values. The discussion remains unresolved regarding the participant's initial assumptions and the calculator's behavior.

Contextual Notes

The discussion highlights potential misunderstandings regarding the definitions and outputs of trigonometric functions, particularly in relation to their ranges and the distinction between cosine and inverse cosine.

Tyrion101
Messages
166
Reaction score
2
I have a cosine calculator problem, and it keeps coming up wrong. So I figured to test it would be to do cosine of -1 which should be pi, either symbolically or numerically but it doesn't come out with either. It either produces cos(1) or .540302. It used to give pi as the symbol or as the number. What did I change?
 
Computer science news on Phys.org
Are you doing inverse cosine?

##arccos(-1) = \pi##
 
Tyrion101 said:
I have a cosine calculator problem, and it keeps coming up wrong. So I figured to test it would be to do cosine of -1 which should be pi, either symbolically or numerically but it doesn't come out with either.
You should be using cos-1, the inverse cosine function.
Tyrion101 said:
It either produces cos(1) or .540302. It used to give pi as the symbol or as the number. What did I change?
 
Thanks! I'd hate to fail the course because of a stupid mistake like this!
 
Tyrion101 said:
So I figured to test it would be to do cosine of -1 which should be pi
Tyrion101 said:
Thanks! I'd hate to fail the course because of a stupid mistake like this!
This mistake suggests a fairly serious flaw in your understanding of these trig functions. The sine and cosine functions never get above 1 or below -1, so it's not possible for the cosine of any real number to be ##\pi##.
 
Here is how to make sense very quickly:

[tex]cos(-1)=π[/tex] -----------------No. Too big for any cosine value.
and: Is that cosine function input in radians or in degrees?
 

Similar threads

Replies
1
Views
3K
Replies
1
Views
2K
Replies
16
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
4K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 15 ·
Replies
15
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
2K
Replies
3
Views
2K