diff options
Diffstat (limited to '1529/CH1/EX1.7/1_07.sce')
-rwxr-xr-x | 1529/CH1/EX1.7/1_07.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/1529/CH1/EX1.7/1_07.sce b/1529/CH1/EX1.7/1_07.sce new file mode 100755 index 000000000..0f78811a9 --- /dev/null +++ b/1529/CH1/EX1.7/1_07.sce @@ -0,0 +1,7 @@ +//Chapter 1, Problem 7
+clc;
+V=5; //source emf
+I=3; //current in ampere
+T=10*60; //time in seconds
+E=V*I*T; //calculating energy
+printf("Energy provided = %f kJ",E/1000);
|