If I would drop two eggs off of a building (one being at a higher position than the other) which one would drop faster and why?

Answers

Answer 1

Answer: Simple Answer.

The simplest way to obtain the minimal floor is to throw an egg from the first floor, then from the second and so on. This way when the egg is finally broken then we will know that this is the floor. This is a reliable algorithm, but in the worst-case scenario it would take 100 throws.

The important thing to notice is that it is the only reliable algorithm when you have only one egg. So you need to start using this algorithm when you break the first egg.

Step-by-step explanation: Intuitive answer.

This way, our first egg should be used to split the 100 floors range into smaller ranges as efficiently as possible. Thus, an intuitive and popular answer is to throw the first egg from 1/n-th of the floors to check. For instance 1/3. Then the algorithm will look like the following:

Throw the egg from 33rd floor. If it breaks, then we check the first 32 floors using the second egg.

Otherwise, we throw the egg from 33 + (67 * 1/3) = 55th floor. If it breaks, then we check floors 34 to 55 using the second egg.

Worst case scenario for 1/3 is max(33, 24, …) = 33. This way we might find a perfect n that optimizes the number of throws using some dynamic programming. This is a valuable solution that presents programming thinking, but it is not an optimal solution.

The optimal solution is when all arguments of this max function are equal. How do we achieve it? Looking from the end, the last D(n) is going to be 1, because we will finally get to the point where there is only the single floor for the first egg. Therefore D(n-1) should be equal to 2 because it has one less throw of the first egg.

We see then that the first egg should be thrown finally from the 99th floor, previously from 99–2=97, previously from 97–3=94, 90, 85, 79, 72, 64, 55, 45, 34, 22 and the 9th floor. This is an optimal solution! This way, we need 14 throws in the worst case scenario (the smallest difference is 13, but we had to make one extra throw on the 9th floor).

Simple equation to find the answer is following:

Where f is number of floors. This can be simplified to: min n*n+ divided by 2 greater than f

That is equal to: n=ceil 8f + 1 - 1, divided by 2


Related Questions

Stephen bought some peaches and crumbles to make peach cobbler. Peaches costs $1.80 per pound, and crumbles cost $2.50 per pound. Stephen spent a total of $19.40.
Part 1. Create an equation that can be used to determine the number of pounds of peaches and crumbles that Stephen could have purchased. Remember to define any variables used.
Part 2. Use the equation created in Part 1 to determine how many pounds of crumbles Stephen purchased if he purchased 8 pounds of peaches. You must show all steps to receive credit.
√x

Answers

The equation which can be used to determine the number of pounds of peaches and crumbles that Stephen could have purchased is 1.8x+2.5y=19.4 and if Stephen purchased 8 pounds of peaches then he also purchased 2 pounds of crumbles.

Given that the cost of peaches is $1.80 per pound and cost of crumbles is $2.50 per pound and the total expenditure done by Stephen is $19.40.

We are required to find the equation that can be used to determine the number of pounds of peaches and crumbles that Stephen could have purchased and find the number of crumbles that Stephen purchased if he had 8 pounds of peaches.

Suppose the number of pounds of peaches be x and the number of crumbles be y.

The equation will be as under:

x*1.80+y*2.50=19.40

1.80x+2.50y=19.40---------1

Put the value of x=8 to find the number of crumbles.

1.8 *8+2.50y=19.40

14.4+2.50y=19.40

2.50y=19.4-14.4

2.50y=5

y=5/2.5

y=50/25

y=2

Hence the equation which can be used to determine the number of pounds of peaches and crumbles that Stephen could have purchased is 1.8x+2.5y=19.4 and if Stephen purchased 8 pounds of peaches then he also purchased 2 pounds of crumbles.

Learn more about equation at https://brainly.com/question/2972832

#SPJ9

the angle of elevation to the top of a building in new york is 12° from the ground and 1 mile from the base of the building.

Answers

The height of the building is 1122.528 feet.

Angle of elevation:

Angle of elevation means an angle between the horizontal plane and oblique line from the observer's eye to some object above his eye.

Given,

The angle of elevation to the top of a building in New York is 12° from the ground and 1 mile from the base of the building.

Here we need to find the height of the building.

We know that,

The expression for the height of the building is,

h = tanΘ × x

Where the value of

tan Θ = 12°

x = 1 mile

So, When we apply the value on the formula,

The we get,

h = tan 12° x 1

So, apply the value of tan 12 degree,

h = 0.2126 x 1

h = 0.2126 mile

Simplify the above equation using the information

1 mile = 5280 ft.

That is equal to

h = 1122.528 feet.

To know more about Angle of Elevation here

https://brainly.com/question/21137209

#SPJ4

There 14,260 people in attendance at a major league baseball game, which is 87% of the total capacity (total seats at the stadium). What is the total number of seats at the stadium?

Answers

86% of 16581.3955 is 14,260.0001

the ceo of a large company decides to survey the workers for their opinions about a new vacation policy. a sample of the population that gives each worker an equal chance of participating in the survey would be a(n): please choose the correct answer from the following choices, and then select the submit answer button. answer choices sample that includes half the workers. random sample. unrepresentative sample. sample that includes all the workers.

Answers

correct answer is random sample

A simple random sample, also known as an SRS, is a subset of people (also known as a sample) picked at random from a larger group of people (also known as a population) with an equal probability. It is a method of choosing a sample at random. Each subset of k people in SRS has the same chance of getting selected for the sample as any other subset of k people. [1] An objective sampling strategy is a straightforward random sample. Simple random sampling is a fundamental kind of sampling that may be used in combination with other, more sophisticated sampling techniques.

To know more about  simple random sample refer to https://brainly.com/question/14470673

#SPJ4

Which of the following is the equation of a line in slope-intercept form for a
line with slope = 2/3 and y-intercept at (0,-2)

Answers

The equation of the line with slope 2/3 and y-intercept at ( 0, - 2) is y = ( 2/3 )x - 2.

The slope-intercept form is the way to write a line's equation so that the y-intercept (where the line crosses the vertical y-axis) and slope (steepness) are instantly visible.

We have the slope 2/3 of a line and the y-intercept at ( 0, - 2 ).

Now, we know that

The slope-intercept form of the equation of a line with slope m and y-intercept at the point (0, c) is given by:

y = mx + c

The slope of the line is :

m = 2/3

And, the y-intercept is (0, c) = ( 0, -2)

Hence, the equation of the line in the slope-intercept form will be:

y = mx + c

y = ( 2/3 )x + ( - 2)

y = ( 2/3 )x - 2

Therefore, the slope-intercept form of the equation of the line is y = ( 2/3 )x - 2.

Learn more about slope intercept form here:

https://brainly.com/question/25722412

#SPJ9

what is simple intrest

Answers

Simple Interest can be defined as a method of calculating interest for a some principal amount over a period of time.

When we borrow money or take a loan , and when we pay back the loan some money is charged based in the amount borrowed and time period the loan is taken ,

that money charged is called as Simple Interest .

Simple Interest can be calculated using the formula

SI=(PxRxT)/100

where, P=principal   , R=rate of interest  , t=time taken

The main difference between the Simple Interest and Compound Interest is  the in Simple interest the principal is fixed whereas in Compound Interest the principal keeps on varying with time .

For Example : John borrowed $200 from Smith at 10% rate of interest for 5 years .

So the Simple Interest that John has to pay Smith will be

SI=(PxRxT)/100

SI=(200x10x5)/100

SI=10000/100

SI=$100

So apart from principal amount $200 John has to pay extra $100 as interest , Total John will be paying $300 to smith in return.

Therefore , Simple Interest is defined .

Learn more about Simple Interest here

https://brainly.com/question/25663053

#SPJ1

If wood flooring costs 39.97 per square yard, how much will it cost to cover a room 15 feet by 25 feet?

Answers

Answer:

$14988.75

Step-by-step explanation:

15 x 25 = 375

375 x $39.97 = $14988.75

Answer:

$14988.75

Step-by-step explanation:

25x15 = 375

375 x 39.97 = $14988.75

x^2=a^2, what does x equal?

Answers

x=±a

1. take the square root of both sides

there are 20 colored markers in a package – 8 black, 4 blue, 4 red, 4 green. if two markers are selected at random, one after another, without replacement, find the probability that both will be blue.

Answers

If two markers are selected at random, one after another, without replacement, the probability that both will be blue = 0.0316

For given question,

there are 20 colored markers in a package – 8 black, 4 blue, 4 red, 4 green.

if two markers are selected at random, one after another, without replacement, we need to find the probability that both will be blue.

The probability that the selecting one blue marker is:

4/20

After selecting one blue marker, there are 19 markers in a package -  8 black, 3 blue, 4 red, 4 green.

The probability of selecting second blue marker would be,

3/19

So, the probability that both will be blue:

4/20 × 3/19

= 0.2 × 0.16

= 0.0316

Therefore, if two markers are selected at random, one after another, without replacement, the probability that both will be blue = 0.0316

Learn more about the probability here:

https://brainly.com/question/3679442

#SPJ4

Write and equations of the horizontal and vertical lines that pass though the given point.
(-3,2)
(1,4)

Answers

Answer:

Step-by-step explanation:

(-3, 2)

Horizontal is y = 2

Vertical is x = -3

In the same way (1, 4) is

y = 4

x = 1.

question 12(multiple choice worth 1 points) (04.01 lc) which set of ordered pairs represents a function? {(0, 1), (1, 3), (1, 5), (2, 8)} {(0, 0), (1, 2), (2, 6), (2, 8)} {(0, 0), (0, 2), (2, 0), (2, 4)} {(0, 2), (1, 4), (2, 6), (3, 6)}

Answers

The set of ordered pairs that represents a function is: {(0, 2), (1, 4), (2, 6), (3, 6)}

We know that a function defines a relation between input and output values.

In function for each input there is exactly one output.

We need to find the set of ordered pairs that represents a function.

We need to find the set of ordered pairs such that for each x value (x coordinate) there is unique y value (y coordinate).

1) {(0, 1), (1, 3), (1, 5), (2, 8)}

This set of ordered pairs cannot be a function.

As for x = 1, there are two output values 3 and 5.

2) {(0, 0), (1, 2), (2, 6), (2, 8)}

This set of ordered pairs cannot be a function.

As for x = 2, there are two output values 6 and 8.

3) {(0, 0), (0, 2), (2, 0), (2, 4)}

This set of ordered pairs cannot be a function.

As for x = 0, there are two output values 0 and 2.

and for x = 2, the output values are 0 and 4.

4) {(0, 2), (1, 4), (2, 6), (3, 6)}

This set of ordered pairs represents a function.

Here, for each input value there is unique output value.

Therefore, the set of ordered pairs that represents a function is: {(0, 2), (1, 4), (2, 6), (3, 6)}

Learn more about the function here:

https://brainly.com/question/28278690

#SPJ4

Ryan has a points card for a movie theater.
• He receives 85 rewards points just for signing up.
• He earns 7.5 points for each visit to the movie theater.
.
• He needs 160 points for a free movie ticket.
Write and solve an equation which can be used to determine v, the number of visits
Ryan must make to earn a free movie ticket.

Answers

Answer:

anaaaa

Step-by-step explanation:

85+7.5v=160
7.5v=160-85
7.5v=75
V=75/7.5
V=10
Ryan would need to take 10 visits to get a free ticket.

identity the restrictions on the domain of f(x)=x-1/x+4

Answers

Answer:

Answer is option A.

X cannot be equal to -4

12x square+22xy-8y square

Answers

Answer:

2(6x²+11xy−4y²)

Step-by-step explanation:

Factor 12x²+22xy−8y²

12x+22xy−8y²

=2(6x²+11xy−4y²)

a box with a square base and a top is to be constructed from 10 square meters of material. find the dimensions which will maximize the volume that the box can hold.

Answers

A box with a square base and a top is to be constructed from 10 square meters of material. 40 square meters will maximize the volume that the box can hold.

What is volume?

LSD use among secondary school understudies is a specific concern. More Volume is a proportion of consumed three-layered space. It is frequently evaluated mathematically utilizing SI inferred units or by different supreme units. Volume is characterized as the space involved inside the limits of an article in three-layered space. It is otherwise called the limit of article. Volume is a proportion of consumed three-layered space. It is frequently measured mathematically utilizing the SI determined unit, the cubic meter. The volume of a compartment is by and large comprehended to be the limit of the compartment, how much liquid (gas or fluid) that the holder could hold, instead of how much space the actual holder dislodges. Three layered numerical shapes are additionally relegated volumes.

Learn more about volume, refer:

https://brainly.com/question/28027357

#SPJ4

Darren is purchasing a car that costs $11,000. He is taking out a simple interest loan at an annual rate of 3%. If he makes monthly payments over a period of 5 years, how much is his monthly payment?

Answers

Darren's monthly payment on car loan is $210.83

Given,

Cost of the car Darren purchased = $11000

The simple interest for the car loan = 3%

Time period of loan = 5 years

We have to find the monthly payment amount:

Simple interest = PRT / 100

Where,

P = Principal amount = $11000

R = Rate of interest = 3%

T = Time period = 5 years

Now,

SI = PRT / 100

SI = (11000 × 3 × 5) / 100

SI = 110 × 3 × 5

SI = 1650

Here, the simple interest for 5 years is $1650

Now,

Total amount to be paid after 5 years = Principal amount + Simple interest

A = P + SI

A = 11000 + 1650

A = 12650

The amount to be paid after 5 years is $12650

Next,

The monthly payment amount:

Number of months in 5 years = 12 × 5 = 60 months

So,

Monthly payment amount = Total amount after 5 years / Total months in 5 years

Monthly payment amount = 12650 / 60 = 210.83

That is, the monthly payment amount on car loan is $210.83

Learn more about simple interest here:

https://brainly.com/question/28762762

#SPJ1

Help please! (show steps too)

Answers

If the equation of the circle is [tex]x^{2} +y^{2}-8x+6=0[/tex] then the center and radius of the circle is (4,0) and [tex]\sqrt{10}[/tex] respectively

Given,

The equation,

[tex]x^{2} +y^{2}-8x+6=0[/tex]

Rearrange the equation

[tex]x^{2} -8x+6+y^{2} =0[/tex]

Add 10 on both sides

[tex]x^{2} -8x+16+y^{2} =10[/tex]

Change to standard form

[tex](x-4)^{2}+(y-0)^{2}=(\sqrt{10})^{2}[/tex]

Standard form of the equation of a circle is

[tex](x-h)^{2}+(y-k)^{2}=r^{2}[/tex]

Here the r is the radius of the circle and (h,k) is the center

So,

Center = (4,0)

Radius = [tex]\sqrt{10}[/tex]

Hence, if the equation of the circle is [tex]x^{2} +y^{2}-8x+6=0[/tex] then the center and radius of the circle is (4,0) and [tex]\sqrt{10}[/tex] respectively.

Learn more about equation of the circle here

brainly.com/question/23799314

#SPJ1

The function m(x) represents the amount of money (in dollars) it costs you to be a member at the YMCA after x monthsExplain the meaning of the following function notation using a sentence by connecting it to this situation:

m(0) = 50

Answers

The meaning of the function notation is the inital amount of money (in dollars) it costs you to be a member at the YMCA

How to explain the meaning of the function notation?

The function is given as

m(x) represents the amount of money (in dollars) it costs you to be a member at the YMCA after x months

The function notation is given as

m(0)

The function notation m(0) implies that

We determine the value of m(x) when x = 0

This represents the x-intercept of the function

The x-intercept of the function is the initial value of the function

Hence, the meaning of the function notation is the inital amount of money (in dollars) it costs you to be a member at the YMCA

Read more about x-intercept at

https://brainly.com/question/3951754

#SPJ1

a tank contains 2840 l of pure water. solution that contains 0.01 kg of sugar per liter enters the tank at the rate 4 l/min, and is thoroughly mixed into it. the new solution drains out of the tank at the same rate. (a) how much sugar is in the tank at the begining? y(0)

Answers

By using differential equations' concept, we get that there is no sugar in the beginning.

What is a differential equation?

A differential equation is an equation that connects the derivatives of one or more unknown functions.

Given:

Pure water = 2840 litres

sugar = 0.01kg per liter

Rate of sugar entering the tank = 4liter/min

New solution drains out at the rate = 4 litre/min

To find: sugar in the beginning.

Finding:

(a) In the beginning, the tank contains only pure water and no solution of water with sugar.

Hence, the sugar is null for t = 0.

To learn more about differential equations, refer to the link: https://brainly.com/question/1164377

#SPJ4

Write the equation of a square root function that has been
shifted up 3 units and right 1 unit and contains the point
(5,7).

Answers

The equation of the square root function is g(x) = √(x - 1) + 3

How to determine the equation of the square root function?

A square root function is represented as

f(x) = √x

The transformation rule is given as

Shifted up 3 units and right 1 unit

This can be represented as

(x - 1, y + 3)

So, we have

g(x) = f(x - 1) + 3

This gives

g(x) = √(x - 1) + 3

From the question, we have

It contains the point (5,7).

This means that

g(5) = 7

So, we have

g(5) = √(5 - 1) + 3

Evaluate

g(5) = 7

Hence, the equation of the square root function is g(x) = √(x - 1) + 3

Read more about transformation at

https://brainly.com/question/4289712

#SPJ1

PLS HELP!!

what are the two equations to set up to solve the equation

| 3x -2 | = 19
3x - 2 =
insert in the box and 3x - 2 = insert in the box

Answers

The two equations to set up to solve the equation are 3x - 2 = 19 and 3x - 2 = -19

What are the two equations to set up to solve the equation?

The equation is given as

|3x - 2| = 19

The above equation is an absolute value equation.

When it is split, the constant would be represented as positive and negative

So, the equivalent equations are

3x - 2 = 19 and 3x - 2 = -19

Hence, the two equations to set up to solve the equation are 3x - 2 = 19 and 3x - 2 = -19

Read more about equations at

https://brainly.com/question/1429964

#SPJ1

976,733,776 divide 9

Answers

Answer:

108525975,11111111111111111111111

Answer: 108525975.111

Step-by-step explanation:

1530 divided by 30? I will give you a Brainliest!

Answers

51

1530÷30=51

30x51=1530

a double decker bridge has two parallel levels connected by a network of diagonal girders. one of the girders makes 52 degrees angle with the lower level as shown in the figure. what is the measure of angle 1?

Answers

Answer: 128

Step-by-step explanation:

a whole supplementary angle adds up to 180 degrees

so 180

   - 52

               

     128

25 points plus brainliest

Answers

Answer:

hi awaz are u in india server ?

if i choose four cards from a standard $52$-card deck, with replacement, what is the probability that i will end up with one card from each suit?

Answers

The probability that i will end up with one card from each suit is 3/32.

Probability:

Probability refer the possibility of the event.

The formula for the probability of the event is,

Probability of event to happen P(E) = Number of favorable outcomes/Total Number of outcomes

Given,

If i choose four cards from a standard 52-card deck, with replacement,

Then we need to find the  probability that i will end up with one card from each suit.

In the first draw, we can take one card, if it is a spade one,

Then for the second draw we have 39 options

For the third draw we have 26 options

For the fourth draw we have 13 options,

So, the probability that i will end up with one card from each suit is

=> 1 x 39/52 x 26/52 x 13/52

=> 1 x 3/4 x 1/2 x 1/4

=> 3/32

To know more about Probability here

https://brainly.com/question/11234923

#SPJ4

Tomás wants to tile a rectangular floor with square tiles that measure 12 inches on a side. The floor measures 10 feet 6 inches long by 8 feet 6 inches wide. If he is able to cut the tiles without waste, what is the minimum whole number of tiles Tomás needs to completely cover the floor?​

Answers

There are 1176 is the minimum whole number of tiles Tomás needs to completely cover the rectangular floor.

Rectangle:

Rectangle means a four sided-polygon, having all the internal angles equal to 90 degrees. The two sides at each corner or vertex, meet at right angles.

Given,

Tomás wants to tile a rectangular floor with square tiles that measure 12 inches on a side. The floor measures 10 feet 6 inches long by 8 feet 6 inches wide.

Here we need to find if he is able to cut the tiles without waste, what is the minimum whole number of tiles Tomás needs to completely cover the floor.

Here we have to convert the feet into inches for easy calculation,

1 feet = 12 inches

So, the length is ,

l = 120 + 6 = 126 inches

w = 96 + 6 = 112 inches

So, the area of the floor is,

=> l x w

=> 126 x 112

=> 14,112

Here we need to use 12inches square tile,

So,

=> 14112 / 12

=> 1176.

Therefore, there are 1176 tiles are need to cover the floor.

To know more about Rectangle here.

https://brainly.com/question/15019502

#SPJ1

given the equation of :y-5=25/2=25/2(x+4) what is the slope of any line parallel? M= blank

Answers

The slope of the any line parallel to the line y-5 = 25/2(x+4)  is equal and its value is 25 /2 .

The graph of the equation y =mx + c could be a line with m as slope,  and c because the y-intercept.This type of the equation is termed the slope-intercept form, and therefore the values of m and c area unit real numbers.

We have given equation y-5 = 25/2(x+4) .

On simplifying , we get

      y - 5 = 25 x/2 +50

       y = 25 x /2 +55

On comparing the above equation with slope intercept form y = mx + b ,

we get m = 25 / 2

All the lines which are parallel to any other line have equal slope.

Learn more about slope intercept form here :

https://brainly.com/question/1884491

#SPJ9

The diameter of a circle is 36 meters. What is the circle's area? Use 3.14

Answers

Answer:

113.04

Step-by-step explanation:

Parsons Bank offers two​ checking-account plans. The No Frills plan charges

25 cents per check whereas the Simple Checking plan costs ​$

5 per month plus

5 cents per check. For what number of checks per month will the Simple Checking plan cost​ less?

Answers

If the number of checks are greater than 25, the Simple Checking plan cost​ less.

We have two checking account plans at Parson's bank.

We have to determine for what number of checks per month will the Simple Checking plan cost​ less.

What is an Inequality in Mathematics ?

An inequality is a relation which makes a non-equal comparison between two numbers or other mathematical expressions.

Let for x number of checks per month the simple checking plan cost less.

For No frills plan -

Charge per check - $0.25

Therefore, for x checks, it will cost - $0.25x

For Simple Checking plan -

Fixed monthly charges - $5

Charges per check - $0.50

Therefore - for x checks - $5 + $0.50x

Now - for Simple Checking plan to cost​ less than No frills plan -

5 + 0.05x < 0.25x

5 < 0.25x - 0.05x

5 < 0.2x

x > 25

Hence, if the number of checks are greater than 25, the Simple Checking plan cost​ less.

To solve more questions on Inequalities, visit the link below-

https://brainly.com/question/4916892

#SPJ1

Other Questions
Use the diagram to fill in the angle that makes the statement true. Can some one help me wit this please Which style of decision making will consumers who develop brand loyalty use?A.extensive decision makingB.limited decision makingC.routine decision making D.opportunity based decision making A nurse assesses a client with dry, rough, scaly skin without lesions on the legs. the client reports itching in the affected area. what skin assessment would the nurse document? question 5: 6 people go to a movie and sit next to each other in 6 adjacent seats in the front row of the theatre. if a cannot sit to the right of f, how many different arrangements are possible? Mendel crossing plants problem :which one is the answer and why? Write the given linear system without the use of matrices. Assume X = x y z . X' = 7 6 9 5 1 1 0 3 4 X + 0 3 1 e6t 8 0 4 e3t Juan and Maria walk dogs in their neighborhood. Maria walks 10 more than twice the number of dogs Juan walks. Together they walk 52 dogs. Which system of equations models this situation if j represents the number of dogs Juan walks and m represents the number of dogs Maria walks? j=2m10 j+m=52 m=2j+10 m+j=52 j=2m+10 j+m=52 m=2j10 m=52j Dnde estn el lavaplatos y el microondas?Your answer: Estn en la sala. Estn en la cocina. Estn en el jardn. Estn en la habitacin (el dormitorio).which one? What two characteristics are useful for supporting the photosynthetic mode of energy generation found in euglenids?. an amusement park charges an admission fee of 40 dollars per person. the cost, c (in dollars), of admission for a group of people is given by the following function. Find the product...Tanks Select all of the fractions that are equivalent to 2/3 Christopher berg land holds the world record for most distance run on a treadmill in day. He ran 247.54 km. How many miles per hour did Chris have to run to accomplish this?note: Can you please explain how to do this and not just give the answer? Describe the precipitation in these latitudes. If I formed an ion, what would it's charge likely be and why?A. -2 because it gains 2 electronsB. +2 because it gains 2 electrons C. +4 because it loses 4 electrons D. -6 because it gains 2 electrons Which states were southern slaves In the experiment, a meter is hooked up to a speaker to monitor the amplitude of the received sound. Suppose the background signal level is 13 mV, the signal is 91 mV with no attenuator and is 25 mV with an attenuator in place. Calculate pt The main characters in myths were usuallySelect onea animalsb.godsc. royallyd. fairies Which organisms are most closely related?