summaryrefslogtreecommitdiff
path: root/3669/CH14/EX14.11
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH14/EX14.11')
-rw-r--r--3669/CH14/EX14.11/11.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3669/CH14/EX14.11/11.sce b/3669/CH14/EX14.11/11.sce
new file mode 100644
index 000000000..7ce285f6e
--- /dev/null
+++ b/3669/CH14/EX14.11/11.sce
@@ -0,0 +1,11 @@
+
+//Variable declaration
+D5=0.3; //diameter of 5th ring(cm)
+D15=0.62; //diameter of 15th ring(cm)
+
+//Calculation
+D_25=2*(D15**2)-(D5**2);
+D25=sqrt(D_25); //diameter of 25th ring(cm)
+
+//Result
+printf('diameter of 25th ring is %0.3f cm \n',(D25)) \ No newline at end of file