The following warnings occurred:
Warning [2] Undefined array key 90071 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90075 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90085 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90090 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90107 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90119 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90130 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90131 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90140 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90141 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90130 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 90141 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





[JOKE] RPN vs. Algebraic: The Match !



#11

Hi, all:

[Caveat emptor: All that follows is thoroughly tongue-in-cheek, to try and cheer up the Forum a little. V.]

There's been a number of recent posts praising how RPN makes the process of evaluating an algebraical expression easy and intuitive, without having to deal with parentheses and/or implicit rules of precedence, etc.

Well, let's put it to test. Suppose we're asked to evaluate these
expressions:

    0.5 + 0.2 * 0.3 
and
0.312 * 0.437 + 0.251
Here's how I would do it algebraically:
    Using the distributive property of addition over multiplication,
also known as the distributive law of sum: a + b*c = (a+b)*(a+c):

0.5 + 0.2 * 0.3 =
= (0.5 + 0.2) * (0.5 + 0.3)
= 0.7 * 0.8
= 0.56

Similarly for the second one:

0.312 * 0.437 + 0.251 =
= (0.312 + 0.251) * (0.437 + 0.251)
= 0.563 * 0.688
= 0.387344

For a more complicated test, let's suppose we're asked to
evaluate the following expression:
   (2+1/4)^(3/2)

Here's how I would do it algebraically:

    Using the rule of exponents: (a+b)^c = c*(a+b):

(2+1/4)^(3/2) =
= (3/2) * (2+1/4)
= (3/2) * (9/4)
= (3*9) / (2*4)
= 27/8

What ? You don't like these algebraically obtained values of mine ? Well, let's see if RPN gets you any better results. :-)

Best regards from V.

Edited: 28 Mar 2006, 6:18 a.m.


#12

This is an old PPC joke I heard over 20 years ago in one of the PPC national meetings. The joke is purely fictional.

The Santa Ana municipality issued a citation to Richard Nelson, founder of the PPC, for improperly disposing of trash bags! Richard was shocked because he did not improperly dispose of trash, pure and simple! It just was not in his character to do that! He drove to the municipality and confronted the official who issued the citation to protest against this error. “What crazy evidence led you to point the finger at me?!!”, protested Richard. The official calmly responded, “We found a fully functioning TI-59 calculator in the trash bag!”

Edited: 28 Mar 2006, 8:06 a.m.


#13

Last month I broke down and purchased my first new-in-the-box High-Priced programmable calculator -- an hp-33s. I told Richard Nelson. Last week Richard told me that he had purchased a TI-89. Repent! The end of the world may be nearer than you think!


#14

Yes, and I have seen that TI-89 in Richard's hands.

I have to admit I felt like sitting down quietly somewhere. :-)


#15

This si truly shocking to me! I am emailing Dr Phil to help me deal with this trauma!

:-(

Namir

#16

Valentin,

let's try:

    0.5 + 0.2 * 0.3 

We have to transform the infix notation to postfix notation first:

    0.5 -> 0 5 .
0.2 -> 0 2 .
0.3 -> 0 3 .

The complete evaluation in RPN looks like the following:

0 ENTER 2 . 0 ENTER 3 . * 0 ENTER 5 . +    
which gives the result 5.00 accurate two 2 digits.

Marcus


#17

Typical sloppy RPN hackery.

The error is in the conversion to RPN. The digit string should be reversed, with the decimal staying put:

0.2 -> 2.0

0.3 -> 3.0

0.5 -> 5.0

Thus, algebraically we have:

5.0 + 2.0 * 3.0

and by the 2nd commutative law of addition:

5.0 + 3.0 * 2.0 + 6.4

or, in RPN:

2 ENTER 2 +

Which is five, purely by coincidence.


#18

Indeed! (in the lack of a better word)


#19

Hi, Luiz Claudio:

Luiz Claudio posted:

"Indeed! (in the lack of a better word)"

    It's "for lack of a better word" or "for lack of a better term".

    By the way, congratulations for your fellow countryman Mr. Marcos Pontes becoming the first Brazilian cosmonaut ! :-)

Best regards from V.

#20

Hi, Valentin;

Thanks! Twice! d8^)

Best regards.

Luiz (Brazil)


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PRIME] RPN: another attempt at returning more than one value to the RPN stack Marcus von Cube, Germany 5 2,378 11-05-2013, 02:44 AM
Last Post: Marcus von Cube, Germany
  Immediate algebraic expressions in RPL+ Oliver Unter Ecker 8 2,359 11-19-2011, 04:29 AM
Last Post: Oliver Unter Ecker
  HP-42S Repair and Color Match aj04062 0 741 03-28-2011, 07:10 PM
Last Post: aj04062
  programming HP35s in algebraic mode, please. Kip Hopkins 10 2,522 01-16-2011, 06:28 PM
Last Post: Kip Hopkins
  New Iphone & Itouch calculator - Access RPN and Active RPN Nigel Bamber 1 1,115 06-10-2009, 04:13 PM
Last Post: Jean-Michel
  OT: Math Joke John B. Smitherman 46 8,756 05-01-2009, 06:01 PM
Last Post: Kiyoshi Akima
  Another calculator with RPN (Corvus 500 RPN) Saile (Brazil) 7 2,105 03-31-2009, 12:14 AM
Last Post: Michael de Estrada
  RPN or algebraic designnut 0 780 03-16-2009, 06:14 PM
Last Post: designnut
  algebraic simplification on the 50G Hal Bitton in Boise 19 4,185 08-28-2008, 05:56 AM
Last Post: Marcus von Cube, Germany
  Do HP owners use Algebraic entry? designnut 38 7,986 10-27-2007, 11:47 AM
Last Post: Walter B

Forum Jump: