Can a microprocessor simulate physical processes using machine language?

AI Thread Summary
Microprocessors can simulate various physical processes using machine language, including differential equations and recursive formulas, depending on the ability to generate appropriate machine code. Numerical methods are available for solving differential equations, and most problems can be simulated numerically. Capacitive and inductive feedback can also be utilized in simulations, with operational amplifiers (opamps) facilitating integration and differentiation. The discussion highlights the distinction between physical inductors and inductive characteristics in feedback loops. Overall, machine language can effectively model and simulate a wide range of physical processes.
juan avellaneda
Messages
37
Reaction score
0
what kind of physical proceses can be simulated with a microprocessor using machine language
is possible to simulate a differential equation?, or integral?, or just can be used with processes that involve integer or rational numbers
i think also to use in recursive formulas, but i could not find any example of a process that uses this formulas
any sugestion??
thks
 
Engineering news on Phys.org
This all depends on your ability to generate machine language code. Numerical methods exist to solve any differential equation you can come up with. You must remember that all computers run ONLY machine language code. The list of problems which cannot be numerically simulated is much shorter that then those that can be.

Do you have any specific questions?
 
I realize that you're asking about machine language, but what about capacitive and inductive feedback? Is that an option for you. Integration can be accomplished with an opamp using capacitive feedback and differentiation can be accomplished with an opamp using inductive feedback. If it must be machine code, then I would suspect that there is probably a way to model or simulate these simple circuit configurations using machine code which has been well developed.
 
Turin

Thank heaven you can do differentiation without inductors, otherwise many filters would be impractical.
 
A feedback loop with actual physical inductors is generally different than a feedback loop with an inductive characteristic. The nature of the feedback can be inductive while using only capacitors and resistors in the feedback loop (electronically, of course, not physically). This is similar to the difference between a simple low pass filter using an inductor and a simple lowpass filter using a capacitor.
 
Thread 'How can I find the cleanout for my building drain?'
I am a long distance truck driver, but I recently completed a plumbing program with Stratford Career Institute. In the chapter of my textbook Repairing DWV Systems, the author says that if there is a clog in the building drain, one can clear out the clog by using a snake augur or maybe some other type of tool into the cleanout for the building drain. The author said that the cleanout for the building drain is usually near the stack. I live in a duplex townhouse. Just out of curiosity, I...
Hi all, I have a question. So from the derivation of the Isentropic process relationship PV^gamma = constant, there is a step dW = PdV, which can only be said for quasi-equilibrium (or reversible) processes. As such I believe PV^gamma = constant (and the family of equations) should not be applicable to just adiabatic processes? Ie, it should be applicable only for adiabatic + reversible = isentropic processes? However, I've seen couple of online notes/books, and...
Back
Top