summaryrefslogtreecommitdiff
path: root/2075/CH6/EX6.8/pe6_8.sce
blob: 2d53fc44275a5d88217e001d1aee776c51a94302 (plain)
1
2
3
4
5
6
7
8
9
10
//example 6.8
clc; funcprot(0);
// Initialization of Variable
L=10;//inductor
I=4.5;//current
t=300//time
//calculation
V=L*I/t;
disp(V*1000,"voltage in V:")
clear()