1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
clear // l=1 b=1.5 i=50 u=5 //case a f=b*i*l printf("\n f= %0.1f N",f) //case b p=f*u printf("\n p= %0.1f W",p) //case c e=b*l*u printf("\n e= %0.1f V",e)