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

Plsssss helppp meeeeee

Answers

Answer:

First choice, 1/3

Step-by-step explanation:

If you look at 1 to A to B to 2, you would see that there are 3 gaps between them. Therefore it's out of three, A to B is only one gap distance so it's 1/3

The answer is 1/3.

- emmatannerfns

In a class of 23 students, 16 have a brother and 15 have a sister. There are 11 students
who have a brother and a sister. What is the probability that a student chosen
randomly from the class is an only child?

Answers

Answer:

3/23

Step-by-step explanation:

11 students have a brother and a sister16 students have a brother and 16 - 11 = 5 have a brother only15 students have a sister and 15 - 11 = 4 have a sister only

So out of 23 students:

11 + 5 + 4 = 20 have a brother or sister or both

And therefore

23 - 20 = 3

students have no brothers or sisters

The required probability is:

3/23


Karen performs a transformation on parallelogram ABCD that is plotted on a coordinate grid to form parallelogram A'B'C'D'. The image of
each point is shown in the table below.
Image
Original
Point
| A(-4,-1)
B (-7,-6)
C (-14, -6)
D(-11, -1)
(1.-4)
(6.-7)
(6.-14)
(1.-11)
Which best describes the transformation Karen performed?
A.reflection over the y-axis
B.dilation of scale factor
-1/4
C.counterclockwise rotation of 90 degrees about origin
D.translation of 5 units to the right and 3 units down

Answers

Answer:

its c

Step-by-step explanation:

took the test

Karen performed a transformation of (C) counterclockwise rotation of 90 degrees about origin

Transformation is the movement of a point from its initial location to a new location. Types of transformation are rotation, reflection, translation and dilation.

If a point A(x, y) is rotated 90° counterclockwise about the origin, the new point is at A'(-y, x).

Parallelogram ABCD has vertices at A(-4,-1) , B (-7,-6) , C (-14, -6) , D(-11, -1), if it is rotated 90° counterclockwise about the origin, the new point would be at A'(1.-4) , B'(6.-7),  C'(6.-14) , D'(1.-11)

Find out more at: https://brainly.com/question/11707700

Liz wants to buy a shirt for $25.what will the total cost after tax be if Liz buys the shirt in Springfield

Answers

What’s the percentage of the tax ?

Answer:

ya

Step-by-step explanation:

Find the missing term: 1, 1.5, x, 2.5, 3,

Answers

Answer:

x=2

Step-by-step explanation:

Counting by 0.5 pattern

What is the opposite operation of the square root?

Answers

Answer:

The opposite of multiplication is division. The opposite of division is multiplication. The opposite of taking a square root is squaring

Step-by-step explanation:

Can someone help me please

Answers

Answer:

17 inches

Step-by-step explanation:

Mike has a credit rating of 720. Tyler has a credit rating of 560. Mike and Tyler apply for identical loans from Park Bank. Mike is approved for a loan at 3.2% interest, and Tyler is approved for a loan that charged 3 percentage points higher because of his inferior credit rating. What interest rate is Tyler charged?

Answers

Answer:

6.2%

Step-by-step explanation:

Credit rating is an evaluation of the credit risk of a borrower, that how often a person is going to repay their debt, by credit rating it predicts the ability of the debtor to payback.

Mike has credit rating = 720

Tyler has credit rating = 560

Both are approved for loan. Mike's Credit score is higher, which means he is a much safer debtor as compared to Tyler. Mike will be able to pay back much easily than Tyler. Therefore Mike interest rate is 3.2%

Interest rate of Tyler is higher as he is not that trusted and has low Credit rating. Tyler is approved for a loan that charged 3 percentage points higher because of his inferior credit rating so it interest on the loan will be

Interest = 3.2%+3% = 6.2%

   

Answer: 45

Step-by-step explanation:

can someone please help its due tomorrow.

Answers

D, B are the answers

1 Ray is making a dessert by mixing honey and yogurt in the ratio of 2 to 13. How much yogurt and honey does he need to ma 600 grams of the dessert

Answers

Answer:

80 grams honey, 520 grams yogurt

How many boxes of tissue can you buy with $21 if one box costs $7?

Answers

Answer: 3 boxes

Step-by-step explanation: Divide 21 and 7.

which is an equation for the line passing through the points (-3,3) and (6,9)​

Answers

Answer:

y=2/3x +5

hope this helps

Answer:

[tex] \red{ \boxed{ \bold{2x - 3y + 15=0}}}[/tex]

Explanation

[tex] slope \:of \:the\: required\:\: line \implies\\\frac{9-6}{6-(-3)}=\frac{6}{9} [/tex]

[tex] equation \:of \:the\: required\:\: line\implies\:\\y - 3 = \frac{6}{9} (x + 3)[/tex]

[tex] \implies \: 9y - 27 = 6x + 18[/tex]

[tex] \implies \: 6x - 9y + 45=0[/tex]

[tex] \implies\:2x-3y+15=0[/tex]

Hence the equation of the line is

[tex] \green{ \boxed{ \bold{2x - 3y + 15=0}}}[/tex]

Solve the problem
( Show your work )

2x + 10 =- 4x – 9

Answers

Answer:

x = -19/6

General Formulas and Concepts:

Pre-Algebra

Order of Operations: BPEMDAS

Brackets Parenthesis Exponents Multiplication Division Addition Subtraction Left to Right

Equality Properties

Step-by-step explanation:

Step 1: Define Equation

2x + 10 = -4x - 9

Step 2: Solve for x

Add 4x on both sides:                    6x + 10 = -9Subtract 10 on both sides:             6x = -19Divide 6 on both sides:                  x = -19/6

Step 3: Check

Plug in x into the original equation to verify it's a solution.

Substitute in x:                    2(-19/6) + 10 = -4(-19/6) - 9Multiply:                               -19/3 + 10 = 38/3 - 9Add/Subtract:                      11/3 = 11/3

Here we see that 11/3 does indeed equal 11/3.

∴ x = -19/6 is the solution to the equation.

Determine the answer to (−5) + 4 and explain the steps using a number line.pls help i will give 62 pints

Answers

the answer is -1 because if you start with -5 on a number line & move 4 numbers to the right (since it’s positive), you’ll land on -1

H E L P PLZZZ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Answers

Answer:

138

Step-by-step explanation:

just plug in the numbers:

4*6^2 - 36/6

use pemdas

4*36 - 6 = 144-6 = 138

Answer: The answer is 138.

Step-by-step explanation: First, find 6 squared. That is 36. Multiply that by 4 to get 144. After that, find 36 divided by 6. That is 6. Finally, subtract 144 and 6.

If (x − 2) ∶ 5 = 7 ∶ 9, then find the value of x.

Answers

Answer:

x=53/9

Step-by-step explanation:

(x-2):5=7:9

9x-18=35

9x=35+18

9x=53

x=53/9

PLS HELP! DUE IN 10 MINS PLS!!!!!!!!!!!!!!!

Answers

Answer:

25 metres per second

Step-by-step explanation:

just divide 100 by 4 and you will get the answer.☺️☺️

Answer:

25 m/s

Step-by-step explanation:

train a travels at 12.5 m/s and will arrive at 100m in 7s.

train b arrives at the same distance, 100m, in 4s. so that means train b is going at 100m/4s and then simplify that

therefore train b is moving at 25m/s

This recipe makes 7 pancakes.
Sanjay follows the recipe but wants to make 21 pancakes.
How much of each ingredient does he need?

Recipe: Makes 7
135 g flour
1 teaspoon (tsp) baking powder
2 tablespoons (tbsps) sugar
130 ml milk
1 egg

Answers

Answer:

he needs 3 times all the 1 to make 21 pancakes

Step-by-step explanation:

How many x-intercepts would the function shown below have? F(x)=-5(x^2-7)(x+6)^2(x+1)(4x+1)

Answers

Answer:

5

Step-by-step explanation:

plug this ecuation into desmos graphing calculator(it's a website). Then see how many times the graph crosses the x-axis.

To find the zeroes:

0 of a function means for what value(s) of x will the f(x) or y equal zero(0). To find the zeroes of this function, just see what numbers will make f(x) = 0. Since this equation is already factored, our job is much easier. Focus on small parts of the equation and don't get ovewhelmed by how long it its. For you problem, start by -5(x^2-7). what x will make -5(x^2-7) = 0? As long as (x^2-7) = 0, the whole equation will equal zero since any number times 0 is 0. (x^2-7)=0, move -7 to the right, x^2=7, get squre root of both sides, you will have x=plus or minus[tex]\sqrt{7}[/tex]. This is one of the zeroes. There are many more in this equation since we have more than one x-intercepts. Now using thsi tactic, you can solve for the rest of the zeroes.

there is a calculator called symbolab, It's also a website and it can calculate whatever you need.

The number of x-intercepts is five would be the given function.

What is x-Intercept?

The x-intercept is defined as an intercept that is located at the x-axis of the plane, is the location or coordinate from where the line crosses,

The function is given in the question

F(x) = -5(x²-7)(x+6)²(x+1)(4x+1)

We have to determine the number of x-intercepts that would the function.

F(x) = -5(x²-7)(x+6)²(x+1)(4x+1)

The x-intercept occurs at a point where F(x) = 0

0 = -5(x²-7)(x+6)²(x+1)(4x+1)

-5(x²-7)(x+6)²(x+1)(4x+1) = 0

Here (x²-7) = 0, and (x+6)² = 0, (x+1) = 0, and (4x+1) = 0

x² = 7 , and (x+6) = 0, x = -1 , and 4x = -1

x = ±7 and x = -6 , x = -1 , and x = -1/4

x = 7, -7  and x = -6 ,  x = -1 , and x = -1/4

Therefore, the number of x-intercepts is five would be the given function.

Learn more about the x-intercept here:

https://brainly.com/question/14180189

#SPJ2

Solve the inequality.
1/3+x2/8>_5/6
A)X<_17/18
B)x>_17/18
C)x>_1 17/18
D)x>_5/18

Answers

The Answer is letter D

If a = 3 sqrt(3) in the right triangle shown, what is the value of b?

Answers

Note: Consider the below figure attached with this question.

Given:

[tex]a=3\sqrt{3}[/tex]

To find:

The value of b.

Solution:

In a right angled triangle,

[tex]\tan \theta = \dfrac{Perpendicular}{Base}[/tex]

For the given right angled triangle,

[tex]\tan \theta = \dfrac{a}{b}[/tex]

[tex]\tan (30^\circ) = \dfrac{3\sqrt{3}}{b}[/tex]

[tex]\dfrac{1}{\sqrt{3}} = \dfrac{3\sqrt{3}}{b}[/tex]

On cross multiplication, we get

[tex]1\times b=3\sqrt{3}\times \sqrt{3}[/tex]

[tex]b=3(3)[/tex]

[tex]b=9[/tex]

Therefore, the value of b is 9.

Which of the following sets include all rational numbers?

Answers

It's the Second one and the third one

Step-by-step explanation:

Pie is irrational so you can easily cross it off and it leads to to the second one and the third one

Given the conditional statement: "If it is Wednesday, then Kayden doesn't
have baseball practice." What is the hypothesis of this statement? *

Answers

Answer:

if it's wednesday

Step-by-step explanation:

Help needed. 30 points to complete the table and do the second part.

Answers

Answer:

-4,-6,-8,-10

Step-by-step explanation:

I am not so sure though.

Someone help!

Three customers have accounts owing money. The table shows the account balances.

Which customer owes the least amount of money?


Customer Balance

M. Palmer –$56.72

B. Leftwich –$74.19

R. Jordan –$54.31




M. Palmer

B. Leftwich

R. Jordan

Answers

i think it’s r.
jordan owes the least amount of money

May someone help me out on this question?

Answers

Answer:

y = 2 for x < 0

     x for 0 ≤ x < 3

     3 for x ≥ 3

Step-by-step explanation:

From the graph attached,

Equation of line (1),

y = 2

Where x < 0

Let the equation of line (2) is,

y = mx + b

y-intercept 'b' = 0 [line (2) passes through origin]

Slope of the line 'm' = [tex]\frac{\text{Rise}}{\text{Run}}[/tex]

                                 = [tex]\frac{3}{3}[/tex]

                                 = 1

Therefore, equation of line (2) will be,

y = x

where 0 ≤ x < 3

Equation of line (3) will be,

y = 3

Where x ≥ 3

Therefore, piecewise linear function will be,

y = 2 for x < 0

     x for 0 ≤ x < 3

     3 for x ≥ 3

when would a transformation NOT be considered rigid?

Answers

Answer:

when the plant at the end dies

P= 2.50n - 300

How many candy bars must be sold to make a profit of $500?

Answers

5dgcfffvfccffffff did never nene even jelly meme me

Answer:

I need the answer

I dont know!!

Step-by-step explanation:

The area of a rectangle is 15 square inches. What wil be the area, in square inches, of the rectangle after it is dilated by a
scale factor of 2?

Answers

Answer:

60 inches²

Step-by-step explanation:

Unit test

This table gives the minutes players spent practicing basketball free throws and the number of baskets they made when they were timed the next day at practice.


Practice time (min) 45 100 57 8 90 63 25 84 30 120 19 18

Baskets made 15 21 18 5 22 18 19 23 16 20 7 10


What is the correlation coefficient of the data?



0.12


0.64


0.80


0.92

Answers

Answer:

0.79769, or 0.80 if you round it up

Step-by-step explanation:

Other Questions
Please help me with 7 When 490 college students were surveyed, 130 said they own their car. Construct a 95%confidence interval for the proportion of college students who say they own their cars. How did education differ for the rich and poor in Islam? A pack of gum that comes with 35 pieces is $2.88 how much is one piece of gum? (unit price) When the allowance method is used for bad debts, the entry to write off an individual account known to be uncollectible involves a 6 + 3(x + 4)PLEASE HELP!!!! I will give brainliest what did city-states have that other cities did not? I really don't know how to do this please help me and tysm. :)Jan is 16 years old. Jan has decided she wants to lose 8 pounds in 1 month. Jan currently eats a lot of foods high in sugar, sodium and trans fats. She also only walks once a week for 30 minutes and spends most of her time playing video games. You are Jans Nutritionist. Create a detailed plan to help Jan lose 8 pounds in 1 month based on the information from the video. (You may have to re-watch the video and take notes. You can look back at the workbooks for unit 5 too). Help needed ASAP due soon :/ ASAP PLEASE Africa and Asia imperialized Europe by taking land that did not belong tothem and killing millions of people. *O TrueFalse which of these parts of a flower contain male gametes?a, anthers.b, stigma.c, style. d, ovary. Do Recommendations Seventh grade > S Solve for d. 3 + 2d = 5 If u anserw these two ill give u 80 points! PLEASE HELP I NEED HELP WITH NUMBER 6! Michael puts $800 into a savings account. The account earns 2% simple interest. How much interest will he earn in 6 months? Where do animators work? Read the excerpt below and answer the question. The spirit that I have seenMay be the devil: and the devil hath powerTo assume a pleasing shape; yea, and perhapsOut of my weakness and my melancholy, [He] abuses me to dam(n) me (Hamlet; Act II, scene ii)What is the meaning of the word melancholy, as it is used above?A: depressionB: ecstasyC: greedD: outrage PLEASE HELP I'M BEING TIMED!!!!!!!!!!!!!Yo com una naranja ayer.correctincorrect At a grocery store to gallons of milk cost $7.20 and 5 gallons of milk cost $18 write an equation relates the total cost T to the gallons of milk purchased M *3. A nosotros nos gusta beber (el / los) refresco.ellos