HP 12C Financial 12C manual 012,43,33,000 Line 012 gi000 000.00, 005, 43 34 Line 005 go 20,000.00

Page 137

Keystrokes (ALG mode)

Ê

20000

Ê

Ê

Ê

Ê

Ê

Ê

Ê

Ê

Ê

Ê

Section 9: Branching and Looping 137

Display

012,43,33,000 Line 012: gi000.

3,000.00

20,000. Keys income equal to test value into display and X-register.

001,

44

9

Line 001: ?9.

20,000.00

0

Stores income into register R9.

002,

45

Line 002: :0.

20,000.00

 

Test value has been recalled to

 

 

 

X-register, moving income to

 

 

 

Y-register.

003,

 

34

Line 003: ~.

20,000.00

 

Income has been placed in

 

 

 

X-register and test value has been

 

 

 

placed in Y-register.

004, 20 Line 004: § 20,000.00

005, 43 34 Line 005: go.

20,000.00

006,43,33,009 Condition tested by owas true, so program execution continued with line 006: gi009.

20,000.00

009,

45

1 Line 009: :1.

20.0020% tax rate has been recalled to X-register, moving income to Y-register.

010,

25 Line 010: b.

0.20Divides tax rate by 100.

011, 36 Line 011: }.

4,000.00 20% of 20,000 = 4,000.

012,43,33,000 Line 012: gi000.

4,000.00

File name: hp 12c pt_user's guide_English_HDPMF123E27

Page: 137 of 275

Printed Date: 2005/8/1

Dimension: 14.8 cm x 21 cm

Image 137
Contents Hp 12c platinum financial calculator Printing History About This Handbook IntroductionIntroduction For More Solutions to Financial ProblemsFinancial Calculations in the United Kingdom Contents Section ContentsPart II Programming 103 Part III Solutions 155 227 Appendix E Formulas Used 250 267 Making Financial Calculations Easy 500.00 48.0021,396.61 14.00168.00 10,371.7911,024.82 42.03Part Problem Solving Low-Power Indication Power On and OffAdjusting the Display Contrast Getting StartedKeying in Numbers Getting StartedDigit Separators Negative Numbers7814 Keying in Large NumbersBackspacing 123.6363+ KeystrokesDisplay ALG modeClear Keys Keys ClearsUndo Operation RPN mode ALG modeRPN and ALG Keys Example13.00 Simple Arithmetic Calculations in RPN ModeKeystrokes RPN mode Display Simple Arithmetic Calculations in ALG Mode Keystrokes RPN mode Chain Calculations in RPN Mode22.95 35.3810.14 1053+ 42.00 30.00Parentheses Calculations Chain Calculations in ALG ModeStoring and Recalling Numbers Keystrokes ALG mode 8zgØ5 1gÙ DisplayStorage Registers 250.00 Later that same day … Keystrokes Display RPN modeKeystrokes Display 1250?0 500?258.33 Clearing Storage RegistersStorage Register Arithmetic 10.14 13.70053.00 064.54Percentage and Calendar Functions Percentages in RPN ModePercentage Functions 300Percentage and Calendar Functions Percentages in ALG Mode21,390.00 860.00283.40 22,673.40Percent Difference Keystrokes ALG mode Display58.50 53.2529.69 Percent of Total in RPN ModePercent of Total in ALG Mode Date Format Calendar FunctionsFuture or Past Dates 11,09,2004 14.0511.09 Number of Days Between Dates498.00 491.00Financial Registers Basic Financial FunctionsStoring Numbers into the Financial Registers Displaying Numbers in the Financial RegistersClearing the Financial Registers Simple Interest CalculationsBasic Financial Functions 450.00 60.00455.25 455.18Financial Calculations and the Cash Flow Diagram Basic Financial Functions Cash Flow Sign Convention Payment ModeGeneralized Cash Flow Diagrams Basic Financial Functions Calculating the Number of Payments or Compounding Periods Compound Interest Calculations325.00 Sets the payment mode to End35,000.00 Stores PV 27.33 328.00181.89 143.11141.87 327.00466.87 Recalls payment amount775.00 GÂ n Keystrokes ALG mode50.00 Stores FV29.00 58.0050.00 977.27 400022.73 Keystrokes Display ALG mode 4000Calculating the Periodic and Annual Interest Rates 10,000.00 Stores FVCalculating the Present Value Keystrokes RPN mode Keystrokes ALG mode9gC 450ÞP 1500+ 17,500.00 12.00540,000.00 369,494.09243,400.00 Stores PV 60,000.00 200.00717.44 Calculating the Future Value5gA Sets payment mode to End243400$ 243,400.00 1363.29ÞP -1,363.29 222,975.98 Amount of balloon payment281.34 24.0032,000.00 28,346.96Odd-Period Calculations Basic Financial Functions 5gC 012004135.17 Z30+ 120.00 950.00GÒ z30+ §12Basic Financial Functions Keystrokes Display FCLEAR G Enters 25 gC 250000 $ Amortization250,000.00 970.91 498.12245,029.09 238.26404.37 093.75360.00 380.51Discounted Cash Flow Analysis NPV and IRR Additional Financial FunctionsCalculating Net Present Value NPV Additional Financial FunctionsNegative cash flow 212.18 130,000.00Year Cash Flow 14,000.00 79,000.0011,000.00 10,000.0013.72 Calculating Internal Rate of Return IRRReviewing Cash Flow Entries Changing Cash Flow Entries 100,000.00 500.00 14,000.00 79,000.00857.21 644.75Bond Price Bond Calculations042018 120.38Total price, including accrued Bond Yield122.13 400.00 Depreciation Calculations1f# 2f#3f# 440.00660.00 Continuous Memory Additional Operating FeaturesStatus Indicators Additional Operating FeaturesDisplay Number Display FormatsScientific Notation Display Format 14.8746 14.9 14.874563201487456320 487456Special Displays Key in RPN ModeArithmetic Calculations With Constants 429,000.00 Recovering From Errors in Digit EntryAccumulating Statistics Statistics FunctionsMean Correcting Accumulated StatisticsStatistics Functions Register Statistic40.00 32.0038.00 35.00463.00 Standard Deviation820.59 28,818.93 Linear EstimationKeystrokes Display 48 gQ Estimated sales for a 48 hourKeystrokes ALG mode 0gR 1gR~d-~ Display Keystrokes RPN mode 0gR Display001 GR~d~Weighted Mean 100 Mathematics Number-Alteration FunctionsOne-Number Functions 3880000000 Mathematics and Number-Alteration Functions258 Keystrokes To CalculateDisplay ALG mode Power Function in RPN ModePower Function in ALG Mode Part Programming Programming Basics Why Use Programs?Creating a Program 104200 Programming Basics150.00 155.00001 002 003 004 005 006 007 Running a Program473.75 625159 124.25Identifying Instructions in Program Lines Program MemoryNnn,43,33,000 Nnn Nnn, 44Displaying Program Lines Instruction KeycodePressing gÜdoes the reverse Keystrokes Display RPN mode Mode and displays current lineSets calculator to Program Program memoryKeystrokes Display 008,43,33,000 Program line Expanding Program Memory 000 Instruction and Program LineProgramming Basics Executing a Program One Line at a Time Setting the Calculator to a Particular Program LineProgram line 003 Program line 002Program line 004 b Program line 006Program line 005 + Interrupting Program Execution Pausing During Program Execution68.5 ?+1 ?+2 ?+3 Keystrokes RPN mode ?+1 ?+2 ?+3 Keystrokes ALG mode119 004 005 006 001 002008 001 002 003 004950.61 012, 44 40890.50 60.11370.52 402.82Stopping Program Execution 003,44 004 005 006FCLEAR² 13\68.5 18\72.9 24\85 Fourth item 125 Branching and LoopingSimple Branching Branching and Looping Looping782.47 007,43,33,002150,000.00 593.75 005 593.75188.72 188.72 007,43,33,002190.22 Conditional Branching592.25 Branching and Looping Recalls test value into X-register Stores income into register R9 004,43,33,007006,43,33,008 008,43,33,010 006,43,33,009010 20,000.0015,000.00 004,43,33,007 15,000.0015,000.00 007 20,00025,000 20,000.00 00725,000.00 25,000.00 00515,000.00 005 15,00015,000.00 006,43,33,009 15,000.00 009005, 43 34 Line 005 go 20,000.00 012,43,33,000 Line 012 gi000 000.0020,000.00 009 Line 00925.00 010 25,000.00 007139 Program EditingChanging the Instruction in a Program Line Program Editing Keystrokes RPN mode Keystrokes ALG mode Fs gi.006 DisplayAdding Instructions at the End of a Program 012 12,000.00013 014Adding Instructions within a Program Adding Instructions by ReplacementFs 15000t Adding Instructions by Branching 016001,43,33,012 Keystrokes RPN mode Fs gi.000011,43,33,000 Gi.010017,43,33,002 012 013014 015,43,33,000 016 020 021,43,33,000 022 017,43,33,000018 019 Program Editing 149 Multiple ProgramsStoring Another Program 019 020 021 022 018,43,33,000023 024 025 026 027,43,33,019033,43,33,025 025 026 027 028029 030 031 032 032 033 034,43,33,029 028 029 030 031034 035 036 037 038 039 040,43 33,035Running Another Program Page Part Solutions 156 Real Estate and LendingAnnual Percentage Rate Calculations With Fees 160,000.00 Real Estate and Lending908.46 156,800.00156,050.00 159,250.00Keystrokes Display RPN mode ALG mode FCLEARG Keystrokes Display RPN mode ALG mode 12§ §12³Price of a Mortgage Traded at a Discount or Premium 72.00777.61 137.17312.00 657.97300,000.00 Yield of a Mortgage Traded at a Discount or Premium252.00 210.00 096.57258,377.24 Rent or Buy Decision18.00 12.11008 009 010 011 012 013 014 015 016 017 018 019 020 021 000 001 002 003 004,44 005 006 007RPN mode Registers Real Estate and Lending 700.00 165.00900.00 270,000.00Deferred Annuities Keystrokes Display RPN mode ALG mode Yield46,048.61 15,218.3512,831.75 600.00750.00 Partial-Year Depreciation Investment AnalysisStraight-Line Depreciation 000 001 002 003 004 005 006 007 008 009 010 011025,43 026 027 028 029 030 031 012 013 014 015 016 017 018 019 020 021 022 023 024032,44 033,44041,43,33 036 037 038 039 040036,44 037,43,33Investment Analysis 666.67 125,000.00123,333.33 118,333.33504.75 730.00Declining-Balance Depreciation 000 001 002 003 004 005 006 007 008 009021,43 022 023 024 025 026 027 010 011 012 013 014 015 016 017 018 019 020028,44 029,44034 035 036 037 038 039 040 034 035 03650,000.00 Sum-of-the-Years-Digits Depreciation 11,458.33025,43,33 018 019 020 021 022 023 024026 027 028 029 030 031 035 036 037 038 039 040042 043 044 25n Keystrokes Display RPN mode ALG mode FCLEARG 12000$500M Full- and Partial-Year Depreciation with Crossover ?-0 008 009 010 011008 009 010 011 012 013 014 033 034 035 036 037 038 039 032,43,33040,44 041,44 042058 059 060 061 062 057,43,33063,44 064,43,33085,43,33 080,44 081 082 083 084086 087 088 089 090 091 092 093 094,43,33Keystrokes Display RPN mode ALG mode FCLEAR H 11000 $ 125.00 375.00406.25 804.6910,500.00 Excess Depreciation312.50 531.25Modified Internal Rate of Return 200,000.00 Group # of Months Cash Flow $657,152.37 775,797.83Black-Scholes Formula for Valuing European Options Keystrokes Display Keystrokes Display 071,43,33,077 065 066 067 068 069 070073,44 074 075,44 076 077 078092,44 093 094 095 089 090 091096,44 097 098 099 089,44 090113 114,44 115 116 117 199118,43,33 Program Instructions20.54 52.0014.22 71.1520.00 10.00Advance Payments LeasingSolving for Payment 20211.64 Leasing64.45 000 001008 009 010 011 012 013 014 015 016 017 018 019 008 009 010 011 012 013 014 015 016 01766.86 65.4357.00 Solving for Yield23,200.00 600 P002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 17.33Annual yield as a Percentage017,45,43 Keystrokes ALG mode19.48 ? tAdvance Payments With Residual 018 019 020 021 022 023 024 025 026 027 028 029 030 22,000.00 15.00487.29 520.8118.10 710.0034.00 Savings Keystrokes Display RPN mode ALG mode FCLEARG 25\ 25z 4nz¼Nominal Rate Converted to Effective Rate 213002 003 004 005 006 007 008 009 010 Savings002 003 004 005 006 007 008 ³ÞM¼ Effective Rate Converted to Nominal RateContinuous Rate Converted to Effective Rate Keystrokes Display RPN mode ALG mode FCLEAR G N100 $105.35 35 +Þ +5.35 ³Þ30/360 Day Basis Bonds Bonds001 002 003 004 005 006 007 008 009 010 011 012 013 217029 030 031 032 033 034 035 036 037 014 015 016 017 018 019 020 021 022 023 024 025 026 027038,43,33 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028Bonds 219 039 040 041 042 043 044 045 046040,43,33 041 042 043 044 045 046 047 048 049102.55 104.74 103.41Annual Coupon Bonds 223 20 ?0 94.75 12.01Page Appendices 228 RPN and the StackAppendix a RPN and the Stack Getting Numbers Into the Stack The KeyTermination of Digit Entry Rearranging Numbers in the StackStack Lift KeyMathematics Functions One-Number Functions and the StackTwo-Number Functions and the Stack Percentage Functions Register Calendar and Financial FunctionsLast X Register and the Key + 5 6 + Arithmetic Calculations with Constants168,000.00 84,000336,000.00 672,000.00237 Algebraic Mode ALG532.50 Appendix B Algebraic Mode ALGKeying in Negative Numbers History Stack in ALG Mode Key in ALG Mode400.43 737.07 18.5 §8zgØ 1250+7b Percent of Total Power FunctionTo Calculate Keystrokes Display ALG mode 243 More About LAppendix C More About L 245 Error ConditionsError 0 Mathematics Error 2 Statistics Error 1 Storage Register OverflowError 3 IRR Error 4 MemoryOperationCondition Error 5 Compound InterestOperation Condition Error 6 Storage RegistersError 7 IRR Pr Error Error 8 CalendarError 9 Service Percentage Formulas UsedInterest Simple InterestCompound Interest Appendix E Formulas UsedCalendar Discounted Cash Flow Analysis200 BondsDepreciation DPN J Continuous Compounding Interest Rate ConversionsFinite Compounding Statistics Weighted MeanLinear Estimation Standard DeviationRent or Buy Decision Battery Battery, Warranty, Service InformationLow-Power Indication 259Installing a New Battery Appendix F Battery, Warranty, and Service InformationVerifying Proper Operation Self-Tests Appendix F Battery, Warranty, and Service Information Warranty Service USA Regulatory InformationNoise Declaration Temperature SpecificationsCanada Japan267 United Kingdom CalculationsMortgages Appendix G United Kingdom Calculations Annual Percentage Rate APR Calculations269 Statistics Function Key IndexFinancial Mathematics ModesNumber Alteration Stack Rearrangement272 Pressed from Keyboard Run Mode Active KeysProgramming Key Index 274 Subject IndexSubject Index Subject Index Subject Index Subject Index