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
Solve the equation for y.<br> 3x + jy= 7
ozzi

Answer:

y=\frac{7-3x}{j}

Step-by-step explanation:

First, subtract 3x. This leaves you with jy=7-3x. Then, divide by j, leaving you with y=\frac{7-3x}{j} .

3 0
3 years ago
Which function described below has the greatest rate of change? I WILL MARK BRAINLIEST​
Ymorist [56]

Answer:

C III

Step-by-step explanation:

The rate of change of a linear function is the slope.

f(x) = mx + b is the equation of a linear function whose graph is a straight line. m is the slope.

I f(x) = 4x - 3;   m = slope = 4

II f(x) = 1/2 x + 5;   m = slope = 1/2

III We can use two points to find the slope.

Let's use points (1, 6) and (2, 12).

m = slope = (y2 - y1)/(x2  x1) = (12 - 6)/(2 - 1) = 6/1 = 6

The three slopes are 4, 1/2, 6.

The greatest rate of change is 6, so the answer is C III.

8 0
4 years ago
2). Jacob is buying ice cream. How many combinations are there?
jeka94
The answer is 16 different combinations. All you do is multiply all the numbers of different results.

Hope this helps!! :)
8 0
3 years ago
HELP ME PLEASE LIKE PLEASE HELP
Sidana [21]

Answer:

go check my question you will love it

Step-by-step explanation:

7 0
3 years ago
A²b-b² if a and=b-7 ​
Evgen [1.6K]
Hopes this help you out :)
6 0
3 years ago
Other questions:
  • Tom is mailing packages. Each small package costs him $3.30 to send. Each large package costs him $4.30 . How much will it cost
    7·1 answer
  • The area of a rectangular patio is 3x2 + 17x + 20 ft2.
    13·1 answer
  • PLEASE HELP WILL GIVE 10 POINTS
    5·2 answers
  • Answer this question​
    10·1 answer
  • If $6500 is invested at a rate of 6% compounded continuously, find the balance in the account after 3 years
    13·1 answer
  • Consider the formula P= H *d over M, where
    15·1 answer
  • Two-thirds of my cats plus nine
    15·1 answer
  • A bus makes several stops along a city street, with no passengers boarding the bus at any stop. At the first stop, 1/3 of the pa
    11·1 answer
  • Outlier for 35 45 26 32 46 38 39 40 26 72
    5·2 answers
  • The sunshine ski shop makes a profit of $40 on each pair of skis sold. Shop expenses for one week are 2,480. What is the minimum
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!