1 2 3 4 5 6 7
clear; clc; v=110; x=.1; i=.1; Va=v*i+(i^2*x); mprintf("the total volt ampers = %dVA",Va);