summaryrefslogtreecommitdiff
path: root/2183/CH9/EX9.7/Ex_9_7.sce
blob: 9650a1ba7007183b711fb0ad7d9c55be502e98b9 (plain)
1
2
3
4
5
6
7
8
//Example 9.7// cavity gain
clc;
clear;
close;
x=0.5;//
y=(1-(sqrt(x)))/(1+sqrt(x));//
g=(y/(1-y)^2);//
disp("cavity gain is "+string(g)+"/(sqrt(R1*R2))")