Hello,

Did you read the manual (one page regarding sin() function)?
http://www.amibroker.com/f?sin

It says:
      SYNTAX  sin( NUMBER )
      sin( ARRAY )  
      RETURNS NUMBER,
      ARRAY  
      FUNCTION  Returns the sine of NUMBER or ARRAY. This function assumes that 
the ARRAY values are in radians.  


Radians are not degrees.

PI = 3.1415926;
FullCircle = 2 * PI;
OneDegree = 2 * PI / 360;

30 degrees = 30 * 2 * PI / 360;

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "doggy2050" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, May 13, 2007 8:18 PM
Subject: [amibroker] Re: plot sin(30)=1/2


> 
> no ans. at all !!!!!!!
> 
> --- In [email protected], "doggy2050" <[EMAIL PROTECTED]> wrote:
>>
>> how can i plot sin(30)=1/2 instead of -0.988031624
>> 
>> thanx in advance
>> soumya
>>
> 
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>

Reply via email to