Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
I am sure I've got the trig functions declared correctly, but they are still giving me wrong answers.
I am sure I've got the trig functions declared correctly, but they are still giving me wrong answers.
✍: Guest
You weren't handing them angles in degrees, were you? C's trig functions (like FORTRAN's and most other languages) accept angles in radians. The conversion from degrees to radians is simple enough:
sin(degrees * pi / 180)
2015-06-29, 1427👍, 0💬
Popular Posts:
If XML does not have closing tag will it work? No, every tag in XML which is opened should have a cl...
What does AddressOf operator do in background ? The AddressOf operator creates a delegate object to ...
Are risk constant through out the project ? * Never say that risk is high through out the project. R...
Which are the various programming approaches for WCF?
How do I debug thread ? This window is only seen when the program is running in debug mode. In windo...