diff options
Diffstat (limited to '3782/CH1/EX1.22/Ex1_22.sce')
-rw-r--r-- | 3782/CH1/EX1.22/Ex1_22.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/3782/CH1/EX1.22/Ex1_22.sce b/3782/CH1/EX1.22/Ex1_22.sce new file mode 100644 index 000000000..a2aa7dd7a --- /dev/null +++ b/3782/CH1/EX1.22/Ex1_22.sce @@ -0,0 +1,24 @@ + +//ch-1 page -40 pb-1 + +// + +// + + +a=23 +b=16.5 +c=12 + + +t1=acos((a*a+b*b-(c*c))/(2*a*b)) +t1=t1*(180/%pi) + +printf("\n theta1= %0.3f ",t1) + +t2=acos((c*c+b*b-(a*a))/(2*c*b)) +t2=t2*(180/%pi) +dg=int(t2) +mi=t2-int(t2) +mi=(mi*60) +printf("\n theta2= %0.3f degrees %0.3f minutes",dg,mi) |