diff options
Diffstat (limited to '3768/CH2/EX2.7')
-rw-r--r-- | 3768/CH2/EX2.7/Ex2_7.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3768/CH2/EX2.7/Ex2_7.sce b/3768/CH2/EX2.7/Ex2_7.sce new file mode 100644 index 000000000..1d1415738 --- /dev/null +++ b/3768/CH2/EX2.7/Ex2_7.sce @@ -0,0 +1,16 @@ +//Example number 2.7, Page number 34 + +clc;clear; +close; + +// Variable declaration +r=poly([0],'r') + +// Calculation +a=4*r/sqrt(2); +R=(4*r/(2*sqrt(2)))-r + +// Result +printf( "maximum radius of sphere is ") +disp(R) + |