1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
anastassius [24]
3 years ago
13

Generate a process that would generate random numbers between –1 and 1 for x and y positions of 10000 points and count how many

points fall with the circle, then determine an estimated version of π. (see below to generate floating point random numbers. this generation is not needed to describe the process, but to implement the process)
Mathematics
1 answer:
goblinko [34]3 years ago
5 0
<span>#!/usr/bin/env python

import random
import math
count_inside = 0
     for count in range(0, 10000): d = math.hypot(random.random(), random.random())
    if d < 1: count_inside += 1
count += 1
print 4.0 * count_inside / count</span>
You might be interested in
Pls help with this question.....i will give the brainliest 500 points
masha68 [24]

Answer:

132

Step-by-step explanation:

6 0
2 years ago
Read 2 more answers
a large pizza is advertised to have 14 inch diameter. If a costumer orders two large pizzas, how many squares inches of pizza wi
kari74 [83]
Radius ^2 * pi = 1 pizza * 2 = area of 2 pizzas = 307.876 in ^2
5 0
3 years ago
Read 2 more answers
What is three and 2 fourths and minus two and three fourths
netineya [11]

Answer:

The answer is 0.75

Hope this helps!

3 0
2 years ago
In the number 78.9 what digit is in the tenths places​
Nastasia [14]

Answer:

9

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
Whitch expression is equivalent to 7 to the 3rd power? 7*7*7. Or 21. Or. 3 to the power of. Or. 10
laila [671]

Answer:

7x7x7

Step-by-step explanation:

8 0
2 years ago
Other questions:
  • Why is 100 a perfect square
    11·1 answer
  • What is the value of 5+5⋅34
    7·1 answer
  • I need to find each angle. Please help!!
    13·1 answer
  • Find the values of the six trigonometric functions of an angle in standard position if the point with coordinates (12,5) lies on
    9·1 answer
  • Two six-sided fair dice are rolled simultaneously. The probability that the sum of the two numbers rolled is greater than 3, giv
    12·1 answer
  • A recent national survey found that high school students watched an average (mean) of 7.6 movies per month with a population sta
    6·1 answer
  • Help ill give you brainliest
    8·1 answer
  • FIND THE VOLUME ILL GIVE BRAINLIEST
    11·1 answer
  • Determine the domain of the following graph:
    15·1 answer
  • Directions: Write the expression for each sentence below.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!