summaryrefslogtreecommitdiff
path: root/3769/CH7/EX7.10/Ex7_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH7/EX7.10/Ex7_10.sce')
-rw-r--r--3769/CH7/EX7.10/Ex7_10.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3769/CH7/EX7.10/Ex7_10.sce b/3769/CH7/EX7.10/Ex7_10.sce
new file mode 100644
index 000000000..cd53ef70d
--- /dev/null
+++ b/3769/CH7/EX7.10/Ex7_10.sce
@@ -0,0 +1,16 @@
+clear
+//Given
+E=12 //V
+I=1 //A
+r=0.5 //ohm
+
+//Calculation
+P1=E*I
+P2=I**2*r
+P=P1-P2
+
+//Result
+printf("\n (i) Rate of consumption of chemical energy is %0.3f W", P1)
+printf("\n (ii) Rate Of energy dissipated inside the battery is %0.3f W",P2)
+printf("\n (iv) Rate of energy dissipated in the resistor is %0.3f W", P)
+printf("\n (v) Power output of the source is %0.3f W",P)