summaryrefslogtreecommitdiff
path: root/1958/CH1/EX1.e.8/Chapter1_ex8.sce
diff options
context:
space:
mode:
Diffstat (limited to '1958/CH1/EX1.e.8/Chapter1_ex8.sce')
-rwxr-xr-x1958/CH1/EX1.e.8/Chapter1_ex8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1958/CH1/EX1.e.8/Chapter1_ex8.sce b/1958/CH1/EX1.e.8/Chapter1_ex8.sce
new file mode 100755
index 000000000..27936cc09
--- /dev/null
+++ b/1958/CH1/EX1.e.8/Chapter1_ex8.sce
@@ -0,0 +1,12 @@
+clc
+clear
+//Input data
+w=588//Weight of the person in N
+a=3//Acceleration in m/s^2
+
+//Calculations
+m=(w/9.8)//Mass of the person in kg
+P=(w+(m*a))//Weight of the person when the elevator is accelerated upwards in N
+
+//Output
+printf('Weight of the person when the elevator is accelerated upwards is %i N',P)