summaryrefslogtreecommitdiff
path: root/3830/CH4/EX4.7/Ex4_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3830/CH4/EX4.7/Ex4_7.sce')
-rw-r--r--3830/CH4/EX4.7/Ex4_7.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3830/CH4/EX4.7/Ex4_7.sce b/3830/CH4/EX4.7/Ex4_7.sce
new file mode 100644
index 000000000..8359d25d7
--- /dev/null
+++ b/3830/CH4/EX4.7/Ex4_7.sce
@@ -0,0 +1,20 @@
+// Exa 4.7
+
+clc;
+clear;
+
+// Given
+
+// Two sinusoidal voltage signals are applied to vertical and horizontal plates of CRO
+
+// Solution
+printf('Theta = asin(dvo/DV');
+// Referring fig(a)
+Theta_a = asind(0) ; // dvo = 0
+printf(' Theta for trace shown in fig(a) = %d degrees\n',Theta_a);
+// Referring fig(b)
+Theta_b = asind(3/6) ; // dvo = 3 and DV =6
+printf(' Theta for trace shown in fig(b) = %d degrees\n',Theta_b);
+// Referring fig(c)
+Theta_c = asind(1/1) ; // dvo = DV = 1
+printf(' Theta for trace shown in fig(c) = %d degrees\n',Theta_c);