Back to front pageView on Hacker News (opens in a new tab)Ask HN: Teach me something new416 pointsby trifit (on Hacker News)4 years agoA command line trick, a random factoid, anything that’s interesting to you.Comments (762) 128 threadsShow all commentsShowing thread 57 of 128[-]Turing_Machine4 years ago1 reply#sin(0) = sqrt(0)/2.sin(30) = sqrt(1)/2.sin(45) = sqrt(2)/2.sin(60) = sqrt(3)/2.sin(90) = sqrt(4)/2.You probably knew all of those, but may not have seen it set out in this fashion before.[-]tmaly4 years ago1 reply#How does one calculate an initial set of values for sin for using in a table in the computer?Turing_Machine4 years ago#Oh, gee... Numerical Methods class was a long time ago.The Taylor series comes to mind immediately. There may be (probably are) better methods.
Turing_Machine4 years ago1 reply#sin(0) = sqrt(0)/2.sin(30) = sqrt(1)/2.sin(45) = sqrt(2)/2.sin(60) = sqrt(3)/2.sin(90) = sqrt(4)/2.You probably knew all of those, but may not have seen it set out in this fashion before.
tmaly4 years ago1 reply#How does one calculate an initial set of values for sin for using in a table in the computer?
Turing_Machine4 years ago#Oh, gee... Numerical Methods class was a long time ago.The Taylor series comes to mind immediately. There may be (probably are) better methods.
Comments (762) 128 threads
Show all comments
Showing thread 57 of 128
sin(30) = sqrt(1)/2.
sin(45) = sqrt(2)/2.
sin(60) = sqrt(3)/2.
sin(90) = sqrt(4)/2.
You probably knew all of those, but may not have seen it set out in this fashion before.
The Taylor series comes to mind immediately. There may be (probably are) better methods.