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
What is the slope of a line that is perpendicular to the line x = –3?
shutvik [7]

Answer:

The slope would be 0

Step-by-step explanation:

3 0
2 years ago
Can anyone help me on this one?
sertanlavr [38]

Answer:

6

Step-by-step explanation:

a=1/2 b*h

a=1/2 3*4

a=1/2 12

a=6

:)

7 0
3 years ago
Read 2 more answers
What is the volume of the sphere
BabaBlast [244]

Answer:

The formula for the volume of a sphere is V = 4/3 πr³

Step-by-step explanation:

5 0
3 years ago
What is the common difference of the following arithmetic sequence? 120, 108, 96, 84, ...
IgorLugansk [536]

Answer:

-12

Step-by-step explanation:

120-108 = -12

5 0
3 years ago
Knowing the first day Anna and Tamara stop for sightseeing and lost 2 hours of travel time and the second day, they gain 1 hour
ratelena [41]

The algebraic expression that represents the number of hours Anna and Tamara traveled the first two days is (2x - 1) hours.

<h3>How to write Algebraic Word Problems?</h3>

We are told that;

On the first day, Anna and Tamara stop for sightseeing and lost 2 hours of travel time.

On the second day, they did not stop for lunch and gained 1 hour.

Now, we are told that x is the number of hours driven per day. Thus, for two days, number of hours driven is expressed as 2x.

Now, since they lost 2 hours on the first day, then total hours travelled is;

2x - 2 hours

On the second day, they gained 1 hour. Thus;

Final total number of hours traveled = 2x - 2 + 1

Final total number of hours traveled = (2x - 1) hours

Thus, we can conclude that the algebraic expression that represents how many hours Anna and Tamara traveled the first two days is (2x - 1) hours.

Read more about Algebraic Word Problems at; brainly.com/question/13818690

#SPJ1

7 0
2 years ago
Other questions:
  • Liam uses checks and a debit card, but does it not always right all the transactions and his checkbook register. He has lost tra
    7·1 answer
  • HELP FAST, ILL GIVE BRAINIEST!!!!!
    12·1 answer
  • a guy walks into a store and steals a $100 bill from the register without the owners knowldge. He then buys $70 worth of goods u
    10·1 answer
  • Which of the following numbers are divisible by 3? 225, 8,399, 7,392, 9,830 (can be more than one answer) I'm very busy so I jus
    9·2 answers
  • A manager samples the receipts of every fifth person who goes through the line. Out of 50 people, 4 had a mispriced item. If 600
    6·1 answer
  • The sum of 6 even integers is 130 what is the 2nd number in the sequence
    14·2 answers
  • 4 over 1 divided by 9 over 8 equals
    7·1 answer
  • A can of soda weighs 336 grams. Find the weight in kilograms of 15 cans.
    15·1 answer
  • I need the anwser and the fractions
    9·1 answer
  • If Sue runs one mile every 7 minutes, and this relationship is graphed, which ordered pair would not be on the graph?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!