New guy and programming problem
08-27-2017, 06:18 AM
Post: #1
 Skirmitch Junior Member Posts: 6 Joined: Aug 2017
New guy and programming problem
Hey guys, I'm new here. I'm an electronics engineer and I mainly work in the computer science field specifically in data analysis and mainly machinne learning. I'm a programmer in many languages (for data analysis I use Python) and I'm a fan of vintage things when things were made to last forever. I've been out hunting for a calculator for some time now since I really don't like my dad's Casio fx something (1980's long calculator with full pc style keyboard programmable in basic). When I was studying I used the HP48g+ but I lost it (stolen) and now I want something a bit smaller. I'm a believer that RPN is the only practical method for a calculator (if u r going to input large things that need reviewing u r better with a computer) and so I started looking around. After a long search, I sadly found out that I liked the HP42s over everything and so here I am sitting waiting for SwissMicros to release their tribute while I use Free42 on my phone. I watched all of Logan's videos (yes, from every calculator, not only the 42S) and just now I wrote my first program and it is to get the total resistance of 2 parallel resistors (and want to write one for 3 and 4 parallel ones and some transistor's formulas for my hobbies) and I found myself in my first problem: If I have the variables R1 and R2 already set with the right values and I call the function, it runs perfectly but if I have everything cleared and I input the variables when the function asks for them, the program doesn't run. If after that first run I call it again, it works perfectly (since the variables are already stored). Can anyone help me?

LBL "PAR2"
INPUT "R1"
1/X
INPUT "R2"
1/X
+
1/X
END

For those who don't know the formula, it is 1 / ( 1/R1 + 1/R2)

thanks in advance and also thanks for running such an awesome web
 « Next Oldest | Next Newest »

 Messages In This Thread New guy and programming problem - Skirmitch - 08-27-2017 06:18 AM RE: New guy and programming problem - Dieter - 08-27-2017, 03:15 PM RE: New guy and programming problem - Gerson W. Barbosa - 08-27-2017, 05:12 PM RE: New guy and programming problem - Dieter - 08-27-2017, 05:43 PM RE: New guy and programming problem - Paul Dale - 08-27-2017, 11:12 PM RE: New guy and programming problem - Dieter - 08-28-2017, 06:13 PM RE: New guy and programming problem - Paul Dale - 08-29-2017, 04:22 AM RE: New guy and programming problem - Garth Wilson - 08-27-2017, 09:14 PM RE: New guy and programming problem - Vtile - 09-01-2018, 07:28 PM RE: New guy and programming problem - John Keith - 08-27-2017, 05:52 PM RE: New guy and programming problem - Dieter - 08-27-2017, 06:28 PM RE: New guy and programming problem - Gerson W. Barbosa - 08-27-2017, 06:03 PM RE: New guy and programming problem - Dieter - 08-27-2017, 06:11 PM RE: New guy and programming problem - Gerson W. Barbosa - 08-27-2017, 06:23 PM RE: New guy and programming problem - pier4r - 08-27-2017, 07:52 PM RE: New guy and programming problem - Jlouis - 08-28-2017, 10:55 AM RE: New guy and programming problem - Skirmitch - 08-27-2017, 06:04 PM RE: New guy and programming problem - Skirmitch - 08-28-2017, 01:44 AM RE: New guy and programming problem - Paul Dale - 08-28-2017, 01:58 AM RE: New guy and programming problem - Skirmitch - 08-28-2017, 02:25 AM RE: New guy and programming problem - Paul Dale - 08-28-2017, 05:31 AM RE: New guy and programming problem - Skirmitch - 08-28-2017, 07:14 AM RE: New guy and programming problem - ndzied1 - 08-28-2017, 03:43 AM RE: New guy and programming problem - Paul Dale - 08-28-2017, 07:28 AM RE: New guy and programming problem - Logan - 08-28-2017, 02:20 PM RE: New guy and programming problem - Skirmitch - 08-28-2017, 06:11 PM RE: New guy and programming problem - Logan - 08-28-2017, 06:13 PM RE: New guy and programming problem - Thomas Klemm - 09-01-2018, 12:23 PM RE: New guy and programming problem - Albert Chan - 09-01-2018, 02:16 PM RE: New guy and programming problem - Albert Chan - 09-02-2018, 06:14 PM RE: New guy and programming problem - Albert Chan - 09-02-2018, 09:21 PM RE: New guy and programming problem - sasa - 09-01-2018, 03:18 PM RE: New guy and programming problem - Albert Chan - 09-01-2018, 05:20 PM RE: New guy and programming problem - sasa - 09-01-2018, 05:33 PM RE: New guy and programming problem - Thomas Klemm - 09-01-2018, 04:28 PM RE: New guy and programming problem - Thomas Klemm - 09-02-2018, 07:33 PM RE: New guy and programming problem - Thomas Klemm - 09-02-2018, 09:33 PM RE: New guy and programming problem - Vtile - 09-02-2018, 09:40 PM RE: New guy and programming problem - Albert Chan - 09-03-2018, 10:32 PM

User(s) browsing this thread: 1 Guest(s)