summaryrefslogtreecommitdiff
path: root/896/CH1/EX1.5/5.sce
diff options
context:
space:
mode:
Diffstat (limited to '896/CH1/EX1.5/5.sce')
-rwxr-xr-x896/CH1/EX1.5/5.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/896/CH1/EX1.5/5.sce b/896/CH1/EX1.5/5.sce
new file mode 100755
index 000000000..f6fb9e95a
--- /dev/null
+++ b/896/CH1/EX1.5/5.sce
@@ -0,0 +1,7 @@
+clc
+//Example 1,5
+//Convert 2.6 hours into seconds
+t=2.6//hr
+//1 hr = 3600 s
+t1=2.6*3600//s
+printf("2.6 hours = %f seconds",t1); \ No newline at end of file