diff options
Diffstat (limited to '2534/CH2/EX2.6/Ex2_6.sce')
-rwxr-xr-x | 2534/CH2/EX2.6/Ex2_6.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/2534/CH2/EX2.6/Ex2_6.sce b/2534/CH2/EX2.6/Ex2_6.sce new file mode 100755 index 000000000..b4a044db1 --- /dev/null +++ b/2534/CH2/EX2.6/Ex2_6.sce @@ -0,0 +1,8 @@ +//Ex2_6
+clc
+C = 12* 10^ -6
+f = 1.0*10^3
+Xc = 1/(2*%pi*f*C)
+disp("C = "+string(C)+"F")//capacitance
+disp("at... f = "+string(f)+"Hz")//frequency
+disp("Xc = 1/(2*pi*f*C) = "+string(1/(2*%pi*f*C))+"ohm")//calculation for capacitive reactance
|