summaryrefslogtreecommitdiff
path: root/1529/CH1/EX1.4/1_04.sce
diff options
context:
space:
mode:
Diffstat (limited to '1529/CH1/EX1.4/1_04.sce')
-rwxr-xr-x1529/CH1/EX1.4/1_04.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1529/CH1/EX1.4/1_04.sce b/1529/CH1/EX1.4/1_04.sce
new file mode 100755
index 000000000..f9f524011
--- /dev/null
+++ b/1529/CH1/EX1.4/1_04.sce
@@ -0,0 +1,9 @@
+//Chapter 1, Problem 4
+clc;
+F=200; //force in Newton
+D=20; //distance in metre
+T=25; //time in seconds
+W=F*D; //calculating work done in kJ
+printf("Work done = %f kJ\n\n\n",W)
+P=W/T; //calculating Power in watt
+printf("Average power utilized = %f W\n\n\n",P);