Jump to content

Talk:Trigonometric functions: Difference between revisions

Retraction.
(Arc functions are different.)
(Retraction.)
Line 10:
The Java example also seems to not fit the requirements for arcsin, arccos, and arctan. --[[User:TBH|TBH]] 11:16, 9 January 2008 (MST)
:When I made the task I forgot that the arc functions return angles. Since they don't take an angle as an argument, I changed the Java example recently so that each function would print its answer in radians and degrees (even though they all start with different angles to get their arguments). I tried to make it more like the Ada example.--[[User:Mwn3d|Mwn3d]] 11:38, 9 January 2008 (MST)
::Ah! I had not noticed the clarified requirements. Now that I understand the requirements, I see that the answers are good for both the Ada and Java examples. The Perl code still needs fixing. The Ada code still has what seems to be an error, as I mentioned yesterday, but it does not affect the output. I've corrected the J code. --[[User:TBH|TBH]] 19:30, 9 January 2008 (MST)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.