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
Four friends attend a school play and pay $6.75 per ticket. Each also buys a Healthy Snack Bag sold by the Theater Club. If the
gogolik [260]

Answer:

$2.5

Step-by-step explanation:

Multiply 4 friends by $6.75 and find the product.

Subtract $27 from $37

Divide 10 by 4

6 0
2 years ago
Read 2 more answers
How do you get angle x using trigonometry in a right angled triangle?
Scorpion4ik [409]

Answer:

Example

Step 1 The two sides we know are Adjacent (6,750) and Hypotenuse (8,100).

Step 2 SOHCAHTOA tells us we must use Cosine.

Step 3 Calculate Adjacent / Hypotenuse = 6,750/8,100 = 0.8333.

Step 4 Find the angle from your calculator using cos-1 of 0.8333:

3 0
3 years ago
What's the answer to -6&lt;21
Sphinxa [80]

Answer:

Step-by-step explanation:

There's no answer here. Because -6<21.

5 0
4 years ago
A concrete mix is designed to withstand 3000 pounds per square inch​ (psi) of pressure. The following data represent the strengt
ss7ja [257]

Answer:

Mean = 3640

Mode = 4100

Median = 3830.

Step-by-step explanation:

We are given the following data in the question:

Strength of casts (in psi):

3970,4100,3100,3200,2950,3830,4100,4050,3460

Formula:

Mean = \displaystyle\frac{\text{Sum of all observation}}{\text{Total number of observations}}

\displaystyle\frac{3970+4100+3100+ 3200+ 2950+ 3830+4100+ 4050+ 3460}{9} = \displaystyle\frac{32760} {9} = 3640

Mode is the entry with most frequency. Thus, for the given sample mode = 4100.

Median

Since n = 9 is odd,

Formula:

Median = \displaystyle\frac{n+1}{2}th~term

Data in ascending order:

2950,3100,3200,3460,3830,3970,4050,4100,4100

Median = 5th term = 3830.

7 0
3 years ago
Evaluate the expression a3 -b/c for a = 3, b = 2 and c = 4. write in simplest form
Scilla [17]
Hello There!

Write out your equation:
(a^3 - b)/c
Substitute the values in:
(3^3 - 2)/4
Simplify:
(27 - 2)/4
25/4
Solve:
It is 6.25.

Therefore, your answer is 6 1/4.

Hope This Helps You!
Good Luck :) 

- Hannah ❤

6 0
4 years ago
Other questions:
  • A driving school wants to find out which of its two instructors is more effective at preparing students to pass the state’s driv
    7·1 answer
  • Christy drove 270 miles in 6 hours at a constant speed how long would it take her to drive 405 miles at the same speed ?
    9·2 answers
  • Solve for x <br> 4( 3x - 5) = -2(-x + 8) - 6x
    15·1 answer
  • Can u help me with the whole page
    9·1 answer
  • Find the value of 5x-10 given that - 2x +7=3.
    13·1 answer
  • What is the greatest common factor of 20 and 36?
    12·2 answers
  • What's <br> 9 + (28 − 2) ÷ 0.2
    12·1 answer
  • What is the solution to the equation <br> 1/4x1/8=7/8+1/2x?
    8·1 answer
  • Find the value of x
    7·1 answer
  • B(1)= 160, b(n) = b(n-1) * 0.5 for n (g/e) 2 determine the first 4 items in a sequence given this recursive formula.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!