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:
work done = 48.88 × J
Explanation:
given data
mass = 100 kN
velocity = 310 m/s
time = 30 min = 1800 s
drag force = 12 kN
descends = 2200 m
to find out
work done by the shuttle engine
solution
we know that work done here is
work done = accelerating work - drag work - descending work
put here all value
work done = ( mass ×velocity ×time - force ×velocity ×time - mass ×descends ) 10³ J
work done = ( 100 × 310 × 1800 - 12×310 ×1800 - 100 × 2200 ) 10³ J
work done = 48.88 × J
Answer:
modulus =3.97X10^6 Ib/in^2, Poisson's ratio = 0.048
Explanation:
Modulus is the ratio of tensile stress to tensile strain
Poisson's ratio is the ratio of transverse contraction strain to longitudinal extension strain within the direction of the stretching force
And contraction occur from 0.6 in x 0.6 in to 0.599 in x 0.599 in while 2 in extended to 2.007, with extension of 0.007 in
Answer:
the police officer cruise each streets precisely once and he enters and exit with the same gate.
Explanation:
NB: kindly check below for the attached picture.
The term ''Euler circuit'' can simply be defined as the graph that shows the edge of K once in a finite way by starting and putting a stop to it at the same vertex.
The term "Hamiltonian Circuit" is also known as the Hamiltonian cycle which is all about a one time visit to the vertex.
Here in this question, the door is the vertex and the road is the edge.
The information needed to detemine a Euler circuit and a Hamilton circuit is;
"the police officer cruise each streets precisely once and he enters and exit with the same gate."
Check attachment for each type of circuit and the differences.