summaryrefslogtreecommitdiff
path: root/343/CH2/EX2.5/ex2_5.sce
blob: 0d84b801c798ddba5bf89b55cbb03b3775ba9d0a (plain)
1
2
3
4
function y=f(t),y=10*t,endfunction          //Defining the current function
T=4;
Res=intg(0,2,f)/(T);
disp("Amperes",Res,"Average current value");