summaryrefslogtreecommitdiff
path: root/620/CH21/EX21.2/example21_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH21/EX21.2/example21_2.sce')
-rw-r--r--620/CH21/EX21.2/example21_2.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/620/CH21/EX21.2/example21_2.sce b/620/CH21/EX21.2/example21_2.sce
new file mode 100644
index 000000000..a380a2906
--- /dev/null
+++ b/620/CH21/EX21.2/example21_2.sce
@@ -0,0 +1,19 @@
+a=5*6*10^(-4);
+d=0.5*10^(-3);
+disp("Part a");
+k=1;
+e0=8.85*10^(-12);
+c=k*e0*a/d;
+disp("the capacitance (in pF) is"); disp(c*10^12);
+disp("Part b");
+k1=5;
+c1=k1*c;
+disp("the capacitance (in pF) is"); disp(c1*10^12);
+disp("Part c");
+k2=7500;
+c2=k2*c;
+disp("the capacitance (in μF) is"); disp(c2*10^6);
+disp("Part d");
+d1=d/2;
+c3=2*c2;
+disp("the capacitance (in μF) is");disp(c3*10^6); \ No newline at end of file