diff options
Diffstat (limited to '2863/CH7/EX7.18/ex7_18.sce')
-rwxr-xr-x | 2863/CH7/EX7.18/ex7_18.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/2863/CH7/EX7.18/ex7_18.sce b/2863/CH7/EX7.18/ex7_18.sce new file mode 100755 index 000000000..240ff84bb --- /dev/null +++ b/2863/CH7/EX7.18/ex7_18.sce @@ -0,0 +1,6 @@ +//chapter 7
+printf("\n");
+ht=100;
+hr=50;
+d=1.4142*(sqrt(ht)+sqrt(hr));
+printf("the maximum range is %gmiles",d);
|