clc disp("Example 1.28") printf("\n") disp("find out battery voltage") //given R=2.7*10^3 Vd=0.7 I=1.96*10^-3 //battery voltage V=(I*R)+Vd printf("battery voltage=%f volt",V)