| Electronics > Beginners |
| RC time constant |
| << < (6/8) > >> |
| janoc:
--- Quote from: Mattjd on August 24, 2019, 07:04:57 pm ---Word of advice, stay away any symbolic math packages in python, they're garbage. --- End quote --- Care to elaborate? Do you mean Sympy? I dare to say that it does more than most will need. It is certainly not Mathematica, but it also doesn't cost arm and leg and your firstborn. I have used it to derive some complicated jacobians involving quaternions for a SLAM system and it certainly was able to deal with that. The kind of stuff that has been posted earlier in that Mathematica example is certainly possible with it with no issues. If Sympy isn't enough, there is also the older Sage project (http://www.sagemath.org/) that is more powerful than Sympy (it is used for mathematical research, such as number theory, so I dare to say its symbolic capabilities are decent). If neither of that works, there are Python (or JupyterLab) frontends to Maple, Maxima (Sage uses Maxima under the hood), even Mathematica and the now free (as in beer) Mathematica kernel/Wolfram Engine (basically Mathematica meant for embedding in other things, no UI and a restrictive license) --- Quote from: Mattjd on August 24, 2019, 07:04:57 pm ---What python lacks is a good symbolic engine and Simulink, both of which Matlab has. Simulink is still the preferred method of designing controllers in commercial industries. --- End quote --- Simulink yes, but then Python is a general purpose programming language + libraries, not a specialized tool (where the programming bit is mostly a messy afterthought - ehm Matlab ...). However, we were talking about plotting graphs and doing basic math, not designing controllers (or similar activities) where one benefits from one of the many specialized (and expensive) Matlab/Simulink toolboxes. |
| Mattjd:
Idk about magma but sympy is notoriously bad. From first hand experience performance is poor and its limitations are large. This can be backed up by the large amounts of quora and stack posts. Honestly, I'd tell OP to get a ti nspire Cas but if they can afford that then they can afford a Mathematica student license. |
| janoc:
--- Quote from: Mattjd on August 25, 2019, 01:25:02 pm ---Idk about magma but sympy is notoriously bad. From first hand experience performance is poor and its limitations are large. This can be backed up by the large amounts of quora and stack posts. --- End quote --- That was not my experience (and seriously, Stack Overflow and Quora posts are hardly an indicator of anything except that the software in question is popular and being used ...) --- Quote from: Mattjd on August 25, 2019, 01:25:02 pm ---Honestly, I'd tell OP to get a ti nspire Cas but if they can afford that then they can afford a Mathematica student license. --- End quote --- Hum, Mathematica is 160 EUR (+ VAT if applicable) for a student license and you need to provide a proof of university enrollment (no idea whether the OP is eligible for that, plus he is in India, so that price is certainly no peanuts). Seriously, buying that only for solving a system of equations? I had a personal (non-student) Mathematica license and while that software is very powerful, it is an enormous overkill unless you need its capabilities every day. I have ended up not renewing the license because most of my work required fast and easy to use numerical math - and that's where Mathematica actually sucks because it is very clunky for such use (or I can't wrap my head around the weird syntax sufficiently to not get triggered by the messy code - and I have no issues with Lisp and parentheses normally!) |
| GerryR:
How about just getting a "Math for Electronics" book and learn how to do the transfer functions and Bode plots etc. I have several; of course I realize an analysis program makes it easier, but it is good foundation learning. ;) Happy to make some recommendations for you, if you are interested. |
| Mattjd:
That's probably the best suggestion. At the end of the day these mathes arnt hard. Whats the general method? Parts are considered linear, therefore superposition applies. Take laplace transform of each individual component(applicable bc parts are linear and the laplace transform is a linear operator) and create a transfer function. Perform partial fraction decomposition, then take the inverse laplace transform. Done. Or you could go the long way, derive ode, find forced and natural response Or its a steady state circuit(as opposed to transient) , use phasors (aka natural response) |
| Navigation |
| Message Index |
| Next page |
| Previous page |