summaryrefslogtreecommitdiff
path: root/3871/CH16/EX16.2/Ex16_2.sce
blob: 0bedf57016b085ff73888758764d36b580467395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//=====================================================================================
//Chapter 16 example 2

clc;clear all;

//variable declaration
l    = 0.02;    //length of plates in m
d    = 0.005;    //distance between plates in m
S    = 0.3;      //the distance between the screen and centre of plates in m
Va   =2000;     //accelerating voltage in V
Y    =0.03;     //trace length in m


//cacualtions
//y   = lSVd/(2*d*Va)
Vd   = (d*Va*x)/(l*S);   //deflection voltgae in V
Vrms   = Vd/(sqrt(2));    //rms value of sinusoidal voltage applied to the X-deflecting plates in V
Vin  = Vrms/(Vd);      //input voltage required in V

//result
mprintf(" nput voltage required = %3.3f V",Vin);