diff options
Diffstat (limited to '1652/CH1/EX1.5/1_5.sce')
-rwxr-xr-x | 1652/CH1/EX1.5/1_5.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1652/CH1/EX1.5/1_5.sce b/1652/CH1/EX1.5/1_5.sce new file mode 100755 index 000000000..ad1bec504 --- /dev/null +++ b/1652/CH1/EX1.5/1_5.sce @@ -0,0 +1,8 @@ +clc
+//Initialization of variables
+r1=sqrt(3)
+r2=1
+//calculations
+ratio=r1-r2
+//results
+printf('Ratio of radii = %.3f',ratio)
|