1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
fredd [130]
3 years ago
12

Solve using Matlab the problems:

Engineering
1 answer:
Firlakuza [10]3 years ago
7 0

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

==================================================================================

You might be interested in
Select the correct answer.
ArbitrLikvidat [17]
......The answer is D
4 0
3 years ago
Make a list of common uses of pneumatic systems in engineering contexts. Explain how each system functions and what benefit it b
MArishka [77]

Answer:

Bicycle Pumps. These pumps are used to inflate bicycle wheels, basketballs, footballs, Ect. Brakes on Buses and Trucks. Tire Pressure Gauges. Jackhammer. Pneumatic Nail Guns.

Explanation:

8 0
2 years ago
Read 2 more answers
Scissors is to cut as?​
lidiya [134]

Answer:

yes...? uhm I don't know what this means

6 0
3 years ago
Pls Help Asap i need to create a FlowChart And pseudocode
Tju [1.3M]

(YearModel)made by 2020 a (make)french fry truck is driving down the road  at (speed)90mph and breaks the highest record of a 10 ton truck.

is an example

3 0
3 years ago
Can you list three ways that real life earthquake conditions may differ from those made by a shaking table
jolli1 [7]

Answer:

No

Explanation:

8 0
4 years ago
Other questions:
  • How can I use the flux density B formula if I don’t know magnetic flux
    15·1 answer
  • g a heat engine is located between thermal reservoirs at 400k and 1600k. the heat engine operates with an efficiency that is 70%
    11·1 answer
  • Five batch jobs A through E arrive at a computer center in the order A to E at almost the same time. They have estimated running
    11·1 answer
  • Mnsdcbjksdhkjhvdskjbvfdfkjbcv hjb dfkjbkjfvvfebjkhbvefgjdf
    7·2 answers
  • The purpose of pasteurizing milk is to
    13·2 answers
  • When jump-starting a car, always remember
    13·2 answers
  • What do you think the top TWO game elements are that directly contribute to player immersion?
    15·1 answer
  • What is the first thing to do when you make a three-point turn?.
    11·1 answer
  • The __________________ refers to the main screen of the computer.
    9·1 answer
  • What type of diagrams are used to present the conditions that are available to control outputs based on inputs?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!