blob: 8359d25d7a998e6da497c7105966a9cb8dbc097e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
|