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
One-eighth of a number is -4,200. What is the number?
joja [24]
-33,600. To get this you multiply -4,200 by 8
4 0
3 years ago
sofia has to walk 1 2/25 miles to school. she has already walk 2/3 of a mile. how much farther dose she need to walk ? help me p
love history [14]

Answer:

She need to walk 31/75 miles to school.

Step-by-step explanation:

It is given that,

Sofia has walk 1\dfrac{2}{25} miles to school. She has already walk \dfrac{2}{3} of a mile.

We need to find how much farther does she need to walk.

Total distance =  1\dfrac{2}{25} =\dfrac{27}{25}

Let she has to walk x distance to school.

x=\dfrac{27}{25}-\dfrac{2}{3}\\\\=\dfrac{31}{75}

Hence, she need to walk 31/75 miles to school.

7 0
3 years ago
A student states that the constant of proportionality is 2.5 since 10 - 7.5 = 2.5.
Svetradugi [14.3K]
I cannot see the table. But if I could that would be helpful.

But, if you were to look at the table see if the numbers are increasing or decreasing for the y column. Once you figure this out, find out how much the numbers are increasing/decreasing by and that should be the answer for the constant of proportionality. If it is decreasing, it would be a negative number. If it is increasing, it would be a positive number.
7 0
3 years ago
Your parents need 2 pounds of chipped ham to make ham barbecue sandwiches. The chipped ham is on sale for $3.99 per pound. How m
Katena32 [7]

Answer:

Hi there!

Your answer is;

$7.98

Step-by-step explanation:

The rate is $3.99 per 1lb

We need 2 lbs

SO:

multiply 3.99×2

= 7.98

Hope this helps

8 0
3 years ago
What number is one thousand more than 3,449?
yKpoI14uk [10]

Answer:

4,449

Step-by-step explanation:

3 0
3 years ago
Other questions:
  • What is the perimeter 5 3/4 and 2 1/3
    8·1 answer
  • Asap for 100 points!!!!!!!!!!!!!
    12·2 answers
  • The value of a certain car decreases by 16% each year. What is the 1⁄2-life of the car?
    11·1 answer
  • What is the answer to this problem?
    13·1 answer
  • No links pls no links
    13·1 answer
  • Name a segment that is a diameter. How long is it
    12·1 answer
  • The interval (-1, 1) is best described as
    11·1 answer
  • The measure of anglerst can be represented by the expression (6x 12)°. three lines extend from point s. the space between lines
    7·1 answer
  • Montraie has a coin collection. He keeps 10 of the coins in his box, which is 20% of the collection. How many total coins are in
    15·1 answer
  • i need help with my math :( im horrable with it i cant do divideing fractions nor multiply and i dont know most of my multiples
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!