diff options
Diffstat (limited to '647/CH1/EX1.10')
-rwxr-xr-x | 647/CH1/EX1.10/Example1_10.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/647/CH1/EX1.10/Example1_10.sce b/647/CH1/EX1.10/Example1_10.sce new file mode 100755 index 000000000..3519adc6f --- /dev/null +++ b/647/CH1/EX1.10/Example1_10.sce @@ -0,0 +1,23 @@ +clear;
+clc;
+
+// Example: 1.10
+// Page: 12
+
+// Solution
+
+printf("Example: 1.10 - Page: 12\n\n");
+
+//*****Data*****//
+m = 1200;// [kg]
+v1 = 10;// [km/h]
+v2 = 100;// [km/h]
+time = 1;// [min]
+//***************//
+
+v1 = 10*1000/3600;// [m/s]
+v2 = 100*1000/3600;// [m/s]
+W = (1/2)*m*(v2^2 - v1^2);// [J]
+time = time*60;// [s]
+P = W/time;// [W]
+printf("Power required is %.2f kW\n",P/1000);
\ No newline at end of file |