Answer:
%Program prompts user to input vector
v = input('Enter the input vector: ');
%Program shows the value that user entered
fprintf('The input vector:\n ')
disp(v)
%Loop for checking all array elements
for i = 1 : length(v)
%check if the element is a positive number
if v(i) > 0
%double the element
v(i) = v(i) * 2;
%else the element is negative number.
else
%triple the element
v(i) = v(i) * 3;
end
end
%display the modified vector
fprintf('The modified vector:\n ')
disp(v)
Answer:
25 mm = 0.984252 inches
Explanation:
Millimeter and inches are both units of distance. The conversion of millimeter into inches is shown below:
<u>1 mm = 1/25.4 inches</u>
From the question, we have to convert 25 mm into inches
Thus,
<u>25 mm = (1/25.4)*25 inches</u>
So,
Thus, solving we get:
<u>25 mm = 0.984252 inches</u>
Unless cylinders are firmly secured on a special carrier intended for this purpose, regulators shall be removed and valve protection caps put in place before cylinders are moved. A suitable cylinder truck, chain, or other steadying device shall be used to keep cylinders from being knocked over while in use.
Answer:
The mechanical advantage is 3 to 1
Explanation:
A frictionless pulley with three support ropes carries equal tension on each of the ropes thus;
Tension in each pulley rope = T
Total tension in the 3 ropes = 3 × T = 3·T
Direction of the tension forces on each rope = Unidirectional
Total force provided by the 3 ropes = 3·T
Therefore, a force, T, applied at the end of the rope will result in a lifting force of 3·T
Hence, the mechanical advantage = 3·T to T which is presented as follows;
The mechanical advantage = 3 to 1.