HP 15c Scientific manual Statistics Functions, Probability Calculations, 60.0000

Page 47

Section 4

Statistics Functions

A word about the statistics functions: their use is based on an understanding of memory stack operation (Section 3). You will find that order of entry is important for most statistics calculations.

Probability Calculations

The input for permutation and combination calculations is restricted to nonnegative integers. Enter the y-value before the x-value. These functions, like the arithmetic operators, cause the stack to drop as the result is placed in the X-register.

Permutations. Pressing ´p calculates the number of possible different arrangements of y different items taken in quantities of x items at a time. No item occurs more than once in an arrangement, and different orders of the same x items in an arrangement are counted separately. The formula is

Py,x =

y!

( y x)!

 

Combinations. Pressing c calculates the number of possible sets of y different items taken in quantities of x items at a time. No item occurs more than once in a set, and different orders of the same x items in a set are not counted separately. The formula is

C y, x =

y!

x!( y x)!

 

Examples: How many different arrangements are possible of five pictures which can be hung on the wall three at a time?

Keystrokes

Display

5 v 3

3

´p

60.0000

Five (y) pictures put up three (x) at a time.

Sixty different arrangement possible.

47

Image 47
Contents HP Part Number 00015-90001 Edition 2.4, Sep HP-15C Owner’s HandbookLegal Notice Introduction Contents Display and Continuous Memory ContentsProgram Branching and Controls Program EditingSubroutines Calculating With Matrices Indirect Display ControlCalculating With Complex Numbers Numerical Integration Appendix E a Detailed Look at f Contents Appendix a Error ConditionsAppendix C Memory Allocation Appendix D a Detailed Look atSubject Index Contents Appendix F BatteriesFunction Summary and Index Programming Summary and IndexQuick Look at HP-15C Problem SolverTo Compute Keystrokes Display Manual SolutionsKeystrokes Display Programmed Solutions300.51 KeystrokesDisplay001-42,21,11 002 003 004 005 006 007 008 009 8313HP-15C a Problem Solver Part l HP-15C Fundamentals Section Power On and OffGetting Started Keyboard OperationI O m ´ P I l F T s ? t H b Prefix KeysChanging Signs Keying in ExponentsClear Keys Clears only the last digit Display Clearing ` and −Digit entry not terminated 6532 CalculationsOne-Number Functions Two-Number Functions78.0000 17 +26.0000 22.0000 5000 13.0000Number Alteration Functions Numeric FunctionsGeneral Functions One-Number FunctionsPressing Calculates Trigonometric OperationsTime and Angle Conversions 40.5000 Degrees/Radians Conversions7069 RadiansHyperbolic Functions Logarithmic FunctionsTo Calculate Keystrokes Display Power FunctionTwo-Number Functions PercentagesPolar Conversion. Pressing Polar and Rectangular Coordinate ConversionsEnters the base number the price Calculates 3% of $15.76 the taxKeystrokes Display Always displayed Automatic Memory Stack Last X, and Data StorageAutomatic Memory Stack Stack Manipulation Automatic Memory Stack RegistersLost Stack Manipulation FunctionsMemory Stack, Last X, and Data Storage Lost 12.9000 Last X Register and K287.0000 22.248120.6475 Calculator Functions and the Stack13.9 + +15 X15 Order of Entry and the v Key69.0000 Nested Calculations7 + 65.0000Arithmetic Calculations With Constants 5 ‛15 Keys 000 Keystrokes Display Growth factor1000 520.8750 Storage Register OperationsStoring and Recalling Numbers 322.5000Storage and Recall Arithmetic Clearing Data Storage RegistersFor recall arithmetic For storage arithmetic15.0000 ProblemsOverflow and Underflow 24 l-0Memory Stack, Last X, and Data Storage 60.0000 Statistics FunctionsProbability Calculations 3422 Random Number Generator270,725.0000 5764Registers Accumulating StatisticsRegister Contents Σy2 20.00 40.00 60.00 80.00 Kg per hectareMetric tons per Hectare, y 20 z 61v 40 z 7.21 60 z 7.78 80 z l20 w 20 z Correcting Accumulated Statistics40.00 MeanStandard Deviation Application Linear Regression31.62 Standard deviation about the mean nitrogenLinear Estimation and Correlation Coefficient Statistics Functions 70 ´j Other ApplicationsFixed Decimal Display Display Continuous MemoryDisplay Control 234567 Scientific Notation DisplayEngineering Notation Display 234568Annunciators Round-Off ErrorSpecial Displays Mantissa Display12.345.6700 Error DisplayDigit Separators 12,345.67Status Low-Power IndicationContinuous Memory Resetting Continuous Memory Page Part ll HP-15C Programming Loading a Program Programming BasicsMechanics Creating a Program´b a Programming Basics002 003 004 005 006 007 008 Intermediate Program StopsRunning a Program 300.51 300.51 ´A How to Enter DataProgram Memory Totals Radius, r Height, h Base Area Volume Surface Area010 002004 005 007-44,40Or G a Instruction Coding Further InformationProgram Instructions Keycode 25 second row, fifth key Memory Configuration60 ´ m% Initial Memory Configuration19.0000 Program Boundaries´ m % 19 ´ m%´bA ´b3 End of memory Unexpected Program StopsAbbreviated Key Sequences LOG % User ModePolynomial Expressions and Horners Method ¤ @ y ∕12,691.0000 Nonprogrammable Functions001-42,21,12 002 003 004 005 006 007 008 009 0000Problems Moving to a Line in Program Memory Program EditingInserting Program Lines ExamplesDeleting Program Lines Or use  Single-Step Operations Result Line PositionÂhold ReleaseInitializing Calculator Status Insertions and DeletionsPV 1 + i n Interest+ i n ´bA D ´4 O0 2* O1 2÷ * ´ ´ l0 l1 ´r * n 100 270Branching Program Branching ControlsTest Conditional Tests n will clear flag number n FlagsExample Branching and Looping 016-44,40 010-45,20013-43,30 014Formula is Example Flags006-42,21 002-43004-42,21,15 005-43, 410,698.3049 Go to250.0000 48.0000Conditional Branching LoopingSystem Flags Flags 8 Program Branching and Controls ´b.1 SubroutinesGo To Subroutine and Return Subroutine ExecutionSubroutine Limits 004 000 001- ´b9002- R 003- O0´b.5 ´ b.4Nested Subroutines Subroutine Return106 Index Register Loop ControlV and % Keys Index Register and Loop Control Indirect Program Control With the Index RegisterProgram Loop Control Index Register Storage and RecallIndirect Branching With Index Register ArithmeticExchanging the X-Register Loop Control With Counters I and e Indirect Flag Control WithIndirect Display Format Control With Start count at zero Count by twos Count up to Nnnnn x x x y y 5 0 012.3456 Examples Register OperationsIterations Storing and Recalling Keystrokes DisplayStorage Register Arithmetic Example Loop Control with eExchanging the X-Register 013- 22 Loop control number in R2−− 011- 42 012-42, 564.8420 0000 50.0000 Example Display Format Control15 O Index Register Contents Indirect Display Control Index Register and Loop Control 118 Part lll HP-15C Advanced Functions 120 Complex Stack and Complex ModeCalculating With Complex Numbers Creating the Complex StackEntering Complex Numbers Deactivating Complex ModeComplex Numbers and the Stack ´ % hold 8.0000 release Z 8 Y 7 X Keys Manipulating the Real and Imaginary Stacks Stack Lift in Complex ModeOr other operation Clearing a Complex Number− 4 v Continue with any operation Continue with any operation0000 17.0000 144.0000 Entering Complex Numbers with −. The clearing functions −´ %hold release Followed by another number Entering a Real Number´ Continue with any operation Entering a Pure Imaginary NumberL 2 ´ Operations With Complex NumbersStoring and Recalling Complex Numbers ´ O+ * ÷ y ¤x N o ∕ @ a0491 20007000 0428´ % hold Release1.5708 Polar and Rectangular Coordinate ConversionsComplex Results from Real Numbers 5708Cos θ + i sin θ = re iθ Polar + ib = ∠ θ + 3.1434 84522981 4721 352.0000872.0000 2361For Further Information 138 Calculating With Matrices= A-1B Keystrokes Display Deactivates Complex Mode2496 Matrix DimensionsRunning 11.2887Number Rows Columns Dimensioning a MatrixKeystrokes l B Display Displaying Matrix DimensionsChanging Matrix Dimensions ´mAStoring and Recalling All Elements in Order Storing and Recalling Matrix Elements⎡ a Checking and Changing Matrix Elements Individually Keystrokes Display Matrix Descriptors Matrix OperationsStoring a Number in All Elements of a Matrix Result Matrix One-Matrix Operations Copying a MatrixCalculating with Matrices LB b Scalar OperationsLA a Elements of Result MatrixLB b 2 LA a 2 Arithmetic OperationsKeystrokes Display Subtracts 1 from the elements Matrix Multiplication Keystrokes Display l a a = AT BSolving the Equation AX = B 8600 24 OA2400 86 OA274 OB 233 OB 331 OB 120.32 OB 112.96 OB 151.36 OB ´Á Week Cabbage kg 186 141 215 Broccoli kg 116 Calculating the ResidualCalculations With Complex Matrices Using Matrices in LU FormThen Z can be represented in the calculator by Storing the Elements of a Complex MatrixPressing Transforms Into LA a = ⎢Complex Transformations Between ZP and Z Inverting a Complex Matrix ´ a Multiplying Complex Matrices´U lC LC lC lC lC lC lC lC ´U Keystrokes lA lB Display Displays descriptor of matrix aZZ −1 Solving the Complex Equation AX = BAX = B 170.0000 200.00001543 03721311 0437Calculating with Matrices Miscellaneous Operations Involving Matrices Using a Matrix Element With Register OperationsUsing Matrix Descriptors in the Index Register Conditional Tests on Matrix Descriptors Stack Operation for Matrix CalculationsCalculating with Matrices Using Matrix Operations in a Program ´m a Summary of Matrix FunctionsKeystrokes Results Calculates residual in result matrix For Further Information 180 UsingFinding the Roots An Equation Clear program memory Finding the Roots of an Equation005 006 007 ´b0001-42,21 002 003Desired root Finding the Roots of an Equation003 004 Keystrokes ¥´ bA 000 001-42,21,11200 t 5000 1 e tBrings another t-value Into X-register000 001-42,21 002 003 004 005 When No Root Is FoundError Choosing Initial Estimates Label 6 x + 8 003 004 005 007X + 8 008 009Finding the Roots of an Equation Using in a Program Memory Requirements Restriction on the Use194 Using fNumerical Integration 002 003 004 1416 7652 4040Begin subroutine with a label 4401 3825$ ÷ 6054 Accuracy of f ´ i ´ f 7091 8826382 Using f in a ProgramMemory Requirements 205 Error ConditionsError 0 Improper Mathematics Operation Appendix aError 2 Improper Statistics Operation Error 1 Improper Matrix OperationError 6 Improper Flag Number Error 3 Improper Register Number or Matrix ElementError 4 Improper Line Number or Label Call Error 5 Subroutine Level Too DeepPr Error Power Error Appendix B Stack Lift Last X RegisterDigit Entry Termination Stack LiftEnabling Operations Disabling OperationsNnn Clear u ¥ Stack Stack Enabled. disabled 53.1301 No stack LiftNeutral Operations Appendix B Stack Lift and the Last X Register Keys\ k + H ∆ \ h ÷ À P* q r c ‘ / N z ∕ P\ o j Last X RegisterRegisters Memory AllocationMemory Space Appendix CAppendix C Memory Allocation M % Function Memory ReallocationMemory Status W 19 ´ m Restrictions on Reallocation´m% 1.0000 Whold 1 64 Automatic Program Memory Reallocation Program MemoryTogether Memory Requirements for the Advanced FunctionsTwo-Byte Program Instructions If executedAppendix C Memory Allocation 220 Detailed Look atHow Works Appendix DAppendix D a Detailed Look at Accuracy of the Root X4 = 000 006 007 008 009 010-43,30 011 012-43,30 013 17180681 Interpreting Results´ v B − 45 For 0 x End subroutine Test for x rangeBranch for x ≥ 3x 45x 2 +Possible root 000.0000Initial estimates 1358Appendix D a Detailed Look at 013 014 015 016 ´ b.0 001-42,21,.0 002 003 004 005Bring x-value into X-register 007 008 009 01010 v ´ ‛ 20 017 018Finding Several Roots Error 0000 1250 5626002 003 004 005 006 007 Fx = xx a3 =6667 Deflated function value Same initial estimatesSecond root Stores root for deflationDeflation for third root Limiting the Estimation Time Specifying a Tolerance For Advanced InformationCounting Iterations 240 Detailed Look at fHow f Works Appendix EX = π1 0π cos4θ − x sinθ dθ Accuracy, Uncertainty, and Calculation Time´ i ´ f 0000 1416´ f ´ Clear u hold Keystrokes Display Return approximation to´ Clear u Hold Keystrokes ´ i Display7807 7858Uncertainty and the Display Format Functions values for example Δx = 0.5×10−n ×10m = aδx dxb = ab 0.5×10−n + m x dx Conditions That Could Cause Incorrect Results ∞ xe− xdx 001-42,21 002- 1 003 004 005 Appendix E a Detailed Look at f Appendix E a Detailed Look at f Conditions That Prolong Calculation Time Uncertainty Keys lower limit intoKeys upper limit into Approximation to integralAppendix E a Detailed Look at f Obtaining the Current Approximation to an Integral For Advanced Information Batteries Low-Power IndicationInstalling New Batteries BatteriesAppendix F Batteries 2.C 3.H Verifying Proper Operation Self-TestsDigit Entry Function Summary and IndexComplex Functions ConversionsMantissa. Pressing Display ControlIndex Register Control Logarithmic Exponential Functions146 MathematicsMatrix Functions To XT Number AlterationTo ZP page164 Clear u PercentageProbability Stack ManipulationStorage StatisticsTrigonometry 269 Programming Summary and IndexProgramming Summary and Index 271 Subject IndexSubject Index Subject Index Subject Index Subject Index Subject Index Subject Index Subject Index Subject Index Subject Index Subject Index Subject Index Subject Index Modifications Product Regulatory Environment InformationFederal Communications Commission Notice Avis Canadien Canadian NoticeBody number is inserted between CE European Union Regulatory Notice
Related manuals
Manual 63 pages 42.15 Kb