Analysis and Simulation of Electrical and Computer Systems