二項分佈及泊松分佈

程式 (共63字,藍色的 - 是負號,按EXP或E可以產生E。):

0BAC + B ^ ( A cos( sin-1( X ) ) ) ( A cos( sin-1( X ) ) ) !-1 e^( - B ) cos( sin-1( X ) )

+ BX nCr AX * C ^ ( A + E - 99 ) X ( 1 - C ) ^ ( B - A )

SAVE PROG1 或 PROG2 (SRP-285II計數機)

STO EQN (HP 30S計數機)

 

例題1: X ~ Bin(9,0.5)P(X=4),P(X=5)P(X=6)

SRP-285II 按法:  

2nd CL-VAR  P/V RCL,再按 ← 選擇正確的PROG,再按 = =

9 = 4 = 0.5 = 1 = (1表二項分佈,顯示P(X=4)為0.24609)

↑5 = (顯示P(X=5)0.24609)↑6 = (顯示P(X=6)0.16406)

 

HP 30S 按法:

按  2nd CL-VAR VRCL,再按 ← = =

9 = 4 = 0.5 = 1 = (1表二項分佈,顯示P(X=4)為0.24609)

↑5 = (顯示P(X=5)0.24609)↑6 = (顯示P(X=6)0.16406)

 

例題2: X ~ Po(5)P(X=4),P(X=5)P(X=6)

SRP-285II 按法:  

2nd CL-VAR  P/V RCL,再按 ← 選擇正確的PROG,再按 = =

5 = 4 =  = = (0代表泊松分佈顯示P(X=4)為0.17547)

↑5 = (顯示P(X=5)0.17547)↑6 = (顯示P(X=6)0.14622)

 

HP 30S 按法:

按  2nd CL-VAR VRCL,再按 ← = =

5 = 4 =  = = (0代表泊松分佈,顯示P(X=4)為0.17547)

↑5 = (顯示P(X=5)0.17547)↑6 = (顯示P(X=6)0.14622)

 

例題3: X ~ Bin(9,0.5)P(X=4)P(X=5)P(X=6)P(X=7)P(4X7)

先清除M的記憶按 MRC MRC CL

2nd CL-VAR  P/V RCL,再按 ← 選擇正確的PROG,再按 = =

9 = 4 = 0.5 = 1 = M+ (1代表二項分佈,顯示P(X=4)0.24609)

5 SAVE =↑↑ M+ (顯示P(X=5)0.24609)

6 SAVE =↑ M+ (顯示P(X=6)0.16406)

7 SAVE = M+ (顯示P(X=7)0.00703)

MRC = (顯示P(4X7)0.72656)

 

例題4: X ~ Po(5)P(X=4)P(X=5)P(X=6)P(X=7)P(4X7)

SRP-285II 按法:  

先清除M的記憶按 MRC MRC CL

2nd CL-VAR  P/V RCL,再按 ← 選擇正確的PROG,再按 = =

5 = 4 = = = M+ (0代表泊松分佈顯示P(X=4)0.17547)

5 SAVE =↑↑ M+ (顯示P(X=5)0.17547)

6 SAVE =↑ M+ (顯示P(X=6)0.14622)

7 SAVE =↑ M+ (顯示P(X=7)0.10444)

MRC = (顯示P(4X7)0.60160)

 

HP 30S 按法:

先清除M的記憶按 MRC MRC CL 再按 2nd CL-VAR  RCL,再按 ← EQN,再按 = =

5 = 4 = = = M+ (0代表泊松分佈,顯示P(X=4)0.17547)

5 SAVE =↑↑ M+ (顯示P(X=5)0.17547)

6 SAVE =↑ M+ (顯示P(X=6)0.14622)

7 SAVE =↑ M+ (顯示P(X=7)0.10444)

MRC = (顯示P(4X7)0.60160)

 

 

例題5: X ~ Bin(9,0.5)P(4X7)

SRP-285II 按法:  

先清除ANS的記憶按  CL 0 =

2nd CL-VAR  P/V RCL,再按 ← 選擇正確的PROG,再按 + 2nd ANS =

9 = 4 = 0.5 = 1 (1代表二項分佈,顯示P(X=4)0.24609)

↑5 = (顯示P(X=4)+P(X=5)0.49219)

↑6 = (顯示P(X=4)+P(X=5)+P(X=6)0.65563)

↑7 = (顯示P(4X7)0.72656)

 

HP 30S 按法:

先清除ANS的記憶按  CL 0 = 再按 2nd CL-VAR  RCL,再按 ← EQN,再按 + 2nd ANS =

9 = 4 = 0.5 = 1 (1代表二項分佈,顯示P(X=4)0.24609)

↑5 = (顯示P(X=4)+P(X=5)0.49219)

↑6 = (顯示P(X=4)+P(X=5)+P(X=6)0.65563)

↑7 = (顯示P(4X7)0.72656)

 

例題6: X ~ Po(5)P(X=4)P(X=5)P(X=6)P(X=7)P(4X7)

SRP-285II 按法:  

先清除Ans的記憶按 CL 0 =

2nd CL-VAR  P/V RCL,再按 ← 選擇正確的PROG,再按 + 2nd Ans =

5 = 4 = = = (0代表泊松分佈顯示P(X=4)0.17547)

5 = (顯示P(X=4)+P(X=5)0.35093)

↑6 = (顯示P(X=4)+P(X=5)+P(X=6)0.49716)

↑7 = (顯示P(4X7)0.60160)

 

HP 30S 按法:

先清除ANS的記憶按  CL 0 = 再按 2nd CL-VAR  RCL,再按 ← EQN,再按 + 2nd ANS =

5 = 4 = = = (0代表泊松分佈,顯示P(X=4)0.17547)

5 = (顯示P(X=4)+P(X=5)0.35093)

↑6 = (顯示P(X=4)+P(X=5)+P(X=6)0.49716)

↑7 = (顯示P(4X7)0.60160)

 

 返回SRP-285II及HP 30S程式集

 

Free Web Hosting