From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2219/CH5/EX5.3/Ex5_3.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 2219/CH5/EX5.3/Ex5_3.sce (limited to '2219/CH5/EX5.3/Ex5_3.sce') diff --git a/2219/CH5/EX5.3/Ex5_3.sce b/2219/CH5/EX5.3/Ex5_3.sce new file mode 100755 index 000000000..258b03cd2 --- /dev/null +++ b/2219/CH5/EX5.3/Ex5_3.sce @@ -0,0 +1,26 @@ +//chapter 5 example 3 +//============================================================================= +clc; +clear; +//Given Data +//let l = dVr/Vr ; f = df/f ; Vr/f = R +l = 5;//percentage change in repeller voltage +f = 1;//percentage change in operating frequency +R = 1;//ratio of repeller voltage to operating frequency +NR = 1.5;//new ratio of repeller voltage to operating frequency in volts/MHz +e = 1.6*10^-19;//charge of electron +m = 9.1*10^-31;//mass of electron in kg + +//Calculations + +//dVr/df = ((2*pi*s)/((2*pi*n)-pi/2))*sqrt(8*m*Va/e)); +//((df/f)/(dVr/Vr)) = (Vr/f)*((2*pi*n)-pi/2)/(2*pi*s)*sqrt(e/(8*m*Va)); +//((df/f)/(dVr/Vr)) = K*(Vr/f); +//where K = (((2*pi*n)-pi/2)/(2*pi*s))*sqrt(e/(8*m*Va)) +K = (f/l)*(1/R) +PCF = NR*K*l//percentage change in frequency when new ratio (Vr/f)=1.5 + +//Output +mprintf('Percentage Change in frequency is %3.2f percent',PCF); + +//============================================================================= -- cgit