Seksjon 1. Kapittel 4
single
Challenge: Solving the Task Using Geometric Probability
Sveip for å vise menyen
Consider a square with a side length of 2 units centered at the origin (0, 0) in a Cartesian coordinate system.
What is the probability that a randomly chosen point within the square doesn't fall into a circle with a radius of 1 unit centered at the origin?
As we have a two-dimensional space of elementary events, we can calculate the ratio of the circle's area to the square's area. The ratio represents the probability of a point falling within the circle.
Oppgave
Sveip for å begynne å kode
Calculate probability as the ratio between the blue area and the whole area of the square.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår