While I was on a roll, I decided to port the equations to wxMaxima. For folks looking for a terrific math tool that happens to be free, wxMaxima is worth the time to evaluate.
Attached is a PDF of the code and the output. Note that the equations look an awful lot like the ones I used with MATLAB. In fact, I copied and pasted and just changed a wee bit for syntactic reasons.
Everything below 'res : ' is just used to produce a sorted output list. That very same code is used in all of my files - now that I figured out how to do it.
So, why do I get into this stuff? Well, in a year or so, my grandson is going to take his very first circuit analysis course and I need a head start.
BTW, don't expect a flat learning curve with either of these tools. It takes time. Mostly it takes copy and paste!