Project

Barbershop Simulation

6 completions
~ 14 hours
4.3

Get acquainted in practice with the basic properties and characteristics of discrete and continuous random variables and learn how to evaluate them for simple and complex probabilistic models using Monte Carlo simulations.

Provided by

JetBrains Academy JetBrains Academy

About

You run a barbershop with several barbers. You're curious about what will happen if one of them quits. Will the workload for other barbers increase? Will the average service time increase? These questions are hard to answer even if visitors come at regular intervals. For a more realistic case, it is even more difficult when clients come at random. In this project, you will simulate the work of a barbershop under various conditions and learn how to analyze the results.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Simulate the work of a barbershop when you know when the clients come and how long it takes you to serve them.
Now that we have learned how to simulate the work of a barbershop, let's calculate some metrics!
Let's change the perspective. Clients come at random, and the service time is also random.
Analyze what happens if one of the masters falls ill.