RPL integral : 28S vs 48GX (fail to call a program)
|
03-21-2023, 09:08 AM
(This post was last modified: 03-21-2023 09:54 AM by OlidaBel.)
Post: #1
|
|||
|
|||
RPL integral : 28S vs 48GX (fail to call a program)
Hello RPL'ers ,
I noticed an annoying difference for calculating numerical integrals in RPL between 28S and 48GX. I create an equation for the integration: EQ1. This equation calls a small RPL program ('F1') where the integration variable (here 'Y') is also used. I simplified the scenario here, but I had this problem in a much larger application. The 28S does this very well, while the 48GX does not. The 48GX does not want to understand that the 'Y' is the same as the Y for the integral. If anyone can figure out why the 48GX can't do it...or show me how. Rem1: on a Swissmicros DM42, I can carry out this scenario without problem. This machine is still wonderful. Rem2: syntax on the 28S was different than the syntax on the 48GX 28S: EQ1 : 'F1(Y^2)' F1: << -> x 'x*Y' >> (x is a local variable) the stack before the command: 3: 'EQ1' 2: {Y 0.5 1} 1: 0.001 (accuracy) integral command : S answer 28S: 2: 0.234 (integral) 1: 2.34E-4 (error) 48GX : (flag -3 Set : numerical result) EQ1: 'F1(Y^2)' F1: << -> x 'x*Y' >> (x is a local variable) the stack before the command: 4: 0.500 3: 1.00 2: 'EQ1' 1: 'Y' integral command : S answer 48GX: ^Error: Undefined Name What's happening here ? --- HP 48GX, Prime G2, 50G, 28S, 15c CE. SwissMicros DM42, DM15L A long time ago : 11C, 15C, 28C. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
RPL integral : 28S vs 48GX (fail to call a program) - OlidaBel - 03-21-2023 09:08 AM
RE: RPL integral : 28S vs 48GX (fail to call a program) - Werner - 03-21-2023, 09:45 AM
RE: RPL integral : 28S vs 48GX (fail to call a program) - OlidaBel - 03-21-2023, 09:53 AM
RE: RPL integral : 28S vs 48GX (fail to call a program) - Werner - 03-21-2023, 10:18 AM
RE: RPL integral : 28S vs 48GX (fail to call a program) - OlidaBel - 03-21-2023, 11:06 AM
RE: RPL integral : 28S vs 48GX (fail to call a program) - jonmoore - 05-03-2023, 01:27 PM
|
User(s) browsing this thread: 1 Guest(s)