Not directly wxMaxima related but if you're trying to solve for the transfer function/admittance/output voltage etc. of some complex network of passive elements in series/shunt using the admittance/conductance/transmission matrix-multiplication method as appropriate is much easier; it makes solving for transfer functions of circuits like this a breeze particularly if you want to include parasitics:
I did not use at the moment Mathematica but MathCAD is also a decent tool for EEng (MathCAD recognize physical dimensions, Farad, Ohm, Amperes, Volts ... so it helps a lot ... !), but are too much expensive for me as an independent consultant ... wxMaxima is a bit hard to master, ok not as intuitive as MatchCAD but it makes the job.
Ah ! For this one it require me a week or two with wxMaxima ... need to think about solving methods ... and writing equations by hand, two second order quadripoles in series ... mmmh, a funny job
Solving ladder-networks with regular-algebra is dreadful for orders over about two...The A B C D elements of a 2x2 square matrix for an impedance in series or admittance in shunt are easy:
Then if you have any ladder-type combination of impedances in series plus admittances in shunt you just multiply the respective ABCD matricies for each element in sequence with the output of the previous step left-to-right in the order they appear, and 1/A of the square matrix that's returned spits out the transfer function of the whole network immediately
It isn't clear from your description what you want to do.
For something this simple the back of an envelope ought to be enough.
Otherwise Equation Solve and specify which variable you want it to construct a solution for. Things get ugly at cubic or higher complexity.
Otherwise some combination of simplify, factor and substitute often works for me. I only use it for non-linear expressions so horrible that the risk of typographical errors dominates working it by hand.
It doesn't make the silly sort of slips that a human makes.
This looks like an ideal problem for Roger Schlafly's equation solvers, Eureka or Mercury. I have searched far and wide for progams as good as his with no luck. I use WinXP where it runs fine. Win7 and later versions will work providing they can run DOS programs. It should run under WINE.
Here is a simple example to calculate the values for an RC time constant problem. You enter the desired equations, then enter the given values.
Eureka will figure out what it needs to solve and complete the calculations for you. It will put all the values in the solution list so you can do a sanity check and pick the answers you need.
; RC Time Constant
Deg = (180 * Rad) / pi Hz = 1 / (2 * pi * T)
Rad = Atan(Xc / R) T = R * C Xc = 1 / (2 * pi * Hz * C)
Hz = 1e6 R = 1e3
Here are the solutions:
Solution Voariables: Deg = 57.2957795130823*Rad = +45.0000000000000 Rad = ATAN(Xc/1000) = +0.78539816339745 Hz = +1000000.0000000000 T = 1000*C = +1.59154943091895E-07 Xc = 1/(6283185.30717959*C) = +1000.0000000000 R = +1000.0000000000000 C = +1.59154943091895E-10
Back 10 years ago I used Maxima extensively and I must admit I'm not anymore an expert with it as I was ! Shame on me for searching 2 hours about a so simple "solve Maxima" semantics ... I'll be back with wxMaxima these days. H
On 29/12/2020 19:18, habib wrote: > Hi all, > > Did not use wxMaxima for a while now (great tool for EEng BTW) ... I need to extract a particular variable from an equation with 3 or 4 variables ... > > Lets say this: V0(VCC, R1, R2, R3); V0 = VCC.R2/(R2+ R1.R3/R1+R3)) and I need to extract R2 from (VCC, V0, R1, R3). i.e. VCC(V0, R1, R3) > > Is that possible with wxMaxima ?
It isn't clear from your description what you want to do.
For algebra this simple the back of an envelope ought to be enough.
Otherwise Equation Solve and specify which variable you want it to construct a solution for. Things get ugly at cubic or higher complexity.
Otherwise some combination of simplify, factor and substitute often works for me. I only use it for non-linear expressions so horrible that the risk of typographical errors dominates working it by hand.
It doesn't make the silly sort of slips that a human makes.
--
Regards,
Martin Brown
Apologies if this appears twice. Newsreader crashed on posting it.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.