summaryrefslogtreecommitdiff
path: root/995/CH3/EX3.12/Ex3_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '995/CH3/EX3.12/Ex3_12.sce')
-rwxr-xr-x995/CH3/EX3.12/Ex3_12.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/995/CH3/EX3.12/Ex3_12.sce b/995/CH3/EX3.12/Ex3_12.sce
new file mode 100755
index 000000000..ac0a6df11
--- /dev/null
+++ b/995/CH3/EX3.12/Ex3_12.sce
@@ -0,0 +1,9 @@
+//Ex:3.12
+clc;
+clear;
+close;
+c=150*10^-6;//in farads
+r=2*10^6;//in ohms
+V_s=150;//in volts
+V_c=0.8187*V_s;
+printf("Capacitor voltage = %f V",V_c); \ No newline at end of file