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
Basing on the question the volume of metal should be equal to the volume of the wire.
We already have the volume of the metal which is 1cm cube.
To get the volume of the wire, the equation is V=3.14 x r^2 x h
since the volume of the wire is same as the volume of the metal, we simply substitute.
1 cm^3 = 3.14 x r^2 x h
h is the length of the wire.
the diameter of the wire is 1 mm or 0.1 cm, to get the radius we divide it by 2, 0.1 cm / 2 is 0.05 cm, we substitute
1 cm^3= 3.14 x (0.05 cm)^2 x h
1 cm^3= 3.14 x 0.0025 cm^2 x h
h = 0.00785 cm^2 / 1 cm^3
h=0.00785 cm or 0.0785 mm.
Answer:
4
Step-by-step explanation:
y=4x-3
slope=4
y=5
slope=0
Answer:
2
Step-by-step explanation: