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
3. Find the length of X (in the picture) plssss I need help.​
tino4ka555 [31]

Answer:

imagine the upper triangle as the same as the lower one, but rotated by 180° around the corner point they share, and resized.

the base of the smaller triangle is resized by a factor of 3/4.5, or reduced: 1/1.5

we just take the length from the hypotenuse of the bigger triangle and resize it to, either by multiplying with 1/1.5 or by dividing by 1.5

personally, I find the latter easier.

x = 7.5/1.5 = 5

7 0
3 years ago
Ted has the following triangle dimensions.
Alla [95]

Answer:  <em>D) </em><u><em>He cannot construct a triangle</em></u>

Step-by-step explanation:

For a triangle to be possible <u>the largest side must be less than the sum of other two sides .</u>

In the given question largest side is 23 while other two sides are 8 and 14

Therefore for triangle to be possible 23 should be less than (8+14) but 23 > (8+14) .

Thus he can not construct a triangle using the given sides.

Hence correct option is <u><em>D)He cannot construct a triangle.</em></u>

4 0
3 years ago
Read 2 more answers
Jaclyn paid $620 to stay at a hotel. She paid $124 per
Setler79 [48]

Answer:

2 nights

Step-by-step explanation:

correct me if i am wrong

8 0
3 years ago
Read 2 more answers
Find the value of 3/4 + 1/5 cannnnnn anyone helppp!???
Oxana [17]

Value of 3/4 + 1/5 is 19/20.

Do you need the steps?

First, calculate the LCM of the denominators (4 and 5) which is 20.

Now, divide 20 by 4 and 5 and multiply the quotient with the numerator.

=>

<u> </u><u>(</u><u>5</u><u>×</u><u>3</u><u>)</u><u> </u><u>+</u><u> </u><u>(</u><u>4</u><u>×</u><u>1</u><u>)</u><u> </u><u> </u>

20

=> <u>15+4</u>

20

=> 19/20

Hope it helps!

Please mark as brainliest :D

8 0
3 years ago
Read 2 more answers
State the converse<br><br> Please helps asap
Paladinen [302]

Answer: True

Step-by-step explanation:

If x2 = 49, then x = 7. True; x = 7 if and only if x^2 = 49.

I hope this solves your problem! It was a little tricky but I tried.

please mark me Brainliest if your able

have a blessed day

7 0
3 years ago
Other questions:
  • Steohanie bought a t-shirt for $3.95 and gym shorts for $1.50. How much change should she get from a $10 bill?
    14·2 answers
  • David helped his father stock the pond with baby catfish and blue gill. They put in a total of 75 fish. If the number of blue gi
    5·2 answers
  • Factor completely. 9x2 + 9x -28
    9·1 answer
  • I need the answers to 2 3 5 6 8 9 I need the answers to them
    5·1 answer
  • Which statements are true according to the order of the operations? A. 16-(4+7)=12+7=19 B. 10+(6÷3)=10+2=12 C. 7×6+4=7×10=70 D.
    6·1 answer
  • Angles that add to 180 degrees are
    15·1 answer
  • Using the graph as a reference, select all statements that are true about a normal distribution of data.
    9·2 answers
  • HELP, PLEASE???? ASAP!!??
    11·1 answer
  • Ranger was given this expression to simplify.
    12·2 answers
  • Choose the best answer. <br> A<br> B<br> C<br> D
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!