summaryrefslogtreecommitdiff
path: root/2075/CH3/EX3.1/pe3_1.sce
blob: 355b2e35d765fc71bd27da9aa5efe8e8b3631ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//example 3.1
clc; funcprot(0);
// Initialization of Variable
Ip=3;
f=150000;
t=5e-6;
//calculation
T=1/f;
It=Ip/T;
disp(It/1000,"ramp current in kAt/s")
I5=It*t;
disp(I5,"current at 5 micro sec in A")
clear()