[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: plot sin(30)=1/2



PureBytes Links

Trading Reference Links

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" <soumya.b@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, May 13, 2007 8:18 PM
Subject: [amibroker] Re: plot sin(30)=1/2


> 
> no ans. at all !!!!!!!
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "doggy2050" <soumya.b@xxx> 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
> 
> 
> 
> 
>


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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/