summaryrefslogtreecommitdiff
path: root/2093/CH1/EX1.1/exa_1_1.sce
blob: 867788ded6a47068573c260209e23472961301a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Exa 1.1
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;
disp(Rf*10^-3,"The value of Rf in kohm is ")