Solving DC and AC Circuits By Example Using Matlab