Recent content by Dr-NiKoN
-
D
C programming in UNIX environment
Learn ANSI C. Problem solved.- Dr-NiKoN
- Post #12
- Forum: Programming and Computer Science
-
D
Solving Race Condition in D-type Flip-Flops for 4 Output Loop
Yup, I was trying to use a latch as a flip-flop. All worked out now :)- Dr-NiKoN
- Post #3
- Forum: Electrical Engineering
-
D
Solving Race Condition in D-type Flip-Flops for 4 Output Loop
I'm trying to create a circuit that has 4 outputs, and loops over all of them so that only 1 output is high at each pulse. Like this: 1 - 1 2 - 0 3 - 0 4 - 0 1 - 0 2 - 1 3 - 0 4 - 0 1 - 0 2 - 0 3 - 1 4 - 0 1 - 0 2 - 0 3 - 0 4 - 1 1 - 1 2 - 0 3 - 0 4 - 0 But...- Dr-NiKoN
- Thread
- Replies: 2
- Forum: Electrical Engineering
-
D
Undergrad Probability of Meeting Italian Who Speaks English in Italy
1 out of 5 italians speak english. 1 out of 5 people in italy are tourists. 1 out 2 tourists speaks english. You meet a english-speaking person in italy, what is the probability that this person is italian. The way I see the "population": P(I) = \frac{2}{10} are italians who speaks english...- Dr-NiKoN
- Thread
- Probability Stats
- Replies: 1
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Undergrad Calculating Number of Distinct x Tuples from a Set A
I have maybe explained this poorly, but let me try one last time. Say you have a set: A = {1 .. 10} The cryptographic function has A as it's domain and codomain. Now, to create these pairings we have to take elements 'out' of the set. So, if our first pair is: (1, 2), then we are left...- Dr-NiKoN
- Post #28
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Undergrad Calculating Number of Distinct x Tuples from a Set A
Thanks, I _finally_ get it :)- Dr-NiKoN
- Post #23
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Undergrad Calculating Number of Distinct x Tuples from a Set A
\binom{\binom{n}{r}}{\frac{r}{2}} ? :) (I know the above isn't correct btw) Is there any way to express this using nPr or nCr?- Dr-NiKoN
- Post #20
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Undergrad Calculating Number of Distinct x Tuples from a Set A
Ah, yes :) \frac{n!}{(n-r)!} Is to big. But if you take away a factor of r!, you take away all permutations of elements. So, I need to take away (\frac{r}{2})! to take away all permutations of "pairs". So the answer is: \frac{n!}{ (\frac{r}{2})! (n-r)!} ?- Dr-NiKoN
- Post #19
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Undergrad Calculating Number of Distinct x Tuples from a Set A
Hm, this isn't easy. A set of numbers: A = {1, 2, 3, 4, 5, 6, 7, 8, 9} Permutations of this set will look like: 1 2 3 4 5 6 7 8 9 2 1 3 4 5 6 7 8 9 2 1 4 3 5 6 7 8 9 8 9 1 2 3 4 5 6 7 Let's order these permutations like this: (x_1, x_2), (x_3, x_4), (x_5, x_6), x_7, x_8, x_9 We...- Dr-NiKoN
- Post #14
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Undergrad Calculating Number of Distinct x Tuples from a Set A
Ah, this may have caused some confusion. I haven't given you the full information. I'll give a third example, that should have all the information: Consider you have 9 numbers(1, 2, 3, 4, 5, 6, 7, 8, 9). You have some sort of crypto-system that can hold 4 pairs of numbers. The...- Dr-NiKoN
- Post #11
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Undergrad Calculating Number of Distinct x Tuples from a Set A
Let's make it simpler. |A| = 5 The total number of combinations of 2 groups of size 2 is: \frac{5!}{(5-2)!} This should basically be any permutation of 4 elements(2 ordered pairs) where order does matter. But, here the order of the ordered pairs themselves doesn't matter. So, this number...- Dr-NiKoN
- Post #6
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Undergrad Calculating Number of Distinct x Tuples from a Set A
Ok, let me give another example without "notation". I have 20 numbers. I want combinations of 14 numbers that are ordered as tuples. Some combinations 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 1 4 3 6 5 8 7 10 9 12 11 14 13 20 1 19 2 18 3 17 4 16 5 15 6 14 7 The combination: 3 4 1 2 5 6 7 8 9...- Dr-NiKoN
- Post #3
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Undergrad Calculating Number of Distinct x Tuples from a Set A
Ok, given a set: A How many distinct x tuples can be created using a subset of A? Example: |A| = 20 I want to know how many combinations of 7 tuples can be made from that set. Example: If A = {1 .. 20} three such combinations could be: {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}...- Dr-NiKoN
- Thread
- Combinations
- Replies: 31
- Forum: Set Theory, Logic, Probability, Statistics
-
D
Database Solutions for Logging Sample Information (Windows)
PostgreSQL or MySQL- Dr-NiKoN
- Post #2
- Forum: Computing and Technology
-
D
Download a *Windows 95 emulator* for XP ?
Try DOSBOX: http://dosbox.sourceforge.net/news.php?show_news=1- Dr-NiKoN
- Post #5
- Forum: Computing and Technology