How I can change the format of unit one DM42/Free42
01-08-2021, 07:36 PM
Post: #29
 fs5qc Junior Member Posts: 49 Joined: Jan 2021
RE: How I can change the format of unit one DM42/Free42
Thanks I found my error on my code

My new code is

00 { 32-Byte Prgm }
01▸LBL "VOL"
02 MVAR "V"
03 MVAR "W"
04 MVAR "L"
05 MVAR "H"
06 RCL "W"
07 RCL× "L"
08 RCL× "H"
09 RCL "V"
10 -
11 END

(01-08-2021 07:28 PM)Sylvain Cote Wrote:
Code:
formula → Length * Width * Height = Volume f(x)=0  → ( Length * Width * Height ) — Volume = 0

Analysis of your program: (not working)
Code:
01▸LBL "VOL"   // Volume calculation program 02 MVAR "V"    // Volume 03 MVAR "W"    // Width 04 MVAR "L"    // Length 05 MVAR "H"    // Height 06 STO "W"     // overwriting W with X content with whatever it is 07 STO "L"     // overwriting L with X content with whatever it is 08 STO "H"     // overwriting H with X content with whatever it is 09 RCL "L"     // X = Length (unknown value) 10 RCL "H"     // X = Height (unknown value) & Y = Length (unknown value) 11 ×           // X = X * Y  (unknown value) 12 RCL× "W"    // X = X * Width (unknown value) 13 STO "V"     // overwriting V with X content with whatever it is 14 RCL "V"     // X = Volume (unknown value) 15 END         // end of the program

Analysis of the user's manual program: (working)
Code:
01▸LBL "VOL"   // Volume calculation program 02 MVAR "L"    // Length 03 MVAR "W"    // Width 04 MVAR "H"    // Height 05 MVAR "V"    // Volume 06 RCL "L"     // X =     Length    // X =   Length 07 RCL* "W"    // X = X * Width     // X =   Length * Width 08 RCL* "H"    // X = X * Height    // X =   Length * Width * Height 09 RCL- "V"    // X = X - Volume    // X = ( Length * Width * Height ) - Volume 10 END         // end of the program

Solving: [yellow-key] [SOLVER] [VOL] 5 [L] 5 [W] 5 [H] [V]
 « Next Oldest | Next Newest »

 Messages In This Thread How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 03:39 AM RE: How I can change the format of unit one DM42/Free42 - rprosperi - 01-08-2021, 03:51 AM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 03:54 AM RE: How I can change the format of unit one DM42/Free42 - rprosperi - 01-08-2021, 04:03 AM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 04:07 AM RE: How I can change the format of unit one DM42/Free42 - rprosperi - 01-08-2021, 04:18 AM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 04:22 AM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 04:35 AM RE: How I can change the format of unit one DM42/Free42 - Steve Simpkin - 01-08-2021, 08:10 AM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 01:14 PM RE: How I can change the format of unit one DM42/Free42 - grsbanks - 01-08-2021, 01:18 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 01:30 PM RE: How I can change the format of unit one DM42/Free42 - Sylvain Cote - 01-08-2021, 04:07 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 07:00 PM RE: How I can change the format of unit one DM42/Free42 - Peet - 01-08-2021, 07:54 AM RE: How I can change the format of unit one DM42/Free42 - Didier Lachieze - 01-08-2021, 06:39 AM RE: How I can change the format of unit one DM42/Free42 - Logan - 01-08-2021, 11:53 AM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 12:31 PM RE: How I can change the format of unit one DM42/Free42 - Peet - 01-08-2021, 12:34 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 12:36 PM RE: How I can change the format of unit one DM42/Free42 - Massimo Gnerucci - 01-08-2021, 12:46 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 01:11 PM RE: How I can change the format of unit one DM42/Free42 - grsbanks - 01-08-2021, 01:11 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 06:40 PM RE: How I can change the format of unit one DM42/Free42 - Didier Lachieze - 01-08-2021, 07:18 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 07:21 PM RE: How I can change the format of unit one DM42/Free42 - Sylvain Cote - 01-08-2021, 07:28 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021 07:36 PM RE: How I can change the format of unit one DM42/Free42 - Sylvain Cote - 01-08-2021, 07:40 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 07:41 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 08:06 PM RE: How I can change the format of unit one DM42/Free42 - Didier Lachieze - 01-08-2021, 07:31 PM RE: How I can change the format of unit one DM42/Free42 - fs5qc - 01-08-2021, 07:39 PM

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