01-25-2021, 07:14 PM

Hi all, I don't program in RPL a long time ago, I'm using RPN mostly, and I'm having troubles with this little program I want to write.

Given the formula attached on the files, what I want to calculate is the value of Va, Ha, Ma, Mb and Mc.

Firstable, I wrote all the formulas with the equation writer and store them as global variables.

Then, I created an inform input template where all the variables are gathered and stored in local variables.

Lastly, after the inform template I wanted to paste the equations within '' so that they can be evaluated in ALG mode but I only can evaluate the first one, after that I always get a ->NUM error. I think that the local variables are lost after the first ALG equation.

How would you write a program to do this?.

Thanks in advance.

Given the formula attached on the files, what I want to calculate is the value of Va, Ha, Ma, Mb and Mc.

Firstable, I wrote all the formulas with the equation writer and store them as global variables.

Then, I created an inform input template where all the variables are gathered and stored in local variables.

Lastly, after the inform template I wanted to paste the equations within '' so that they can be evaluated in ALG mode but I only can evaluate the first one, after that I always get a ->NUM error. I think that the local variables are lost after the first ALG equation.

How would you write a program to do this?.

Thanks in advance.