Download  Print this page

Example Stack Calculations - HP 49G User Manual

Hide thumbs

Advertisement

,Q 531 PRGH \RX HQWHU
,Q RWKHU ZRUGV LQ 531 PRGH  DQG  DUH
HQWHUHG RQWR WKH VWDFN EHIRUH WKH FRPPDQG
LV HQWHUHG  PXVW EH RQ OHYHO  DQG  RQ
OHYHO  EHIRUH WKH FRPPDQG LV H[HFXWHG
6WULFWO\ VSHDNLQJ WKH ODVW RU RQO\ DUJXPHQW GRHV QRW QHHG WR EH RQ WKH
VWDFN EHIRUH \RX H[HFXWH D FRPPDQG LQ 531 PRGH <RX FDQ H[HFXWH D
FRPPDQG ZLWK WKH ODVW RU RQO\ DUJXPHQW VWLOO RQ WKH FRPPDQG OLQH
7KHUHIRUH WKH VHFRQG \ LQ WKH H[DPSOH LPPHGLDWHO\ DERYH FDQ EH
RPLWWHG +RZHYHU DQ\ DUJXPHQW VWLOO RQ WKH FRPPDQG OLQH ZKHQ D
FRPPDQG LV H[HFXWHG ZLOO QRW EH GLVSOD\HG RQ WKH VWDFN LI \RX XQGR WKH
FRPPDQG ZKLFK \RX FDQ GR E\ SUHVVLQJ >ò  7KHUHIRUH LI \RX WKLQN
\RX PD\ QHHG WR XQGR D FRPPDQG DQG EH DEOH WR VHH DOO WKH DUJXPHQWV
\RX VKRXOG SXW DOO WKH DUJXPHQWV RQWR WKH VWDFN EHIRUH H[HFXWLQJ WKH
FRPPDQG

Example stack calculations

Using a one-argument command
 ,I WKH DUJXPHQW LV QRW DOUHDG\ RQ OHYHO  RI WKH VWDFN HQWHU WKH
DUJXPHQW RQWR WKH FRPPDQG OLQH DQG RSWLRQDOO\ RQWR WKH VWDFN  ,I
WKH DUJXPHQW LV DOUHDG\ RQ OHYHO  RI WKH VWDFN JR VWUDLJKW WR VWHS 
 ([HFXWH WKH FRPPDQG
([DPSOH 7R FDOFXODWH
 (QWHU  DQG SUHVV \
 3UHVV s
7KH UHVXOW RI VLQ  LV QRZ RQ OHYHO  RI WKH VWDFN 7KLV UHVXOW FDQ EH
XVHG DV WKH DUJXPHQW RI D IXUWKHU FRPPDQG ZLWKRXW WKH UHVXOW QHHGLQJ
WR EH PDQXDOO\ HQWHUHG
 3UHVV y
1RWH WKDW LI \RX JHW D V\PEROLF DQVZHU ZKHQ \RX ZDQWHG D QXPHULFDO
DQVZHU SUHVV >… 7KH V\PEROLF DQVZHU LV HYDOXDWHG
Page 4-2
\\q

 
VLQ

The Stack

Advertisement

   Also See for HP 49G

   Related Manuals for HP 49G

Comments to this Manuals

Symbols: 0
Latest comments: