summaryrefslogtreecommitdiff
path: root/620/CH22/EX22.3/example22_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH22/EX22.3/example22_3.sce')
-rw-r--r--620/CH22/EX22.3/example22_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/620/CH22/EX22.3/example22_3.sce b/620/CH22/EX22.3/example22_3.sce
new file mode 100644
index 000000000..5bebed9c0
--- /dev/null
+++ b/620/CH22/EX22.3/example22_3.sce
@@ -0,0 +1,11 @@
+r=10^3;
+c=10^(-6);
+v=10;
+disp("Part a");
+rate=v/(r*c);
+disp("the initial rate of rise of capacitor voltage (in V/s) is");disp(rate);
+disp("Part b");
+i=v/r;
+disp("initial charging current (in mA) is"); disp(i*10^3);
+disp("Part c");
+disp("final voltage (in V) is");disp(v); \ No newline at end of file