summaryrefslogtreecommitdiff
path: root/3802/CH13/EX13.5/Ex13_5.sce
blob: daafb5e65af6f95a3a8f8804b41fec86dbdb51cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014

//Ex13_5.sce

clc;
clear;
V=100;
R=2;
L=10;
t=8;
T=L/R;
printf("\n Time constant=%d sec \n",T)
del=R/L;
printf("\n Damping ratio=%1.1f \n",del)
I=(V/R)*(1-exp(-t/T));
printf("\n The value of current of after 8 seconds of switching=%2.1f A \n",I)