summaryrefslogtreecommitdiff
path: root/1853/CH4/EX4.30/Ex4_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '1853/CH4/EX4.30/Ex4_30.sce')
-rwxr-xr-x1853/CH4/EX4.30/Ex4_30.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1853/CH4/EX4.30/Ex4_30.sce b/1853/CH4/EX4.30/Ex4_30.sce
new file mode 100755
index 000000000..41944455b
--- /dev/null
+++ b/1853/CH4/EX4.30/Ex4_30.sce
@@ -0,0 +1,15 @@
+
+//find the equation of voltage and current
+C=10e-6;//farad..
+R=300;//ohms
+//i=2 sin 314t
+V=100;//volts
+f=50;//hertz
+Xc=1/(2*%pi*f*C);
+Z=sqrt(R^2+(Xc^2));
+Im=2
+Vm=2*Z
+coso=R/Z;
+o=acosd(coso);
+disp('The time equation of voltage Vr = 600sin(314t)' , 'The time equation of voltage Vc = 636sin(wt-90)')
+