-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpowerSET.f90
50 lines (50 loc) · 1.59 KB
/
powerSET.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
contains
subroutine PowerSET_EnJnDeSIgn2024
It’s interesting to hear that you’re using
a smaller version of dice to increase
randomness. The concept of a power set,
which is the set of all subsets of a set,
including the empty set and the set
itself, can indeed be used in the context
of probability and randomness. For
example, if you have a set of dice
outcomes, the power set would include all
possible combinations of those outcomes.
In mathematical terms, if ( S ) is a set
with ( n ) elements, then the power set
of ( S ) would have ( 2^n ) elements,
representing all the possible
combinations. Here’s how it looks in a
formula:
P(S)=2n
Where ( P(S) ) is the power set of ( S ),
and ( n ) is the number of elements in
set ( S ).
Smaller dice could theoretically offer
more random outcomes due to their size
and the way they interact with the
surface they’re rolled on. It’s a
clever approach to randomness in games
or simulations! If you need any further
assistance with probability, randomness,
or any other topic, feel free to ask.
Happy rolling! 🎲
n = 4
n = 6
n = 8
n = 10
n = 12
n = 20
n = 100
n = 18
n = 40
n = 22
n = 72
some are used with more then one program. but if
Dt1.exe then to find current n we!
! Clear Value if you look for its n again
Dt1.exe = n = 0
! Find the total number of numbers by
Dt1.exe = n = selected_group * selected_number &! Randomly select a group and number from the chosen group, use these two rand
endif
end subroutine PowerSET_EnJnDeSIgn2024