SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
Simulate a discrete random walk in Z^2 starting at the origin and moving north with probability
p1 = 0.3 , south with p2=0.91 ,east with p3=0.57 and west with p4=0.64
For your random walk.
1- Plot 5 realisations of your walk with 2500 steps on the same plot.
2- Calculate the expected length of your walk after 2500 steps
using python

Contenu connexe

Plus de aksahnan

sin(4) in tili 10 sie 30.pdf
sin(4) in tili 10 sie 30.pdfsin(4) in tili 10 sie 30.pdf
sin(4) in tili 10 sie 30.pdfaksahnan
 
Simulate on a vertical time axis (with events labeled with the senders.pdf
Simulate on a vertical time axis (with events labeled with the senders.pdfSimulate on a vertical time axis (with events labeled with the senders.pdf
Simulate on a vertical time axis (with events labeled with the senders.pdfaksahnan
 
Singay Copportion hes recorded the following costs for tho vi 101- Toa.pdf
Singay Copportion hes recorded the following costs for tho vi 101- Toa.pdfSingay Copportion hes recorded the following costs for tho vi 101- Toa.pdf
Singay Copportion hes recorded the following costs for tho vi 101- Toa.pdfaksahnan
 
Since the cell making cortisol has a high concentration of cortisol co.pdf
Since the cell making cortisol has a high concentration of cortisol co.pdfSince the cell making cortisol has a high concentration of cortisol co.pdf
Since the cell making cortisol has a high concentration of cortisol co.pdfaksahnan
 
sinckA A nak-ereme inreiter atoud cheose kince it offere.pdf
sinckA A nak-ereme inreiter atoud cheose  kince it offere.pdfsinckA A nak-ereme inreiter atoud cheose  kince it offere.pdf
sinckA A nak-ereme inreiter atoud cheose kince it offere.pdfaksahnan
 
Since dinosaur cannot swim- explain how a fossil can be found on all c.pdf
Since dinosaur cannot swim- explain how a fossil can be found on all c.pdfSince dinosaur cannot swim- explain how a fossil can be found on all c.pdf
Since dinosaur cannot swim- explain how a fossil can be found on all c.pdfaksahnan
 
Simulate the SOP expression- f(W-X-Y-Z)-m(1-2-4-5-6-9-12-14).pdf
Simulate the SOP expression- f(W-X-Y-Z)-m(1-2-4-5-6-9-12-14).pdfSimulate the SOP expression- f(W-X-Y-Z)-m(1-2-4-5-6-9-12-14).pdf
Simulate the SOP expression- f(W-X-Y-Z)-m(1-2-4-5-6-9-12-14).pdfaksahnan
 
SIMs media is specially designed to detect three distinct metabolic pr.pdf
SIMs media is specially designed to detect three distinct metabolic pr.pdfSIMs media is specially designed to detect three distinct metabolic pr.pdf
SIMs media is specially designed to detect three distinct metabolic pr.pdfaksahnan
 
Simulate differential equation dt2d2y-12dtdy5y Simulate the SIR model.pdf
Simulate differential equation dt2d2y-12dtdy5y Simulate the SIR model.pdfSimulate differential equation dt2d2y-12dtdy5y Simulate the SIR model.pdf
Simulate differential equation dt2d2y-12dtdy5y Simulate the SIR model.pdfaksahnan
 
Simple Stains are an indirect staining process most widely used differ.pdf
Simple Stains are an indirect staining process most widely used differ.pdfSimple Stains are an indirect staining process most widely used differ.pdf
Simple Stains are an indirect staining process most widely used differ.pdfaksahnan
 
Situation of facts- Management of conflict situations in the labor are.pdf
Situation of facts- Management of conflict situations in the labor are.pdfSituation of facts- Management of conflict situations in the labor are.pdf
Situation of facts- Management of conflict situations in the labor are.pdfaksahnan
 
Sigma factors recognize the Pribnow Box and the consensus sequence in.pdf
Sigma factors recognize the Pribnow Box and the consensus sequence in.pdfSigma factors recognize the Pribnow Box and the consensus sequence in.pdf
Sigma factors recognize the Pribnow Box and the consensus sequence in.pdfaksahnan
 
Some G-protein receptor systems are associated with a protein known as.pdf
Some G-protein receptor systems are associated with a protein known as.pdfSome G-protein receptor systems are associated with a protein known as.pdf
Some G-protein receptor systems are associated with a protein known as.pdfaksahnan
 
Single acyl chain lipids that can act as detergents are most likely to (1).pdf
Single acyl chain lipids that can act as detergents are most likely to (1).pdfSingle acyl chain lipids that can act as detergents are most likely to (1).pdf
Single acyl chain lipids that can act as detergents are most likely to (1).pdfaksahnan
 
Some analysts break down IDS models even further into four categories.pdf
Some analysts break down IDS models even further into four categories.pdfSome analysts break down IDS models even further into four categories.pdf
Some analysts break down IDS models even further into four categories.pdfaksahnan
 
Solve- 34x-12.pdf
Solve- 34x-12.pdfSolve- 34x-12.pdf
Solve- 34x-12.pdfaksahnan
 
Solve with PL-SQL - 2- List number of customers with their total purch.pdf
Solve with PL-SQL - 2- List number of customers with their total purch.pdfSolve with PL-SQL - 2- List number of customers with their total purch.pdf
Solve with PL-SQL - 2- List number of customers with their total purch.pdfaksahnan
 
solve with solutions solve with solutions Find all minimum SoP expre.pdf
solve with solutions  solve with solutions  Find all minimum SoP expre.pdfsolve with solutions  solve with solutions  Find all minimum SoP expre.pdf
solve with solutions solve with solutions Find all minimum SoP expre.pdfaksahnan
 
Solve using python- Append function not allowed public elass Node f.pdf
Solve using python- Append function not allowed   public elass Node f.pdfSolve using python- Append function not allowed   public elass Node f.pdf
Solve using python- Append function not allowed public elass Node f.pdfaksahnan
 
Solve using Java programming language- ----------------------------.pdf
Solve using Java programming language-   ----------------------------.pdfSolve using Java programming language-   ----------------------------.pdf
Solve using Java programming language- ----------------------------.pdfaksahnan
 

Plus de aksahnan (20)

sin(4) in tili 10 sie 30.pdf
sin(4) in tili 10 sie 30.pdfsin(4) in tili 10 sie 30.pdf
sin(4) in tili 10 sie 30.pdf
 
Simulate on a vertical time axis (with events labeled with the senders.pdf
Simulate on a vertical time axis (with events labeled with the senders.pdfSimulate on a vertical time axis (with events labeled with the senders.pdf
Simulate on a vertical time axis (with events labeled with the senders.pdf
 
Singay Copportion hes recorded the following costs for tho vi 101- Toa.pdf
Singay Copportion hes recorded the following costs for tho vi 101- Toa.pdfSingay Copportion hes recorded the following costs for tho vi 101- Toa.pdf
Singay Copportion hes recorded the following costs for tho vi 101- Toa.pdf
 
Since the cell making cortisol has a high concentration of cortisol co.pdf
Since the cell making cortisol has a high concentration of cortisol co.pdfSince the cell making cortisol has a high concentration of cortisol co.pdf
Since the cell making cortisol has a high concentration of cortisol co.pdf
 
sinckA A nak-ereme inreiter atoud cheose kince it offere.pdf
sinckA A nak-ereme inreiter atoud cheose  kince it offere.pdfsinckA A nak-ereme inreiter atoud cheose  kince it offere.pdf
sinckA A nak-ereme inreiter atoud cheose kince it offere.pdf
 
Since dinosaur cannot swim- explain how a fossil can be found on all c.pdf
Since dinosaur cannot swim- explain how a fossil can be found on all c.pdfSince dinosaur cannot swim- explain how a fossil can be found on all c.pdf
Since dinosaur cannot swim- explain how a fossil can be found on all c.pdf
 
Simulate the SOP expression- f(W-X-Y-Z)-m(1-2-4-5-6-9-12-14).pdf
Simulate the SOP expression- f(W-X-Y-Z)-m(1-2-4-5-6-9-12-14).pdfSimulate the SOP expression- f(W-X-Y-Z)-m(1-2-4-5-6-9-12-14).pdf
Simulate the SOP expression- f(W-X-Y-Z)-m(1-2-4-5-6-9-12-14).pdf
 
SIMs media is specially designed to detect three distinct metabolic pr.pdf
SIMs media is specially designed to detect three distinct metabolic pr.pdfSIMs media is specially designed to detect three distinct metabolic pr.pdf
SIMs media is specially designed to detect three distinct metabolic pr.pdf
 
Simulate differential equation dt2d2y-12dtdy5y Simulate the SIR model.pdf
Simulate differential equation dt2d2y-12dtdy5y Simulate the SIR model.pdfSimulate differential equation dt2d2y-12dtdy5y Simulate the SIR model.pdf
Simulate differential equation dt2d2y-12dtdy5y Simulate the SIR model.pdf
 
Simple Stains are an indirect staining process most widely used differ.pdf
Simple Stains are an indirect staining process most widely used differ.pdfSimple Stains are an indirect staining process most widely used differ.pdf
Simple Stains are an indirect staining process most widely used differ.pdf
 
Situation of facts- Management of conflict situations in the labor are.pdf
Situation of facts- Management of conflict situations in the labor are.pdfSituation of facts- Management of conflict situations in the labor are.pdf
Situation of facts- Management of conflict situations in the labor are.pdf
 
Sigma factors recognize the Pribnow Box and the consensus sequence in.pdf
Sigma factors recognize the Pribnow Box and the consensus sequence in.pdfSigma factors recognize the Pribnow Box and the consensus sequence in.pdf
Sigma factors recognize the Pribnow Box and the consensus sequence in.pdf
 
Some G-protein receptor systems are associated with a protein known as.pdf
Some G-protein receptor systems are associated with a protein known as.pdfSome G-protein receptor systems are associated with a protein known as.pdf
Some G-protein receptor systems are associated with a protein known as.pdf
 
Single acyl chain lipids that can act as detergents are most likely to (1).pdf
Single acyl chain lipids that can act as detergents are most likely to (1).pdfSingle acyl chain lipids that can act as detergents are most likely to (1).pdf
Single acyl chain lipids that can act as detergents are most likely to (1).pdf
 
Some analysts break down IDS models even further into four categories.pdf
Some analysts break down IDS models even further into four categories.pdfSome analysts break down IDS models even further into four categories.pdf
Some analysts break down IDS models even further into four categories.pdf
 
Solve- 34x-12.pdf
Solve- 34x-12.pdfSolve- 34x-12.pdf
Solve- 34x-12.pdf
 
Solve with PL-SQL - 2- List number of customers with their total purch.pdf
Solve with PL-SQL - 2- List number of customers with their total purch.pdfSolve with PL-SQL - 2- List number of customers with their total purch.pdf
Solve with PL-SQL - 2- List number of customers with their total purch.pdf
 
solve with solutions solve with solutions Find all minimum SoP expre.pdf
solve with solutions  solve with solutions  Find all minimum SoP expre.pdfsolve with solutions  solve with solutions  Find all minimum SoP expre.pdf
solve with solutions solve with solutions Find all minimum SoP expre.pdf
 
Solve using python- Append function not allowed public elass Node f.pdf
Solve using python- Append function not allowed   public elass Node f.pdfSolve using python- Append function not allowed   public elass Node f.pdf
Solve using python- Append function not allowed public elass Node f.pdf
 
Solve using Java programming language- ----------------------------.pdf
Solve using Java programming language-   ----------------------------.pdfSolve using Java programming language-   ----------------------------.pdf
Solve using Java programming language- ----------------------------.pdf
 

Dernier

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 

Dernier (20)

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 

Simulate a discrete random walk in Z^2 starting at the origin and movi.pdf

  • 1. Simulate a discrete random walk in Z^2 starting at the origin and moving north with probability p1 = 0.3 , south with p2=0.91 ,east with p3=0.57 and west with p4=0.64 For your random walk. 1- Plot 5 realisations of your walk with 2500 steps on the same plot. 2- Calculate the expected length of your walk after 2500 steps using python