summaryrefslogtreecommitdiff
path: root/3754/CH28/EX28.5/28_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH28/EX28.5/28_5.sce')
-rw-r--r--3754/CH28/EX28.5/28_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH28/EX28.5/28_5.sce b/3754/CH28/EX28.5/28_5.sce
new file mode 100644
index 000000000..6a813c7d0
--- /dev/null
+++ b/3754/CH28/EX28.5/28_5.sce
@@ -0,0 +1,14 @@
+clear//
+
+//Variables
+
+fo = 2.0 * 10**6 //Resonant frequency (in Hertz)
+BW = 50.0 * 10**3 //Bandwidth (in Hertz)
+
+//Calculation
+
+Qo = fo / BW //Quality factor
+
+//Result
+
+printf("\n The Q-factor is %0.3f .",Qo)