all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
31
Task/Trigonometric-functions/SAS/trigonometric-functions.sas
Normal file
31
Task/Trigonometric-functions/SAS/trigonometric-functions.sas
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
data _null_;
|
||||
pi = 4*atan(1);
|
||||
deg = 30;
|
||||
rad = pi/6;
|
||||
k = pi/180;
|
||||
x = 0.2;
|
||||
|
||||
a = sin(rad);
|
||||
b = sin(deg*k);
|
||||
put a b;
|
||||
|
||||
a = cos(rad);
|
||||
b = cos(deg*k);
|
||||
put a b;
|
||||
|
||||
a = tan(rad);
|
||||
b = tan(deg*k);
|
||||
put a b;
|
||||
|
||||
a=arsin(x);
|
||||
b=arsin(x)/k;
|
||||
put a b;
|
||||
|
||||
a=arcos(x);
|
||||
b=arcos(x)/k;
|
||||
put a b;
|
||||
|
||||
a=atan(x);
|
||||
b=atan(x)/k;
|
||||
put a b;
|
||||
run;
|
||||
Loading…
Add table
Add a link
Reference in a new issue