blob: 6a6406af81fba94b43dc013115d7cd1f3cc329a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Exa 1.18
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);
disp(V1*10^3,"Input voltage in mV to result in an output of 2.4 Volt is")
|