summaryrefslogtreecommitdiff
path: root/2702/CH1/EX1.20/Ex_1_20.sce
blob: f0787df9d014f8150dad19127c0eb9f8e2cbee7d (plain)
1
2
3
4
5
6
7
8
9
10
11
// Exa 1.20
clc;
clear;
close;
// Given data
Rf=100;// in kohm
R1=20;// in kohm
V1= 1.5;// in V
Vo1= V1;
Vo= -Rf/R1*Vo1;// in volts
disp(Vo,"Output voltage in volts is : ")