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
At a copy center, 100 copies cost $4.00. At this rate how much will 450 copies cost?
vfiekz [6]
18 dollars because you do 4 x 450 and you get 1800 and that’s 18 dollars
3 0
3 years ago
Read 2 more answers
I NEED HELP PLEASE IF I GET THIS WRONG ILL FAIL MY EXAM
Finger [1]

3 units
you have to use the distance formula to find the answer. it comes out as u have to square nine and nine squared is 3
7 0
3 years ago
121degree 22' 36'' is like same as what?
Darina [25.2K]
22' is 22 minutes
there are 60 minutes in 1 degree, how many in 22? well, the short answer is you divide it by 60, or 22/60 0.37 or thereabouts, so that makes it 

121.037 degrees and 36''

36'' is 36 seconds, there are 60 seconds in 1 minute, so in short, just divide it by 60 as well, so 36/60 or 0.6 minutes

so, let us revise above some

121 degrees 22' and 36''

22' and 36'' is 22.6'  because 36'' is 0.6'

how much is 22.6' in degrees?  well 22.6/60
or about .38

so. 121° 22' 36'' will  be 121.38° approximately
5 0
3 years ago
What is the value of the expression 2(3/4 - 1) + 0.35
skelet666 [1.2K]

Answer:

-.15

Step-by-step explanation:

you first do whats in the parantheses (3/4 - 1) which equals -.25, then multiply by 2 which gives you -.5, now add .35 and your total is -.15

5 0
3 years ago
Read 2 more answers
If one zero Of polynomial f(x)=(k^2+4)x^2+13x+4k is Reciprocal Of the other find the value of K?
Ierofanga [76]

Answer:

use this app photomath

Step-by-step explanation:

You can take a photo and its gives you the answer and the explanation

3 0
4 years ago
Other questions:
  • Janice thinks that 20 hundredths is equivalent to 2 thousandths because 20 hundreds is equal to 2 thousands. Use words and a pla
    13·1 answer
  • Which one is the answer???
    15·1 answer
  • Find the principle fourth root of -81, checking your answer by raising to the 4th power. If there are "no real roots," then type
    5·1 answer
  • What is 956.074054898 rounded to the nearest whole number​
    8·1 answer
  • HELP! I WILL GIVE BRAINLIEST!
    13·2 answers
  • Can someone help me find the area
    9·1 answer
  • A movie theater has a seating capacity of 329. The theater charges $5.00 for children, $7.00 for students, and $12.00 of adults.
    13·1 answer
  • What are the steps for this {3x\ -5}{3}=11x\ -5?
    15·2 answers
  • Problem:<br> −(−8y−6.6z−10)<br> Please help me if possible!
    11·1 answer
  • PLEASE ANSWER ASAP DUE BY THE END OF NIGHT!!! LOOK AT PICTURE FOR QUESTION
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!