summaryrefslogtreecommitdiff
path: root/2528/CH7/EX7.9/Ex7_9.sce
blob: e28b825f1360df2b3af86160b38b761b0d76f057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Chapter7
// Page.No-253
// Example_7_9
// Determine  the output voltage
//Figure 7.62
// Given
clc;
clear;
K=0.1;
t=(0:0.01:0.5)';
Vin=2*sin(2*60*%pi*t);
Vout=K*Vin^2;

plot(t,Vout,t,Vin)
xtitle(" Input(Green)  signal &  Output (Blue)signal","t","V");//result