summaryrefslogtreecommitdiff
path: root/3769/CH4/EX4.20/Ex4_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH4/EX4.20/Ex4_20.sce')
-rw-r--r--3769/CH4/EX4.20/Ex4_20.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH4/EX4.20/Ex4_20.sce b/3769/CH4/EX4.20/Ex4_20.sce
new file mode 100644
index 000000000..7c00d369b
--- /dev/null
+++ b/3769/CH4/EX4.20/Ex4_20.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+C1=5 //micro F
+C2=6 //micro F
+V=10 //V
+
+//Calculation
+Cp=C1+C2
+q=Cp*V
+
+//Result
+printf("\n Charge supplied by battery is %0.3f micro F", q)