diff options
Diffstat (limited to '3648/CH20/EX20.2')
-rw-r--r-- | 3648/CH20/EX20.2/Ex20_2.sce | 13 | ||||
-rw-r--r-- | 3648/CH20/EX20.2/Ex20_2.txt | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/3648/CH20/EX20.2/Ex20_2.sce b/3648/CH20/EX20.2/Ex20_2.sce new file mode 100644 index 000000000..28256eac1 --- /dev/null +++ b/3648/CH20/EX20.2/Ex20_2.sce @@ -0,0 +1,13 @@ +//Example 20_2
+clc();
+clear;
+//To find the rms current in the circuit
+f=20 //Units in Hz
+c=4*10^-7 //Units in F
+xc=1/(2*%pi*f*c) //Units in Ohms/sec
+f=2*10^6 //Units in Hz
+xc1=1/(2*%pi*f*c) //Units in Ohms/sec
+v=80 //Units in V
+i=v/xc //Units in A
+i1=v/xc1 //Units in A
+printf("The RMS current when f=20 Hz is=%.5f Ohms\nThe RMS current when f=2*10^6 Hz is=%.2f Ohms",i,i1)
diff --git a/3648/CH20/EX20.2/Ex20_2.txt b/3648/CH20/EX20.2/Ex20_2.txt new file mode 100644 index 000000000..9f3bdbd9d --- /dev/null +++ b/3648/CH20/EX20.2/Ex20_2.txt @@ -0,0 +1,2 @@ +The RMS current when f=20 Hz is=0.00402 Ohms
+The RMS current when f=2*10^6 Hz is=402.12 Ohms
\ No newline at end of file |