diff options
Diffstat (limited to '620/CH22/EX22.4/example22_4.sce')
-rw-r--r-- | 620/CH22/EX22.4/example22_4.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/620/CH22/EX22.4/example22_4.sce b/620/CH22/EX22.4/example22_4.sce new file mode 100644 index 000000000..182a79010 --- /dev/null +++ b/620/CH22/EX22.4/example22_4.sce @@ -0,0 +1,15 @@ +c=5*10^(-6);
+r=10*10^3;
+v=12;
+disp("Part a");
+t=r*c;
+disp("the time constant (in ms) of the circuit is"); disp(t*10^3);
+disp("Part b");
+rate=v/t;
+disp("initial rate of rise of capacitor voltage (in V/s) is"); disp(rate);
+disp("Part c");
+v1=0.63*v;
+disp("the capacitor voltage (in V) after one time constant is"); disp(v1);
+disp("Part d");
+t1=5*t;
+disp("time taken (in ms) to reach 12 V is"); disp(t1*10^3);
\ No newline at end of file |