Current program looks like this:
clearclcformat compactsyms t V It=0:.01:.25;V=10*exp(-20*t);I=-200*exp(-20*t);table=[t;V;I];fprintf('\n t=%0.2f V=%12.3e I=%12.3e',table);
So P=I*V and W=.5*(100e-6)*V^2
Everytime I insert these two formulas the program doesn't recognize the variables.
Best Answer