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 minimum diameter for each cable should be 0.65 inches.
Explanation:
Since, the load is supported by two ropes and the allowable stress in each rope is 1500 psi. Therefore,
(1/2)(Weight/Cross Sectional Area) = Allowable Stress
Here,
Weight = 1000 lb
Cross-sectional area = πr²
where, r = minimum radius for each cable
(1/2)(1000 lb/πr²) = 1500 psi
500 lb/1500π psi = r²
r = √1.061 in²
r = 0.325 in
Now, for diameter:
Diameter = 2(radius) = 2r
Diameter = 2(0.325 in)
<u>Diameter = 0.65 in</u>
Answer:
Lay the person down and elevate thier legs slightly.
Explanation:
Answer:
REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEe
Explanation:
Answer:
True
Explanation:
Coding is a language because it takes time and practice to learn and do it. If you don't practice it, you could put the wrong thing into code and have everything go bonkers.
Hope this helps!! :)