diff options
Diffstat (limited to '3809/CH8/EX8.8/EX8_8.sce')
-rw-r--r-- | 3809/CH8/EX8.8/EX8_8.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3809/CH8/EX8.8/EX8_8.sce b/3809/CH8/EX8.8/EX8_8.sce new file mode 100644 index 000000000..702cff0ab --- /dev/null +++ b/3809/CH8/EX8.8/EX8_8.sce @@ -0,0 +1,16 @@ +//Chapter 8, Example 8.8
+clc
+//Initialisation
+l=10*10**-3 //inductance in henry
+r=100 //resistance in ohm
+pi=3.14 //pi
+
+//Calculation
+t=l/r //time constant
+wc=1/t //angular frequency
+f=wc/(2*pi) //cyclic frequency
+
+//Result
+printf("Time Constant, T = %d ^-4 s\n",t*10**5)
+printf("Angular Cut-off Frequency, F = %d ^4 rad/s \n",wc/10**3)
+printf("Cyclic Cut-off Frequency, Fc = %.2f kHz\n",f/1000)
|