Math function questtion.
Posted: Tue Dec 01, 2009 12:39 pm
Hi,
I have sample code listed below
<?php
echo sin(45);
echo "<br/>";
echo cos(45);
?>
When i run the code, I get the following results:
0.85090352453412
0.52532198881773
Here is the problem, I know that Sin(45)=Cos(45)
So what I'm doing wrong here?
Many Thanks
I have sample code listed below
<?php
echo sin(45);
echo "<br/>";
echo cos(45);
?>
When i run the code, I get the following results:
0.85090352453412
0.52532198881773
Here is the problem, I know that Sin(45)=Cos(45)
So what I'm doing wrong here?
Many Thanks