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
Plsssss helppp meeeeee
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?
Answer:
3/23Step-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 onlySo out of 23 students:
11 + 5 + 4 = 20 have a brother or sister or bothAnd therefore
23 - 20 = 3students 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
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
Answer:
ya
Step-by-step explanation:
Find the missing term: 1, 1.5, x, 2.5, 3,
Answer:
x=2
Step-by-step explanation:
Counting by 0.5 pattern
What is the opposite operation of the square root?
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
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?
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.
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
Answer:
80 grams honey, 520 grams yogurt
How many boxes of tissue can you buy with $21 if one box costs $7?
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)
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
Answer:
x = -19/6
General Formulas and Concepts:
Pre-Algebra
Order of Operations: BPEMDAS
Brackets Parenthesis Exponents Multiplication Division Addition Subtraction Left to RightEquality 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/6Step 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/3Here 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
H E L P PLZZZ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
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.
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!!!!!!!!!!!!!!!
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
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)
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
If a = 3 sqrt(3) in the right triangle shown, what is the value of b?
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?
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? *
Answer:
if it's wednesday
Step-by-step explanation:
Help needed. 30 points to complete the table and do the second part.
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
May someone help me out on this question?
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?
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?
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?
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
Answer:
0.79769, or 0.80 if you round it up
Step-by-step explanation: