diff options
Diffstat (limited to '3869/CH1/EX1.19/Ex1_19.sce')
-rw-r--r-- | 3869/CH1/EX1.19/Ex1_19.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3869/CH1/EX1.19/Ex1_19.sce b/3869/CH1/EX1.19/Ex1_19.sce new file mode 100644 index 000000000..782778393 --- /dev/null +++ b/3869/CH1/EX1.19/Ex1_19.sce @@ -0,0 +1,18 @@ +clear +// +// +// + +//Variable declaration +D4=0.4 //diameter of 4th ring(cm) +D12=0.7 //diameter of 12th ring(cm) +p1=16 +p2=8 +n=4 + +//Calculation +x=n*p1/(n*p2) +D20=sqrt((D4**2)+(x*((D12**2)-(D4**2)))) //diameter of 20th dark ring(cm) + +//Result +printf("\n diameter of 20th dark ring is %0.3f cm",D20) |