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
Disconnecting a circuit while in operation can create a voltage blank
zlopas [31]

Answer:

what is the question

Explanation:

confused

5 0
3 years ago
An electric power plant uses solid waste for fuel in the production of electricity. The cost Y in dollars per hour to produce el
andrew-mc [135]

Answer:

15.64 MW

Explanation:

The computation of value of X that gives maximum profit is shown below:-

Profit = Revenue - Cost

= 15x - 0.2x 2 - 12 - 0.3x - 0.27x 2

= 14.7x - .47x^2 - 12

After solving the above equation we will get maximum differentiate  for profit that is

14.7 - 0.94x = 0

So,

x = 15.64 MW

Therefore for computing the value of X that gives maximum profit we simply solve the above equation.

8 0
4 years ago
An Ideal gas is being heated in a circular duct as while flowing over an electric heater of 130 kW. The diameter of duct is 500
max2010maxim [7]

Answer: The exit temperature of the gas in deg C is 32^{o}C.

Explanation:

The given data is as follows.

C_{p} = 1000 J/kg K,   R = 500 J/kg K = 0.5 kJ/kg K (as 1 kJ = 1000 J)

P_{1} = 100 kPa,     V_{1} = 15 m^{3}/s

T_{1} = 27^{o}C = (27 + 273) K = 300 K

We know that for an ideal gas the mass flow rate will be calculated as follows.

     P_{1}V_{1} = mRT_{1}

or,         m = \frac{P_{1}V_{1}}{RT_{1}}

                = \frac{100 \times 15}{0.5 \times 300}

                = 10 kg/s

Now, according to the steady flow energy equation:

mh_{1} + Q = mh_{2} + W

h_{1} + \frac{Q}{m} = h_{2} + \frac{W}{m}

C_{p}T_{1} - \frac{80}{10} = C_{p}T_{2} - \frac{130}{10}

(T_{2} - T_{1})C_{p} = \frac{130 - 80}{10}

(T_{2} - T_{1}) = 5 K

T_{2} = 5 K + 300 K

T_{2} = 305 K

           = (305 K - 273 K)

           = 32^{o}C

Therefore, we can conclude that the exit temperature of the gas in deg C is 32^{o}C.

7 0
3 years ago
A building wall has dimensions of 3 m tall and 10 m wide. It is constructed of 2 cm. wallboard (k = 0.5 W/m-C) on the inside, 3
Art [367]

Answer: heat loss through wall is 16.58034kW

Temperature of inside wall surface is 47°c

Temperature of outside wall surface is -2.7°c

Explanation:detailed calculation and explanation is shown in the image below.

4 0
3 years ago
A Carnot cycle is to be designed to attain
Anni [7]

Answer:

reservoir is 727°C, then low temperature

Explanation:

Efficiency for any Heat engine = Work done by engine / Heat provided to the engine

Also, for a carnot engine derived formula for Carnot Engine

= 1- T2/T1

Where, T2 = sink reservoir temperature

and T1 = source reservoir temperature

727° C = 1000 K

So, 0.75 = 1-T2 / 1000

So, T2 = 1000*0.25 = 250 K = -23 Kelvin

8 0
3 years ago
Other questions:
  • To operate a vehicle in Florida, you must
    10·2 answers
  • These tadpoles are confined to a limited environment. What are they all competing for in that environment
    12·2 answers
  • Please help me with this question​
    8·1 answer
  • Automotive service P2 Wastewater Management and Handling Spins
    9·1 answer
  • Due at 11:59pm please help
    14·1 answer
  • The products of combustion from a burner are routed to an industrial application through a thin-walled metallic duct of diameter
    11·1 answer
  • what is the expected life 1 inch diameter bar machined from AISI 1020 CD Steel is subjected to alternating bending stress betwee
    9·1 answer
  • A. A compound gear train is composed of four gears: E,F,G,H. Gear E has 15 teeth and is meshed with gear F. Gear F has 25 teeth
    11·1 answer
  • Construct a link mechanism of crank oa 30mm rotating clockwise rod ab 100mm and bc 50mm
    13·1 answer
  • Which of the following is a Dashboard Scoreboard for alignment of the business where information is constantly flowing through t
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!