summaryrefslogtreecommitdiff
path: root/Working_Examples/154/CH1/EX1.1/ch1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/154/CH1/EX1.1/ch1_1.sce')
-rwxr-xr-xWorking_Examples/154/CH1/EX1.1/ch1_1.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/Working_Examples/154/CH1/EX1.1/ch1_1.sce b/Working_Examples/154/CH1/EX1.1/ch1_1.sce
new file mode 100755
index 0000000..a0e4f4d
--- /dev/null
+++ b/Working_Examples/154/CH1/EX1.1/ch1_1.sce
@@ -0,0 +1,20 @@
+clc
+disp("Example 1.1")
+printf("\n")
+printf("Given")
+disp("Acceleration is 2.0m/s^2")
+disp("Mass is 10kg")
+m=10;a=2;
+disp("a)")
+disp("F=m*a")
+F=m*a
+printf("Force is %dN\n",F)
+disp("b)")
+printf("time=4s\n")
+t=4;
+x=(a*t*t)/2
+KE=(F*x)
+P=KE/t
+printf("Position is %dm\n",x)
+printf("Kinetic energy =%3.1fJ\n",KE)
+printf("Power =%3.1fW\n",P)