diff options
Diffstat (limited to '608/CH42/EX42.04')
-rwxr-xr-x | 608/CH42/EX42.04/42_04.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/608/CH42/EX42.04/42_04.sce b/608/CH42/EX42.04/42_04.sce new file mode 100755 index 000000000..0e0b87b3a --- /dev/null +++ b/608/CH42/EX42.04/42_04.sce @@ -0,0 +1,17 @@ +//Problem 42.04: A low-pass section filter has a nominal impedanc of 600 ohm and a cut-off frequency of 2 MHz. Determine the frequency at which the characteristic impedance of the section is (a) 600 ohm (b) 1 kohm (c) 10kohm.
+
+//initializing the variables:
+R0 = 600; // in ohm
+fc = 2E6; // in Hz
+Z1 = 600; // in ohm
+Z2 = 1000; // in ohm
+Z3 = 10000; // in ohm
+
+//calculation:
+//frequency
+f1 = fc*(1 - (R0/Z1)^2)^0.5
+f2 = fc*(1 - (R0/Z2)^2)^0.5
+f3 = fc*(1 - (R0/Z3)^2)^0.5
+
+printf("\n\n Result \n\n")
+printf("\nfrequency at which the characteristic impedance of the section is 600 ohm is %.0f Hz and 1000 Ohm is %.2E Hz and 10000 ohm is %.3E Hz ",f1,f2,f3)
\ No newline at end of file |