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
iris [78.8K]
2 years ago
12

Suppose there are n chairs in a row. We want to compute the number of ways to put 2 students into seats so that they are not nex

t to each other. Assume that students are interchangeable: e.g., if n = 3, the solution should be 1, because the only way to accomplish this is to use the first and last chairs. For both parts to this problem, you must explain why your answer is correct: it is not sufficient to compute a few values directly and look for a pattern.
a. Write a recurrence relation describing the number of ways to put the 2 students into seats so that they are not next to each other.
b. Repeat part a, but now suppose the chairs are in a circle (hint: it might help if you label the chairs 1, ... n, even though they are in a circle without a 'start' or 'end').

Engineering
1 answer:
icang [17]2 years ago
8 0

Complete Question

The complete question is shown on the first uploaded image

Answer:

a) f_{(n)} = f_{(n-1)} + n-2

b) g_{(n)} = g_(n+1) + (n-2)

Explanation:

The explanation is shown on the second and third uploaded image

You might be interested in
The snowmobile has a weight of 250 lb, centered at G1, while the rider has a weight of 150 lb, centered at G2. Ifh=3ft, determin
KATRIN_1 [288]

Answer:

See explaination

Explanation:

Please kindly check attachment for the step by step solution of the given problem.

5 0
3 years ago
List one advantage and one disadvantage of the use of the commutator?
Mariulka [41]

Answer and  Explanation:

Commutator are used in DC machine commutator is mainly used for the reversing the direction of the current .It is connected to the armature of the DC generator or motor

ADVANTAGE OF COMMUTATOR The main advantage of the commutator in DC motor is to keep keep the direction of the toque always in the same direction by changing the current direction

DISADVANTAGE OF COMMUTATOR : The main disadvantage is due to the friction between the commutator and brushes there is a friction loss.

3 0
3 years ago
Assign numMatches with the number of elements in userValues that equal matchValue. userValues has NUM_VALS elements. Ex: If user
Thepotemich [5.8K]

Answer:

import java.util.Scanner;

public class FindMatchValue {

  public static void main (String [] args) {

     Scanner scnr = new Scanner(System.in);

     final int NUM_VALS = 4;

     int[] userValues = new int[NUM_VALS];

     int i;

     int matchValue;

     int numMatches = -99; // Assign numMatches with 0 before your for loop

     matchValue = scnr.nextInt();

     for (i = 0; i < userValues.length; ++i) {

        userValues[i] = scnr.nextInt();

     }

     /* Your solution goes here */

         numMatches = 0;

     for (i = 0; i < userValues.length; ++i) {

        if(userValues[i] == matchValue) {

                       numMatches++;

                }

     }

     System.out.println("matchValue: " + matchValue + ", numMatches: " + numMatches);

  }

}

8 0
3 years ago
True or false tensile forces are smaller in arch bridges
Ivan

Answer:

True

Explanation:

The tensile forces are small in most arches and usually negligible.

4 0
2 years ago
A heat engine that rejects waste heat to a sink at 520 R has a thermal efficiency of 35 percent and a second- law efficiency of
xeze [42]

Answer:

The source temperature is 1248 R.

Explanation:

Second law efficiency of the engine is the ratio of actual efficiency to the maximum possible efficiency that is reversible efficiency.

Given:  

Temperature of the heat sink is 520 R.

Second law efficiency is 60%.

Actual thermal efficiency is 35%.

Calculation:  

Step1

Reversible efficiency is calculated as follows:

\eta_{II}=\frac{\eta_{a}}{\eta_{rev}}

0.6=\frac{0.35}{\eta_{rev}}

\eta_{rev}=0.5834

Step2

Source temperature is calculated as follows:

\eta_{rev}=1-\frac{T_{L}}{T}

\eta_{rev}=1-\frac{520}{T}

0.5834=1-\frac{520}{T}

T = 1248 R.

The heat engine is shown below:

Thus, the source temperature is 1248 R.

6 0
3 years ago
Other questions:
  • The popularity of orange juice, especially as a breakfast drink, makes it an important factor in the economy of orange-growing r
    14·1 answer
  • In what situation you would prefer to use a successive approximation ADC over flash ADC?
    13·1 answer
  • Consider a fully-clamped circular diaphragm poly-Si with a radius of 250 μm and a thickness of 4 μm. Assume that Young’s modulus
    14·1 answer
  • Answer every question of this quiz
    7·1 answer
  • Write a program that uses while loops to perform the following steps: Step a: Prompt the user to input two integers: firstNum an
    12·1 answer
  • As an employee, who is supposed to provide training on the chemicals you are handling or come in contact with at work?
    5·2 answers
  • Which process made making copies of technical drawings easier?
    8·1 answer
  • What is the function rule for the line? f(x)=−32x−2f(x)=−23x−2f(x)=32x−2f(x)=−32x+2A coordinate grid with x and y axis ranging f
    6·1 answer
  • 7–2 Cooling of a Hot Block by Forced Air at High
    6·1 answer
  • An open top concrete tank is available to a construction crew to store water. The job site has a daily requirement for 500 gallo
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!