summaryrefslogtreecommitdiff
path: root/3809/CH4/EX4.5/EX4_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3809/CH4/EX4.5/EX4_5.sce')
-rw-r--r--3809/CH4/EX4.5/EX4_5.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3809/CH4/EX4.5/EX4_5.sce b/3809/CH4/EX4.5/EX4_5.sce
new file mode 100644
index 000000000..e7054b58e
--- /dev/null
+++ b/3809/CH4/EX4.5/EX4_5.sce
@@ -0,0 +1,15 @@
+//Chapter 4, Example 4.5
+
+clc
+//Initialisation'
+c1=10*10**-6 //capacitance in farad
+c2=25*10**-6 //capacitance in farad
+
+
+//Calculation
+c=c1+c2 //capacitance in farad
+
+
+
+//Results
+printf("Total Capacitance, C = %d uF",c*10**6)