summaryrefslogtreecommitdiff
path: root/3554/CH5/EX5.2/Ex5_2.sce
blob: c80c2476d5f1ae9e80706d0e644695370d6fe616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Exa 5.2

clc;
clear all;

// Given data
// With reference to data given in Exa 5.1

ei=1; // Applied input voltage to integrator(V)
t1=1; // sec

// Given data

er=5;// Reference voltage applied at time t1 to integrator(V)

//  Solution
// Using equation 5.3 from page no. 118

t2=ei/er * t1;// Time interval t2(sec)
printf(' The time interval of t2 is = %.1f sec \n',t2);