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
Crazy boy [7]
3 years ago
10

Write code to complete doublepennies()'s base case. sample output for below program: number of pennies after 10 days: 1024 note:

these activities may test code with different test values. this activity will perform three tests, with starting pennies = 1 and userdays = 10, then with starting pennies = 1 and userdays = 40, then with startingpennies = 1 and userdays = 1. see how to use zybooks. also note: if the submitted code has an infinite loop, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.
Mathematics
1 answer:
Svetllana [295]3 years ago
7 0

answer with coding and answer is attached in word file below

Download docx
You might be interested in
Use the properties of exponents to simplify the expression
ExtremeBDS [4]

Option B is correct after applying the property of integer exponent and simplification.

<h3>What is an integer exponent?</h3>

In mathematics, integer exponents are exponents that should be integers. It may be a positive or negative number. In this situation, the positive integer exponents determine the number of times the base number should be multiplied by itself.

We have:

=\rm (x.x^{-3}.y^{\dfrac{1}{3}})^2

=\rm (x^{-2}.y^{\dfrac{1}{3}})^2\\\\=\rm (x^{-4}.y^{\dfrac{2}{3}})\\\\=\rm \dfrac{y^{\dfrac{2}{3}}}{x^{4}}\\\\

Thus, option B is correct after applying the property of integer exponent and simplification.

Learn more about the integer exponent here:

brainly.com/question/4533599

#SPJ1

8 0
2 years ago
first person to answer gets brainllest A regular hexagon and a rectangle have the same perimeter, P. A side of the hexagon is 4
Rudiy27

Answer:

Perimeter of the hexagon is 36 units

Step-by-step explanation:

if the length is ten using the information provided you  will get a perimeter of 36 for both

7 0
4 years ago
Read 2 more answers
The polynomial of degree 3, P(x), has a root of multiplicity 2 at x=4 and a root of multiplicity 1 at x=−2. The y-intercept is y
Sedbober [7]

Answer:

Step-by-step explanation:

P(x) = a(x - 2)2(x + 4), a ≠ 0

 

Use the given point (0,-10) to find a.

 

-10 = a(0 - 2)2(0 + 5) = a(4)(5) = 20a

a = -10/20 = -1/2

 

P(x) = (-1/2)(x - 2)2(x + 5)

 

You can expand this if you wish

8 0
3 years ago
If nine is X percent of 45, what is X percent of 5
antoniya [11.8K]

Answer:

x percent of 5 is 1

Step-by-step explanation:

Nine is x percent of 45

x = 20

20 % of 5 = 1

5 0
4 years ago
Graph the system of linear inequalities, please explain the process in solving this problem so I know how to do ones similar to
astra-53 [7]

Answer:

See attached. (Both inequalities graph to the same region.)

Step-by-step explanation:

To graph an inequality, you first replace the inequality symbol by an equal sign. Then you graph the line (or curve) described by the equation. If the inequality symbol includes the "or equal to" case, then the line (or curve) is solid and is part of the solution set. If not, then the line (or curve) is dashed and is <em>not part of the solution set</em>.

Here, the line x+y=5, will bound the solution set, but is not part of it.

Note that the line -x -y = -5 (from the second inequality) is the same ilne.

_____

After you have graphed the boundary of the solution region, you need to determine which side of the boundary has the solutions. I find it easy to do this by locating an x- or y-term with a positive coefficient and seeing which side of the inequality symbol that lies on. Here, both the x-term and the y-term lie on the "is greater than" side of the symbol, so the half-plane is shaded above and to the right of the line, where x- and y-values are greater than they are on the line.

In the second inequality, you can multiply the whole thing by -1 to get

... x + y > 5 . . . . same as the first inequality

or you can add (x+y) to both sides to get

... 0 < -5 +x +y

Once again, the x- and y-values that satisfy this are greater than those that are on the boundary line.

_____

The graph seems to show only one equation. Both are there, but the dashed blue line sits on top of the dashed red line, so you can't see it. The purple shading indicates both red and blue shading in the same area.

===== =====

Of course you graph the boundary line the way you would any linear equation. In this form, it is not too difficult to see that both the x- and y-intercepts are 5. (When x=0, y=5; and when y=0, x=5 for the boundary line's equation x+y=5.) Draw the dotted line through these intercept points, add shading above, and you have your graph.

6 0
3 years ago
Other questions:
  • my number has a ten digit that is 8 more than the ones digit. zero is not one of my digits. my number is?
    9·1 answer
  • A set of equations is given below:
    15·1 answer
  • Leon has 4 times as much money as Andrew, and Bryanna has $250 more than Leon. If Bryanna has $300, how much does Andrew have? L
    11·1 answer
  • James has $120 in his savings account and
    11·1 answer
  • Translate the expression the quotient of a number and 2 is increased by 9 is -15
    11·2 answers
  • Solve for a <br> 4(2a - 1) = -10(a - 5)
    8·2 answers
  • Estimate a 10% tip on a restaurant bill of $75.28.
    13·1 answer
  • Hey would you guys mind helping my sis out with the circled questions pls
    6·1 answer
  • Help please,,
    15·1 answer
  • A human hair has width of about 6.5 x 10^-5 meter. What is this width written in standard notation
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!