summaryrefslogtreecommitdiff
path: root/3841/CH4/EX4.7
diff options
context:
space:
mode:
Diffstat (limited to '3841/CH4/EX4.7')
-rw-r--r--3841/CH4/EX4.7/Ex4_7.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3841/CH4/EX4.7/Ex4_7.sce b/3841/CH4/EX4.7/Ex4_7.sce
new file mode 100644
index 000000000..773e45003
--- /dev/null
+++ b/3841/CH4/EX4.7/Ex4_7.sce
@@ -0,0 +1,8 @@
+clear
+//given
+//find the ratio of weight of certain volume
+Oil=1*8.34
+g=0.89
+//weight of the oil equal to weight of 1 gal
+w=Oil*g
+printf("\n \n wegiht of gal %.2f lb per gal",w)