Find Jobs
Hire Freelancers

Do the question below in any programming language, preferably Python/C++

₹600-1500 INR

In Progress
Posted about 5 years ago

₹600-1500 INR

Paid on delivery
A circular road has N positions labeled 0 through N−1 where adjacent positions are connected to each other and position N−1 is connected to 0. M cars start at position 0 through M−1 (inclusive). A car can make a valid move by moving forward one position (or goes from N-1 to 0) if the position it is moving into is empty. At each turn, only consider cars that have a valid move available and make one of the valid moves that you choose randomly with equal probability. After T rounds, we compute the average (A) and standard deviation (S) of the position of the cars. What is the expected value of A when N=10, M=5, and T=20? What is the expected value of S when N=10, M=5, and T=20?
Project ID: 18652518

About the project

1 proposal
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I am a competitive programming participant I have plenty of experience working with programs that need to run fast and have a defined input, (in this case N, M and T, each time you run the program you define its values). I can do it in Python or C++, whichever language you prefer, I deliver the program with comments so that you can tell what's going on in every part of the code This is my GitHub [login to view URL] A proof that I am used to solving problems like yours [login to view URL] [login to view URL] [login to view URL] [login to view URL]
₹2,000 INR in 1 day
0.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
BHOPAL, United States
0.0
0
Member since Sep 24, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.