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
alex41 [277]
3 years ago
12

PLEASE HELP, ITS URGENT I WILL GIVE BRAINLY...

Mathematics
1 answer:
Liono4ka [1.6K]3 years ago
6 0

Answer:

Cost of the box of pencils = x = $4

Cost of the notebook = x+2 = 4+2 = $6

Cost of package of pens = 3x = 3(4) = $12

Step-by-step explanation:

Let the cost of the box of pencils = x

Cost of the notebook = 2 more than the pencils cost = x+2

Cost of package of pens = 3 times the pencils cost = 3x

The total was $22, so we can say:

(x)+(x+2)+(3x) = 22

5x=22-2

x=20/5

x=$4

Cost of the box of pencils = x = $4

Cost of the notebook = x+2 = 4+2 = $6

Cost of package of pens = 3x = 3(4) = $12

You might be interested in
5. The recursive algorithm given below can be used to compute gcd(a, b) where a and b are non-negative integer, not both zero.
s2008m [1.1K]

Implementating the given algorithm in python 3, the greatest common divisors of <em>(</em><em>124</em><em> </em><em>and</em><em> </em><em>244</em><em>)</em><em> </em>and <em>(</em><em>4424</em><em> </em><em>and</em><em> </em><em>2111</em><em>)</em><em> </em>are 4 and 1 respectively.

The program implementation is given below and the output of the sample run is attached.

def gcd(a, b):

<em>#initialize</em><em> </em><em>a</em><em> </em><em>function</em><em> </em><em>named</em><em> </em><em>gcd</em><em> </em><em>which</em><em> </em><em>takes</em><em> </em><em>in</em><em> </em><em>two</em><em> </em><em>parameters</em><em> </em>

if a>b:

<em>#checks</em><em> </em><em>if</em><em> </em><em>a</em><em> </em><em>is</em><em> </em><em>greater</em><em> </em><em>than</em><em> </em><em>b</em>

return gcd (b, a)

<em>#if</em><em> </em><em>true</em><em> </em><em>interchange</em><em> </em><em>the</em><em> </em><em>Parameters</em><em> </em><em>and</em><em> </em><em>Recall</em><em> </em><em>the</em><em> </em><em>function</em><em> </em>

elif a == 0:

return b

elif a == 1:

return 1

elif((a%2 == 0)and(b%2==0)):

<em>#even</em><em> </em><em>numbers</em><em> </em><em>leave</em><em> </em><em>no</em><em> </em><em>remainder</em><em> </em><em>when</em><em> </em><em>divided</em><em> </em><em>by</em><em> </em><em>2</em><em>,</em><em> </em><em>checks</em><em> </em><em>if</em><em> </em><em>a</em><em> </em><em>and</em><em> </em><em>b</em><em> </em><em>are</em><em> </em><em>even</em><em> </em>

return 2 * gcd(a/2, b/2)

elif((a%2 !=0) and (b%2==0)):

<em>#checks</em><em> </em><em>if</em><em> </em><em>a</em><em> </em><em>is</em><em> </em><em>odd</em><em> </em><em>and</em><em> </em><em>B</em><em> </em><em>is</em><em> </em><em>even</em><em> </em>

return gcd(a, b/2)

else :

return gcd(a, b-a)

<em>#since</em><em> </em><em>it's</em><em> </em><em>a</em><em> </em><em>recursive</em><em> </em><em>function</em><em>,</em><em> </em><em>it</em><em> </em><em>recalls</em><em> </em><em>the function</em><em> </em><em>with </em><em>new</em><em> </em><em>parameters</em><em> </em><em>until</em><em> </em><em>a</em><em> </em><em>certain</em><em> </em><em>condition</em><em> </em><em>is</em><em> </em><em>satisfied</em><em> </em>

print(gcd(124, 244))

print()

<em>#leaves</em><em> </em><em>a</em><em> </em><em>space</em><em> </em><em>after</em><em> </em><em>the</em><em> </em><em>first</em><em> </em><em>output</em><em> </em>

print(gcd(4424, 2111))

Learn more :brainly.com/question/25506437

6 0
3 years ago
X| 25 | 35 | 45 | 55 |
Yanka [14]
A graphing calculator can do a linear regression on these points very easily. The y-intercept is 107.

_____
If you want to do this by hand, you can use the 2-point form of the equation for a line, then evaluate for x=0.
.. y = (100 -102)/(35 -25)*(x -25) +102
.. y =-2/10*(0 -25) +102
.. y = 107

6 0
3 years ago
Lucía coria 4 millas cada mañana antes de ir a trabajar. no trabaja los domingos ¿cuántas millas corria Lucía en una semana?A.7B
geniusboy [140]

Se nos dice que Lucía corre 4 millas diarias. Ya que no corre los días domingo, entonces corre 6 días por semana, por lo tanto:

4\frac{millas}{dia}\times6dias=24\text{ millas}

Por lo tanto, Lucía corre 24 millas por semana.

4 0
1 year ago
What are the factors for the number 81
vovikov84 [41]
The factors for the number 81 is 1,3,9,27
3 0
3 years ago
Read 2 more answers
0.32 divided 38.9 please and thank you
AleksAgata [21]

Answer:

121.5625

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Other questions:
  • How do you know if the price of a particular house fits your budget?
    9·1 answer
  • Can someone pls help me i can't figure out the answer
    5·1 answer
  • 44.4 square feet and its height is 7.4 feet
    5·2 answers
  • SOMEONE Help ASAP ILL give 30 point and the thing
    13·1 answer
  • Applying Inverse Properties In Exercise,apply the inverse properties of logarithmic and exponential functions to simplify the ex
    14·1 answer
  • True or False:
    12·2 answers
  • Write inequalites to describe the region. The solid cylinder that lies on or below the z=8 and or above the disk in the xy-plane
    13·1 answer
  • he time T required to do a job varies inversely as the number of people P working. It takes 5 hours for 7 volunteers to pick up
    5·1 answer
  • Draw an annotated diagram and explain the meaning of the expression (especially the missing number) in terms of the situation. 1
    5·2 answers
  • A producer will supply 30 items at a price of $15 per item. For every $9 increase in price per item, 595 more items will be prov
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!