summaryrefslogtreecommitdiff
path: root/1757/CH6/EX6.37/EX6_37.sce
blob: 0d1ac5722874489b95a22894603fbf477c5730a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example6_37  // Design current to voltage converter
clc;
clear;
close;
Vo =-10 ;
is = 100*10^-6 ;

// the output voltage of current to voltage converter is defined as
//Vo =-1s*R2 
R2 = -Vo/is ;
disp(' The feedback resistance is = '+string(R2)+ ' ohm');

R1 = R2 ;
disp(' The value of resistance R1 is = '+string(R1)+ ' ohm');