| Line 1: |
Line 1: |
| | <div style="font-size:30px">'''DSEC(x)'''</div><br/> | | <div style="font-size:30px">'''DSEC(x)'''</div><br/> |
| | * where '''x''' is the angle in Degrees | | * where '''x''' is the angle in Degrees |
| − | * by default Calci use Radian as angle
| + | |
| − | [[Manuals/calci/SEC| SEC]] can be used if the angle is in Radians. | + | [[Manuals/calci/SEC| SEC]] can be used if the angle is in Radians.<br/> |
| | + | The angle can be a single value or any complex array of values.<br/> |
| | + | For example DSEC(1..100) can give an array of the results, which is the SECANT value for each of the elements in the array. The array could be of any values either '+' or '-' like 1..5@DSEC or (-5)..(-1)@DSEC. |
| | | | |
| | ==Description== | | ==Description== |
| Line 10: |
Line 12: |
| | *To obtain the value in Radians multiply with PI()/180 or use SEC function SEC(x) | | *To obtain the value in Radians multiply with PI()/180 or use SEC function SEC(x) |
| | *DSEC returns NaN if 'x' is not real | | *DSEC returns NaN if 'x' is not real |
| − | The angle can be a single value or any complex array of values.
| |
| | | | |
| − | The following example shows how DSEC is applied to an array of numbers containing numbers 1..10. | + | The following example shows how DSEC is applied to an array of numbers containing angles 1..10. |
| | *Type =1..10@DSEC in Calci | | *Type =1..10@DSEC in Calci |
| | *Type =1..10@DSEC or 1..10@DSEC in ZOS | | *Type =1..10@DSEC or 1..10@DSEC in ZOS |
| Line 18: |
Line 19: |
| | {| class="wikitable" | | {| class="wikitable" |
| | |- | | |- |
| − | ! Number !! DSEC | + | ! Angles !! DSEC |
| | |- | | |- |
| | | 1 || 1.000152328 | | | 1 || 1.000152328 |
| Line 43: |
Line 44: |
| | == Examples == | | == Examples == |
| | '''DSEC(x)''' | | '''DSEC(x)''' |
| − | *'''x ''' is the angle in radians. | + | *'''x ''' is the angle in degrees. |
| | * SEC(-x)=-SEC(x) | | * SEC(-x)=-SEC(x) |
| | * Result shows DSEC(abc)= NAN | | * Result shows DSEC(abc)= NAN |
| Line 50: |
Line 51: |
| | | | |
| | |- class="even" | | |- class="even" |
| − | |'''DSEC(Radian)''' | + | |'''DSEC(Degrees)''' |
| | |'''Value''' | | |'''Value''' |
| | | | |