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:
Explanation:
The step by step analysis is as shown in the attached files.
Answer:
3.03 INCHES
Explanation:
According to ASTM D198 ;
Modulus of rupture = ( M / I ) * y ----- ( 1 )
M ( bending moment ) = R * length of span / 2
= (120 * 10^3 ) * 48 / 2 = 288 * 10^4 Ib-in
I ( moment of inertia ) = bd^3 / 12
= ( 2 )*( d )^3 / 12 = 2d^3 / 12
b = 2 in , d = ?
length of span = 4 * 12 = 48 inches
R = P / 2 = 240 * 10^3 / 2 = 120 * 10^3 Ib
y ( centroid distance ) = d / 2 inches
back to equation ( 1 )
( M / I ) * y
940.3 ksi = ( 288 * 10^4 / 2d^3 / 12 ) * d / 2
= ( 288 * 10^4 * 12 ) / 2d^3 ) * d / 2
940300 = 34560000* d / 4d^3
4d^3 ( 940300 ) = 34560000 d ( divide both sides with d )
4d^2 = 34560000 / 940300
d^2 = 9.188 ∴ Value of d ≈ 3.03 in
Answer:
Explanation:
A confined aquifer is one that's impermeable and does not allow seepage's of water through it.
An unconfined aquifer is a body of water that has permeable membranes which allows passage of water through it.
There will be little or no transmission of water trough these bodies of water.
Answer:
See explaination
Explanation:
A Finite state machines can be synchronous or asynchronous. The operation of asynchronous state machines does not require a clock signal. An Asynchronous state machine is classified basically on their operating mode, such as the fundamental mode, pulse mode or burst mode. An asynchronous state machine can have stable and transient states.
Please kindly refer to attachment for a step by step solution.