Answer:
Explanation:
% Clears variables and screen
clear; clc
% Asks user for input
n = input('Total number of objects: ');
r = input('Size of subgroup: ');
% Computes and displays permutation according to basic formulas
p = 1;
for i = n - r + 1 : n
p = p*i;
end
str1 = [num2str(p) ' permutations'];
disp(str1)
% Computes and displays combinations according to basic formulas
str2 = [num2str(p/factorial(r)) ' combinations'];
disp(str2)
=================================================================================
Example: check
How many permutations and combinations can be made of the 15 alphabets, taking four at a time?
The answer is:
32760 permutations
1365 combinations
==================================================================================
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.
Answer: b. To avoid having distractions
Trust me it’s definitely option b