HP Forums

Full Version: 41Z - Just got POLARized...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Greetings to all. You are no doubt holding your breath in expectation of the new developments on the 41_MCODE world... yes?

So the good news is the new release of the 41Z Module, with POLAR-mode capability: displaying and data input directly using POLAR notation.

Two new functions (aptly named POLAR and RECT) switch the 41Z mode back and forth. Complex number data entry (using the natural notation function, "^IM/AG") and displaying is done automagically according to the setting, but always stored in rectangular form.

This ensures compatibility with all FOCAL programs and speeds up the calculations - there's no need to convert the stored data upon mode switching, but only to display it appropriately when recalled.

The complex mode setting uses an internal "flag" in the complex buffer header register. It is permanent (until changed by the user), so it survives OFF-ON power cycles. The header has two more data registers to store the POLAR values of the currently-shown number - typically in XY, but can also be in a "complex storage register" if using the functions ZRCL or ZVIEW.

Should be posted at TOS in a few days, as always let me know if you have "urgent needs" :-)

Cheers,
ÁM

Great update. :-)

Is this ROM close to being finalized? I need to start building the final ROM image for the 41CL...

Monte

Yay!

lol.

Indeed. I just got the IR Printer module (which I think is the most complex plug-in) working. So all there is left to check is the HP-IL module before I pull the trigger on the PC board fabrication.

Monte

Monte, I'm doing the final testing - so assuming I can resits the temptation to keep adding new frills to it (that's what happens when tester and developer are the same person) it should be coming your way in a couple of days.

The main improvement left is trying to spped it up a little (I know, use the 41L instead...) But the nicer the code the better performance!

Hello, Ángel --

Quote:
Two new functions (aptly named POLAR and RECT) switch the 41Z mode back and forth. Complex number data entry (using the natural notation function, "^IM/AG") and displaying is done automagically according to the setting, but always stored in rectangular form.

Good enhancement -- sounds much like the capability of the HP-42S.

Storage in rectangular (cartesian) form is the right choice: It is unique (no angular mode); all complex-valued operations are defined (if sometimes less straightforward).

And the "automagically"-executed display sounds even more enticing!

:-D

Edited: 10 Nov 2010, 11:43 p.m.

Hi Karl,

Yes it´s pretty much the same as the 42 model, with a few differences:

- It also has ZRCL _ _, ZSTO_ _, and Z<>_ _ , with complex suffixes

- It has many more functions than the 42, like inverse trig and hyp

- Data entry using "^IM/AG" is almost identical to the 35s implementation. You enter the real part (or the module), press "^IM/AG", and the display shows either "^IM J_" or "^AG <|_" depending on the mode setting. Then write the imaginary part (or the argument)using the digits, CHS, EEX and radix keys (not a simple feat but reasonably error-proofed) and press either R/S or ENTER^ to terminate the entry.

- It's of course slower than either the 42 or the 35S, call it a "venerable speed" if you wish - but it's very responsive, remember it's all MCODE

Cheers,
AM

Not to forget a few other unique functions (meaning not on the 42 or -chuckle- the 35s), such us:

- Gamma, Digamma, LogGamma, Lambert with complex arguments, and

- Bessel J,I,K,Y for complex orders and arguments.

- Nth. degree polynomial roots - w/ complex coefficients

all mixing and matching dedicated MCODE functions and FOCAL drivers.

And a few other tricks as well.

Cheers

Edited: 11 Nov 2010, 3:04 a.m.

@AM: You're a friggin' genius.