1 / 3

experimentele kans

experimentele kans. javascript. Probleemstelling. Schrijf een programma die worpen met een dobbelsteen simuleert. Je moet zelf het aantal simulaties invoeren. De computer voert deze simulatie uit en berekent de experimentele kans op basis van het getal dat jij wil dat de speler gooit.

Download Presentation

experimentele kans

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. experimentele kans javascript

  2. Probleemstelling • Schrijf een programma die worpen met een dobbelsteen simuleert. Je moet zelf het aantal simulaties invoeren. De computer voert deze simulatie uit en berekent de experimentele kans op basis van het getal dat jij wil dat de speler gooit. • Controleer of dit in de buurt komt van 1 op 6.

  3. Analyse van het probleem • Willekeurige getallen: 1, 2, 3, 4, 5 of 6 • random – aanpassen zodat je de juiste getallen verkrijgt. • Invoer: aantal simulaties • Prompt • Simulatie uitvoeren via for • Invoer: welk getal moet men gooien? • Prompt • Berekenen experimentele kans.

More Related