summaryrefslogtreecommitdiff
path: root/2075/CH4/EX4.1/pe4_1.sce
blob: b5e245b42ba1eac245846fa03eda6b0e32b6b85e (plain)
1
2
3
4
5
6
7
8
9
10
11
//example 4.1
clc; funcprot(0);
// Initialization of Variable
Rf=1;
Ri=10;
Vi=0;
Ip=500;
///calculation
Vrf=Ip*Rf;
disp(Vrf,"output voltage in mV:")
clear()