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()