1 2 3 4 5 6 7
//Example 1_1 page no:1 clc clear W=70;//Energy in joule Q=30;//charge in coloumb V=W/Q; disp(V,"Voltage(in volts):")