const PI = atan(1) * 4Note that despite involving code, I"m asking this from a khansar.netematics perspective.
Bạn đang xem: Arctan 1
I have 2 questions about this:
Is this an estimation of PI, or should it give me a large degree of accuracy?How does this give PI?On the second point, if I understand atan correctly, it takes a ratio of two sides, and returns the corresponding angle.
That means that atan(1) is referring a situation with 2 equal length sides.
I think I"m misunderstanding something though, as atan(1) gives me 0.7853981633974483, which seems like a very tiny angle.
If anyone can fill in the holes, it would be greatly appreciated.
pi
chia sẻ
Cite
Follow
asked Mar 29, 2015 at 17:26

CarcigenicateCarcigenicate
32911 gold badge55 silver badges1212 bronze badges
$endgroup$
6
| Show 1 more bình luận
6 Answers 6
Sorted by: Reset to default
Highest score (default) Date modified (newest first) Date created (oldest first)
14
$egingroup$
I"m including this little gif from Wikipedia as a great way to lớn understand radians.

nói qua
Cite
Follow
answered Mar 29, năm ngoái at 17:47

JoffanJoffan
38.3k55 gold badges4242 silver badges7777 bronze badges
$endgroup$
địa chỉ a bình luận |
12
$egingroup$
The function $arctancolon khansar.netbbR o (-fracpi2,fracpi2)$ is the inverse of $ an$. (for the right domain name of definition). As $ an fracpi4 = 1$, this means that $arctan 1=fracpi4$.
Regarding your question about angles: angles are (in khansar.netematics) measured in radians (in $<0,2pi)$ or $<-pi,pi)$), not in degrees: you should expect a value or order $pi$ or so, not ranging between $0$ and $360$.
share
Cite
Follow
edited Mar 29, 2015 at 18:01
answered Mar 29, năm ngoái at 17:29

Clement C.Clement C.
63.5k66 gold badges5959 silver badges139139 bronze badges
$endgroup$
4
địa chỉ cửa hàng a phản hồi |
2
$egingroup$
You certainly know that $sinfracpi4=cosfracpi4=fracsqrt22$ so one has $ anfracpi4=1$ & therefore $pi=4 an^-11$
chia sẻ
Cite
Follow
answered Mar 29, 2015 at 17:32

marwalixmarwalix
16.2k22 gold badges3030 silver badges4747 bronze badges
$endgroup$
địa chỉ a phản hồi |
1
$egingroup$
khansar.net explanation from a non-khansar.net person:
In a right angled triangle if the two short sides are equal, the angle is 45 degrees.
45 degrees in radians is π/4. (The full circumference is 2πr, 180 degrees is π & 45 degrees is π/4)
sin π/4 = cos π/4 because the two sides are equal.
tan π/4 = rã 45 = 1.
Arctan(1) is the degree (or radian) which returns a value of 1. So arctan of 1 is either 45 degrees or π/4.
π = 4*arctan(1)
share
Cite
Follow
answered Jun 19, 2018 at 19:24

gizmogizmo
1111 bronze badge
$endgroup$
địa chỉ a phản hồi |
1
$egingroup$
This shows geometric explanation for relationship between tan, atan & Pi.
Because horizontal segment AB = 1 & vertical segment BD = 1, angle alpha = 45°. From there you can use atan( BD ) lớn determine 45° in radiant and take that times 4 to lớn get Pi.

tóm tắt
Cite
Follow
answered Sep 17, 2020 at 9:30
VisorZVisorZ
1501010 bronze badges
$endgroup$
địa chỉ a bình luận |
0
$egingroup$
You are correct, in all numeric programing languages lượt thích fortran, c, c++, & many others, for a program generalized input đầu vào line that looks something like:
print, numeric, %pi , acos(-1), 4*atan(1)all return the same numeric value. Here the system stored value %pi may be faster than trig evaluation.
3.141592653589793, 3.141592653589793, 3.141592653589793
nội dung
Cite
Follow
answered Mar 4, 2018 at 20:44
eromanaeromana
1133 bronze badges
$endgroup$
add a phản hồi |
Your Answer
Thanks for contributing an answer to lớn khansar.netematics Stack Exchange!Please be sure to lớn answer the question. Provide details và share your research!
But avoid …
Asking for help, clarification, or responding khổng lồ other answers.Making statements based on opinion; back them up with references or personal experience.Use khansar.netJax khổng lồ format equations. khansar.netJax reference.
To learn more, see our tips on writing great answers.
Xem thêm: Từ Láy Là Gì? Tác Dụng Từ Láy Là Gì? Tác Dụng Của Từ Láy? Tác Dụng Của Từ Láy
Draft saved
Draft discarded
Sign up or log in
Sign up using Google
Sign up using Facebook
Sign up using e-mail and Password
Submit
Post as a guest
Name
e-mail Required, but never shown
Post as a guest
Name
thư điện tử
Required, but never shown
Post Your Answer Discard
By clicking “Post Your Answer”, you agree to lớn our terms of service, privacy policy & cookie policy
Not the answer you're looking for? Browse other questions tagged pi or ask your own question.
The Overflow Blog
Featured on Meta
Linked
1
Geometry: what is a radian
Related
9
Why does this expression equal $pi$?
0
How Does This Evaluate?
0
Why does this expression equal pi?
5
How does $-<-pi>$ equal 4?
0
Does pi have any combination of two numbers that the distance between them equal some natural number
Hot Network Questions more hot questions
Question feed
Subscribe to lớn RSS
Question feed to lớn subscribe to lớn this RSS feed, copy and paste this URL into your RSS reader.
khansar.netematics
Company
Stack Exchange Network
Site design / biểu tượng logo © 2022 Stack Exchange Inc; user contributions licensed under cc by-sa. Rev2022.4.21.42004
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.