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
SOVA2 [1]
3 years ago
8

Write a function number_of_pennies() that returns the total number of pennies given a number of dollars and (optionally) a numbe

r of pennies. ex: 5 dollars and 6 pennies returns 506.
Mathematics
1 answer:
seraphim [82]3 years ago
7 0
Ok, first of all, it is important to understand that this function would depend on 2 variables; the number of dollars (x) and the number of pennies (y). Every dollar is equivalent to 100 pennies. So, if we are given x dollars, we have 100*x pennies. If we also have y pennies, we still get y pennies. We need to add these two to get the total amount of pennies. Thus, the correct function is:
f(x,y)=100*x+y
You might be interested in
162 people out of 300 state they like cats. What percent is this?
kipiarov [429]

Answer:

54%

Step-by-step explanation:

162 divide by 300

7 0
3 years ago
Read 2 more answers
D is the centroid. Find Q D if DK =6.5.
Xelga [282]

Answer:

QD = 13

Step-by-step explanation:

According to the Centroid theorem of a triangle, the Centroid is ⅔ of the distance from every vertex angle to the midpoint of the side opposite to each of them.

By this we can deduce that:

QD = ⅔(QD + DK)

Substitute

QD = ⅔(QD + 6.5)

Multiply both sides by 3

3*QD = 2(QD + 6.5)

3QD = 2QD + 13

Subtract both sides by 2QD

3QD - 2QD = 13

QD = 13

3 0
3 years ago
I need to find the value of x with the given information
Vika [28.1K]

Answer:

BD is half of the answer BF is

Step-by-step explanation:

BD is only half of BF so find the answer for BF and then divide by @ and you have your answer.

6 0
3 years ago
A population of 1,000 bacteria is treated with a medicine and begins to die 5% each hour. How can the bacteria population be det
Inessa [10]

1/5 hour to death ratieo

5 0
3 years ago
Simplify into one fraction -2/x+3 - 4/x-5
sergiy2304 [10]
Multiply and divide by the product of the denominators.
\dfrac{-2}{x+3}+\dfrac{-4}{x-5}=\dfrac{-2(x-5)-4(x+3)}{(x+3)(x-5)}\\\\=\dfrac{-6x-2}{x^{2}-2x-15}
6 0
4 years ago
Read 2 more answers
Other questions:
  • An instructor who taught two sections of engineering probability last term, the first with 20 students and thesecond with 30, de
    13·1 answer
  • ASAP ANSWER WITH WORK
    6·1 answer
  • Consider this algebraic expression:    5 + 3x – 1 + 4x
    10·2 answers
  • Select the correct expressions and value. Identify the expressions and the value that are equivalent to 6 times 5 squared. 5 x 6
    7·1 answer
  • Madison and her sister went to the store together. After the store, Madison walked 2 blocks west to get a coffee and her sister
    5·2 answers
  • 6th Grade HELP Write and Algebraic Expression one third as much as 18 more than g
    10·1 answer
  • Not sure need help ​
    9·1 answer
  • Help I haven't seen this before in the picture
    11·2 answers
  • What would be the formula for this 1/4 circle with the radius as 7ft??
    11·2 answers
  • A diver is standing on a spring board 24 feet above the pool. She jumps from the platform with an initial upward velocity of 8fe
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!