Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

solving Simultaneous Equations?


Flatts May 5, 2021 06:17 PM

Does anyone have CRBasic code for solving simultaneous equations that they are willing to share?

If not, a referal to other solutions?

steve


Nico May 7, 2021 01:28 AM

too unspecific.. what type of simultaneous equations are you talking about?

Otherwise try something like this for example:
https://stackoverflow.com/questions/11609107/solving-a-simultaneous-equation-through-code


Flatts May 7, 2021 05:07 AM

need to solve a resister network of 16 unknown resister values. Will generate 18 resistance values from various combinations of the 16 unknown resisters. 


Nico May 7, 2021 10:31 AM

..do these posts ever get reviewed?


JDavis May 7, 2021 09:36 PM

You would have to write an incremental empirical method. Processing on the datalogger runs sequentially. In theory, CRBasic has enough available instructions it could be possible to do what you. However, I think it is more practical in post processing the raw data.


aks May 11, 2021 04:15 PM

When you say simultaneous equations, I assume these are algebraic equations (meaning the solution is not an iteratvive process), how many equations and how many unknowns? I assume you have the solution worked out anallytically, if that is the case, it should be realtively straightforward to write it in CR basic. 

You will have to check the processing time and adjust the scan rate accordingly.

Log in or register to post/reply in the forum.