Post Reply 
little math/programming problems April 2023
05-18-2023, 07:54 AM (This post was last modified: 05-18-2023 07:58 AM by Ajaja.)
Post: #14
RE: little math/programming problems April 2023
I think it just has a large deviation.
I've changed the program a bit to calculate SDEV:
Code:
00 { 57-Byte Prgm }
01▸LBL "DICE"
02 CLRG
03 STO 09
04 2
05 STO 04
06 3
07 STO 05
08▸LBL 04
09 CLX
10 STO 06
11 5
12 STO 07
13▸LBL 03
14 CLX
15 STO 08
16▸LBL 01
17 RAN
18 6
19 ×
20 RCL IND ST X
21 STO+ 08
22 DSE 07
23 GTO 01
24 1
25 STO+ 06
26 RCL 08
27 STO 07
28 X>0?
29 GTO 03
30 RCL 06
31 PRX
32 Σ+
33 DSE 09
34 GTO 04
35 SDEV
36 END
It's ~5
So, standard error of the mean here (SDEV/SQRT(N)):
10000: ~0.05
100000: ~0.016
1000000: ~0.005
10000000: ~0.0016
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: little math/programming problems April 2023 - Ajaja - 05-18-2023 07:54 AM



User(s) browsing this thread: 5 Guest(s)