//find the eqvivalent rasistance of series parallel combination Rab=(2*4)/(2+4) Rbc=(6*8)/(6+8) Rac=Rab+Rbc disp('rasistance across AC='+string(Rac)+'ohms')