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
Can someone please help me winner gets (Brainllest)
nadezda [96]

Answer:

For the first one wouldnt it be like:

ht=10(r)+5

Step-by-step explanation:

4 0
3 years ago
What are the 2 types of unbiased samples?
Veronika [31]
Systematic Random Sample, Stratified Random Sample, and Simple Random Sample.
8 0
4 years ago
Solve for x. 1 3 |3 - 3x| &lt; 9x - 3
rusak2 [61]
13(3-3x)<9x-3
expand the bracket
39-39x<9x-3
collect like terms
-39x-9x<-3-39
-48x=-42
X=42/48
X=7/8
3 0
4 years ago
5 feet long divide by 6 feet long
katovenus [111]

Answer:

5 feet / 6 feet = 0.8333

Step-by-step explanation:

4 0
3 years ago
what is a question you can ask yourself while reading to help you identify main ideas a.what is the effect of the authors choice
sp2606 [1]
The question that you can ask yourself while reading in order to help you identify the main ideas is, what is the most important point the author wants me to understand. The correct answer would be option C. The main idea is considered as the most significant idea in a story or a paragraph. This sums up all of the other ideas that are being included in the story.
3 0
3 years ago
Other questions:
  • a sliced cake can be equally split among 4, 5, or 6 people, with each person receiving the same number of slices. Which of the f
    5·1 answer
  • The perimeter of a rectangle is 42 inches. If the width of the rectangle is 6 inches, what is the length?
    14·2 answers
  • Solve the formula for the indicated variable (b=rw+r,for w  sollution w=____)
    5·1 answer
  • Please answer this correctly
    9·1 answer
  • Which system of inequalities is represented by the graph? <br> PLEASE HELP QUICK
    9·1 answer
  • Graph this line using the slope and y-intercept:
    9·2 answers
  • Which function increases at a faster rate on 0 to infinity, f(x) = x2 or g(x) = 2x?
    12·2 answers
  • Why is lowering the interest rate on reserves considered an expansionary monetary policy? A. It encourages banks to lend money i
    6·1 answer
  • What is the distance between (8,-3) and (4,- 7)?
    5·1 answer
  • What does this mean
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!