blob: 62fdc32a1530e292ecb7b606aa3f01a0fb43dcb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Exa 1.18
format('v',6);
clc;
clear;
close;
// Given data
R1=12;// in kohm
Rf=360;// in kohm
V1= -0.3;// in V
Vo= (1+Rf/R1)*V1;// in V
disp(Vo,"Output voltage result in volts is : ")
// Part(b)
Vo= 2.4;// in V
// We know, Vo= (1+Rf/R1)*V1
V1= Vo/(1+Rf/R1);
V1= V1*10^3;// in mV
disp(V1,"Input voltage in mV to result in an output of 2.4 Volt is")
|