Difference between revisions of "Manuals/calci/SIN"
(→Videos) |
(→Videos) |
||
Line 73: | Line 73: | ||
|} | |} | ||
==Videos== | ==Videos== | ||
− | {{#ev:youtube|KkgvmzY50Ag|200| | + | {{#ev:youtube|KkgvmzY50Ag|200|right|this is a test videos}} |
ease note that all contributions to ZCubes Wiki are considered to be released under the (c) Copyright 1996-2013, ZCubes Inc. All rights reserved. (see ZCubes Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. | ease note that all contributions to ZCubes Wiki are considered to be released under the (c) Copyright 1996-2013, ZCubes Inc. All rights reserved. (see ZCubes Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. | ||
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission! | You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission! |
Revision as of 01:05, 10 March 2014
- where x is the angle in Radians
- by default Calci uses Radian as angle
DSIN can be used if the angle is in degrees.
The angle can be a single value or any complex array of values.
For example SIN(1..100) can give an array of the results, which is the SIN value for each of the elements in the array. The array could be of any values either '+' or '-' like 1..5@SIN or (-5)..(-1)@SIN.
Description
Consider x = 90 then =SIN(RADIANS(90)) gives 1
The above function gives the Sine of 'x' in Degree.
- In a right angled triangle, SIN = Opposite side / Hypotenuse.
- SIN function determines the Sine of the given angle
- By default, Calci takes the angle in Radians
To convert Radians to Degrees multiply with 180/PI() or we have to use the Radians function SIN(RADIANS(x)) or DSIN(x).
- SIN(-x) = -SIN(x)
The following example shows how SIN is applied to an array of numbers containing angles 1..10.
- Type =1..10@SIN in Calci
- Type =1..10@SIN or 1..10@SIN in ZOS
Angles | SIN |
---|---|
1 | 0.8414709848078965 |
2 | 0.9092974268256817 |
3 | 0.1411200080598672 |
4 | -0.7568024953079282 |
5 | -0.9589242746631385 |
6 | -0.27941549819892586 |
7 | 0.6569865987187891 |
8 | 0.9893582466233818 |
9 | 0.4121184852417566 |
10 | -0.5440211108893698 |
Examples
SIN(x)
- x is the angle in radians.
SIN(Radian) | Value |
SIN(0) | 0 |
SIN(1) | 0.8414709848 |
SIN(90) | 0.8939966636 |
Videos
ease note that all contributions to ZCubes Wiki are considered to be released under the (c) Copyright 1996-2013, ZCubes Inc. All rights reserved. (see ZCubes Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!