![]() ![]() You should modify the getNumTargetsHitFast so that the plot of green dots is as close as possible to the plot of pink dots. The program should generate a plot of pink dots and green dots. Set the ArcherNumber and HitChancePercent sliders, and click the "Generate Slow" and "Generate Fast" buttons. The function must have NO loops or iterations of any kind meaning it have the same runtime no matter how high the input parameters are, even if there are billions or trillions of archers and targets.ģ. ![]() Modify the getNumTargetsHitFast function. I need someone who is very skilled with advanced statistics and understands a little programming to create an O(1) complexity (non-looping) function that simulates random results from an existing, looping function using a probability distribution formulaĮDIT: Read this first, I'm overexplaining and people aren't understanding the problem.Ģ. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |