diff options
Diffstat (limited to '2345/CH15/EX15.22/Ex15_22.sce')
-rwxr-xr-x | 2345/CH15/EX15.22/Ex15_22.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2345/CH15/EX15.22/Ex15_22.sce b/2345/CH15/EX15.22/Ex15_22.sce new file mode 100755 index 000000000..c175f9c27 --- /dev/null +++ b/2345/CH15/EX15.22/Ex15_22.sce @@ -0,0 +1,12 @@ +//Finding energy loss
+//Example 15.22(pg. 407)
+clc
+clear
+d=7500//density of iron in kg/m^3
+w=12//weight of iron in kgm
+V=w/d//volume of iron in m^3
+f=25//frequency in Hz
+N=3600*f//number of cycle per hour
+A=300//area in joules/m^3
+E=A*V*N//Total energy loss per hour in joules
+printf('Thus total energy loss per hour is %5.2f Joules',E)
|