summaryrefslogtreecommitdiff
path: root/3515/CH1/EX1.20/Ex_1_20.sce
blob: 0ece2f5db7895e936606f932d0faa1164458f13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Exa 1.20
format('v',7);
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 : ")