summaryrefslogtreecommitdiff
path: root/995/CH4/EX4.11/Ex4_11.sce
blob: 8077a4d83050b489b1584b8c05f1ea5b00c6e146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Ex:4.11
clc;
clear;
close;
C=2*10^-6;
f=400;
V=115;
X_C=1/(2*%pi*f*C);
r=199;
z=sqrt(r^2+X_C^2);
I_s=V/z;
printf("Reactance = %f ohm",X_C);
printf("\n Current = %f A",I_s);