The simplest approach to do this is:
Convert both numbers to string
Concatenate both strings into one, as this is comparatively easy
Convert this concatenated string back to integer
Step-by-step explanation:
Given two integers n1 and n2, the task is to concatenate these two integers into one integer.
Example:
Input: n1 = 12, n2 = 34
Output: 1234
Input: n1 = 1, n2 = 93
Output: 193
Answer:
Step-by-step explanation:
Solving for x means you have to factor. First factor out the GCF of 2 to get:
and now we'll factor using the regular old method of ac and then factoring by grouping. In our polynomial, a = 3, b = 1, c = -6. Therefore, a times c is 3 * -6 which is -18. We need some combinations of the factors of 18 that will add to give us 1, the b term in the middle. The factors of 18 are:
1, 18
2, 9
3, 6 and that's it. Hm...it seems that won't work, so let's throw this into the quadratic formula, going back to the original and a = 6, b = 2 and c = -12:
and
and
and
and
which finally simplifies to
No wonder that didn't factor using the traditional method of factoring! We could have found that out by finding first the value of the discriminant, but oh well!
<em>T= 250 + 45a.</em>
<em>Since the cost of the medicine costs $250, and there is $45 dollars per appointment then 45 a would represent the 45 dollars for every appointment she chooses to have.</em>
<em>Hope this helps and have a nice day.</em>
<em>-R3TR0 Z3R0</em>
Answer: 107
Step-by-step explanation: