New Post

Markov Chains || Step-By-Step || ~xRay Pixy

Image
Learn Markov Chains step-by-step using real-life examples. Video Chapters: Markov Chains 00:00 Introduction 00:19 Topics Covered 01:49 Markov Chains Applications 02:04 Markov Property 03:18 Example 1 03:54 States, State Space, Transition Probabilities 06:17 Transition Matrix 08:17 Example 02 09:17 Example 03 10:26 Example 04 12:25 Example 05 14:16 Example 06 16:49 Example 07 18:11 Example 08 24:56 Conclusion

Random Number Generator |Mid Square Method| ~xRay Pixy

Random Number Generator |Mid Square Method|

 

Algorithm:

Step 1: Stating with n (4 digits long) Digit Number.  
Step 2: Squaring it.
Step 3: For 8 digit: Remove 2 lower and 2 higher order DigitStep 4. For 7 digit: Remove 1 higher-order digit & 2 lower order.Step 5. Repeat step 2.

Mistake : For 7 digit: Remove 1 higher-order digit & 2 lower order.

Another Example


This method will either begin repeatedly generating the same number or Cycle to a previous number in the sequence and loop indefinitely

Comments

Popular Post

PARTICLE SWARM OPTIMIZATION ALGORITHM NUMERICAL EXAMPLE

Cuckoo Search Algorithm for Optimization Problems

Particle Swarm Optimization (PSO)

PSO (Particle Swarm Optimization) Example Step-by-Step

how is the LBP |Local Binary Pattern| values calculated? Step-by-Step with Example

PSO Python Code || Particle Swarm Optimization in Python || ~xRay Pixy

Grey Wolf Optimization Algorithm

Bat algorithm Explanation Step by Step with example

Grey Wolf Optimization Algorithm Numerical Example

Whale Optimization Algorithm Code Implementation || WOA CODE || ~xRay Pixy