R3_2022_09_16_Q (1)

.docx

School

Cleveland State University *

*We aren’t endorsed by this school

Course

152

Subject

History

Date

Feb 20, 2024

Type

docx

Pages

1

Uploaded by DrWater6756

Report
R3 Name: _________________________ Section: ____ STA: ____ ESC 152 Spring 2022 09 16 (Dr. Serrano) Dart Throwing Simulation. Simulate the random throwing of 100 darts onto a 2 x 2 square. Count the number of darts that go into the following areas: 1) In quadrant I, and render these darts as ‘s’. 2) Outside quadrant I, and render those darts as ‘*’. Output the counts to the command window in the format: xx darts landed inside the first quadrant. xx darts landed outside the first quadrant. Your figure should look similar to this: -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 X -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 Y Dart Throwing Simulation Submit: 1) Script. 2) Output to the command window. 3) Figure.
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help