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
If you deposit today 11,613 in an account earning 8% compound interest, for how long should you invest the money in order to ear
Elanso [62]
Y = a (b)^t/p

y is total money

a is original amount

b is growth / decay factor

t is time

p is the frequency of every growth or decay

15131.76 = 11613 x 1.08^x

15131.76 / 11613 = 1.08^x

1.303… = 1.08^x

log1.303…. = xlog1.08

x = 3.43902165741 years
3 0
2 years ago
Socket Programming: (30 points) Use Python TCP socket to implement an application with client-server architecture. In this appli
ololo11 [35]

Answer:

Explanation:

Run the code given in text file following instructions.

Download txt
8 0
3 years ago
is released from under a vertical gate into a 2-mwide lined rectangular channel. The gate opening is 50 cm, and the flow rate in
SVEN [57.7K]

Answer:

hello your question is incomplete attached below is the complete question

answer: There is a hydraulic jump

Explanation:

First we have to calculate the depth of flow downstream of the gate

y1 = C_{c} y_{g} ----------- ( 1 )

Cc ( concentration coefficient ) = 0.61  ( assumed )

Yg ( depth of gate opening ) = 0.5

hence equation 1 becomes

y1 = 0.61 * 0.5 = 0.305 m

calculate the flow per unit width q

q = Q / b ----------- ( 2 )

Q = 10 m^3 /s

 b = 2 m

hence equation 2 becomes

q = 10 / 2 = 5 m^2/s

next calculate the depth before hydraulic jump y2 by using the hydraulic equation

answer : where  y1 < y2 hence a hydraulic jump occurs in the lined channel

attached below is the remaining part of the solution

4 0
3 years ago
g A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output
Nataly [62]

Answer:

# Program is written in Python Programming Language

# Comments are used for explanatory purpose

# Program starts here

# Accept input

Steps = input (Number of Steps: ")

# Calculate distance

distance = float(2000) * float(steps)

#Print Formatted Result

print('%0.2f' % distance)

# End of Program

.--------

The above program converts number of steps to miles.

At line 5, the number of steps is inputted and stored in variable named Steps.

At line 6, the number of miles is calculated by multiplying 2000 by the content of variable Steps

The result is printed at line 8

8 0
3 years ago
Read 2 more answers
To determine if a product or substance being used is hazardous, consult:__________.
qwelly [4]

Answer:

Option B: An MSDS

Explanation:

A dictionary is used to check up the meaning of general words and not for checking if a substance being used is hazardous. Option A is wrong.

MSDS means "Material Safety Data Sheet" and it contains documents with information that relates to occupational health & safety for checking various substances and products. Thus, option B is correct.

SAE stands for Society of Automotive Engineering and their standards pertain to mainly Automobiles. Thus option C is wrong.

EPA guidelines are mainly for checking facility and environmental health and safety compliance. Thus, option D is wrong.

3 0
3 years ago
Other questions:
  • A manufacturer makes integrated circuits that each have a resistance layer with a target thickness of 200 units. A circuit won't
    5·1 answer
  • Technician A says diesel engines are also called compression ignition engines. Technician B says diesel engines have much higher
    9·1 answer
  • How does a carburetor work?
    7·1 answer
  • On a hot summer day, a student turns his fan on when he leaves his room in the morning. When he returns in the evening, will the
    5·1 answer
  • In a heat-treating process, a 1-kg metal part, initially at 1075 K, is quenched in a closed tank containing 100 kg of water, ini
    10·1 answer
  • A. Derive linear density expressions for BCC [110] and [111] directions in terms of the atomic radius R.
    7·1 answer
  • A hurdler is 0.535 m from a hurdle when he jumps at 6.82 m/s at a 6.79 degree angle. What is his height when he clears the hurdl
    13·1 answer
  • An airplane flies horizontally at 80 m/s. Its propeller delivers 1300 N of thrust (forward force) to overcome aerodynamic drag (
    15·1 answer
  • The coefficient of performance of a reversible refrigeration cycle is always (a) greater than, (b) less than, (c) equal to the c
    12·1 answer
  • Why might many general contractors begin their careers as construction workers?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!