ECEN 214's variable source and resistance solver