#Finding π with sin , cos and tan
82 messages · Page 1 of 1 (latest)
so basically there is a formula to find π. its sin(a°) * 360/a ≈ 2π
and the smaller “a” is the closer you get to π.
This also works with tangent but not with cosine can someone explain why it doesn’t work with cosine?
sin(x rad) is really close to x when x is small
so sin(x rad)/x is really close to 1
then consider y=x*2pi/360
y is also pretty small when x is small so, sin(y rad)/y is about 1
but y rad = x degrees
so sin(x degrees)/y ~= 1
and sin(x degrees)/(x*2pi/360) ~= 1
rearranging, sin(x degrees)*360/x ~= 2pi
what ia rad
radians
didnt have them yet
oh
ok I know this
if you wanted to describe a full rotation in terms of degrees, you would say you'd need 360 degrees
radians are similar
ohh
if you wanted to describe a full rotation in terms of radians, you would say you'd need 2pi radians
I am also at this point
if you have a function that's really close to x when x is small, then f(x degrees)*360/x is roughly 2pi
wait
no
yes it is
im right
if you have a function that's really close to x when x is small, then f(x degrees)*360/x is roughly 2pi
that's true
(notice if your function is f(x)=x then you always get f(x)*360/x = 2pi. so the closest function possible to x gives the best approximation!)
f (10) * 360/10 = 2π
wdym
I put 10 in the place of x
you need the sine or tangent of x in degrees
yeah
you are just telking me a formula I already have
for sine and tangent, passing in small values of x (in radians) is really close to x
like sin(0.1 rad) is really close to 0.1
ikow
but that's not true for cosine
oh ok
cosine of small values is really close to 1
so I would need to hava big cosines
wdym?
well sure, if you pick the right value of x then it'll work
lol
Oh wow
so what you're noticing is true for the same reasons as sin(x)*360/x is about 2pi
btw this formula also works with tan(x degrees)
a bigger value of x won't get you a closer approximation
all of the time
but If I use cos(89.99) [ adding another decimal] I need to multiply by 100 not 10
soo
but then you're saying cos(x)*360/(90-x) is close to 2pi when x is close to 90
which isn't the same as saying cos(x)*360/x is close to 2pi
(indeed, if x>60 then cos(x)*360/x<2pi)
cos(89.9°) * 360 * 10 =2π
cos(89.99°) *360 *100 =2π
well you said cos(89.9)*360/0.1 is close to 2pi
and not that cos(89.9)*360/89.8 is close to 2pi
I never said to devide
yeah you did
anyways cos(89.9)*360*10 = cos(89.9)*360/0.1
where
uhm
there
what do you mean?
like if I wanna have an answer thats more near Pi I can just add a bunch of 0’s on bith sides
oh wait I got it
yeah and the higher cos is to 90° the closer cos(x degrees) *360/(amount of decimals the x has in decimals 0).1 gets to 2π
So yeah
this uses pi to calculate pi