summaryrefslogtreecommitdiff
path: root/3515/CH1/EX1.1/Ex_1_1.sce
blob: 6c8686b83b4a8e453fa7e3c0ac1cec6e357d1163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Exa 1.1
format('v',7);
clc;
clear;
close;
// Given data
G= -100;
R1= 2.2;// in kohm
R1=R1*10^3;// in ohm
// Formula G=-Rf/R1
Rf= -G*R1;
Rf= Rf*10^-3;// in kohm
disp(Rf,"The value of Rf in kohm is ")