Question: Write a GUI implemented in MATLAB using App Designer that calls the BuffonStandardPi function. The GUI should: 1 . Allow the user to select the

Write a GUI implemented in MATLAB using App Designer that calls the BuffonStandardPi function. The GUI should:
1. Allow the user to select the simulation by clicking a button
2. Allow the user to adjust the number of needles, and parallel planks of wood, from default values. The program should allow
at least 1,000,000 needles and 10 parallel planks of wood. Note: not all needles need to be displayed if more than 1000 are
dropped.
3. Before running the simulation allow the user to adjust the sizes of the needles and parallel planks of wood from default
values.
4. Display the parallel planks of wood.
5. Display the dropped needles.
6. Highlight in a different colour all needles that intersect the cracks between planks.
7. Display the value estimated by the Monte Carlo simulation.
8. Allow the user to customize elements of the displayed value (e.g. font size, colour)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!