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
Marysya12 [62]
3 years ago
11

Suppose that for an experimental device setup we have to choose settings for three parameters. There are 4, 3 and 5 settings for

parameters 1, 2 and 3 respectively. The order in which the settings will be chosen is not does not matter. How may configurations does the device allow
Computers and Technology
1 answer:
Tpy6a [65]3 years ago
8 0

Answer:

Number of configurations does the device allow = 1

Explanation:

Given:

Number of parameters = 3

setting to choose for parameters = 3

Order does not matter

To find:

Number of configurations the device allows

Solution:

We will use Combinations here. This cannot be achieved through permutations because we have to choose settings 1,2,3 (3 settings) for three parameters 4,3,5 and the order does not matter but in permutation order does matter. So here we use Combinations. The formula for combination is:

C(n,r) = n! / r! (n-r)!

Here the number of parameters is 3 i.e. 1,2,3 and settings are also 3 i.e. 4,3,5 So,

n = 3

r = 3  

Putting these values in the above formula we get:

nCr  = n! / r! (n-r)! = 3! / 3! (3-3)!

                            =  3*2*1 /3*2*1 (0)!              

                            =   3*2*1 /3*2*1 (1)               Since 0! = 1

                            = 6 / 6

                nCr      = 1

So when order of settings 4,3,5 does not matter the number of configurations that device can allow is 1.

If the repetition is allowed and order does not matter then we can use the following formula:

(r + n - 1)! / r!(n-1)! = (3 + 3 - 1)! / 3! (3-1)!

                           = 5! / 3! 2!

                           = 5*4*3*2*1 / (3*2*1)(2*1)

                           = 120 / 12

(r + n - 1)! / r!(n-1)! = 10

For example if we have same setting for more than 1 parameters the combinations can be:

333, 444, 555, 445, 443, 554, 553, 334, 335, 345

But it is unlikely that a setting can be repeated for more than 1 parameter a a time.

You might be interested in
Visual Basics: 1 ) Write an if/else statement that compares the double variable pH with 7.0 and makes the following assignments
Lemur [1.5K]

Answer:

visual basic: 1)

Module PHmodule

   Sub Main()

       'Creating a variable for each entity

       dim ph as double = 0.0, neutral,base,acid as boolean

       'Writing a line to show user what to do

       console.writeline("Enter the pH :")

       'Taking the value

       ph=console.readline()

       'using if & elseif statement for distingushing the values into correct catagories

       if ph<7.0 then

       neutral=false:base=false:acid=true

       elseif ph>7.0 then  

       neutral=false:base=true:acid=false

       elseif ph=7.0 then

       neutral=true:base=false:acid=false

       end if

       'Printing the result

       console.writeline(" Neutral :" & Neutral)

       console.writeline(" base :" & base)

       console.writeline(" acid :" & acid)

       'command for staying in the command prompt for reading the result

       console.readline()

   End Sub

End Module

visual basic: 2)

Module AGEmodule()

  Sub Main()

       'Creating a variable for each entity

       dim age,minors,adults,seniors as integer = 0

       'Taking age from user

       console.writeline("Enter the age")

       age=console.readline()

       'using if & elseif statement for checking the age differnce

       if age<18 then'

       minors +=1

       else if age>18 and age<64 then

       adults +=1

       else if age>64 then  

       seniors +=1

       end if

       'printing result

       console.writeline("minors="&minors)

       console.writeline("adults="&adults)

       console.writeline("seniors="&seniors)

       'command for reading the result  

       console.readline()

  End Sub

End Module

Explanation:

visual basic 1) it is very simple program which allow us to find if the substance is acidic, basic or neutral. we use sim statement for making a variable as double (gives value in decimal) which allow to take a value from the user through console.readline() command and then by using the if statement we apply the condition if the ph is less then, greator then or equal to 7.0 value. thus the program gives us the answer. console.writeline() command is used to print a command on the screen while console.readline() command let us read the lines until we press enter.

visual basic 2)a program which allow us to count and add number of persons according to their age. we use dim statement for creating the variable as integers in which we take the age from user and then after checking it through if statement we increment according to three categories i.e. minors, adults, seniors. the console.writeline() command allow us to print anything on screen and console.readline() allowus to take value while compiling.

thank you...

6 0
3 years ago
An Internet service provider that wants to influence consumers to immediately switch to its service would most likely utilize __
frutty [35]

Answer: Direct competitive

Explanation:

 The direct competitive situation occur when the two and more than two business in the market offering the similar type of services and the products so it automatically increase the level of competition in the market.

According to the question, the internet service is one of the most efficient tool for influence the customers or consumers about their products in the market and when the services are get switched then it utilize the direct competitive in the market.

Therefore, direct competitive is the correct option.

6 0
3 years ago
Which code snippet calculates the sum of all the even elements in an array values? Group of answer choices int sum = 0; for (int
olganol [36]

Answer:

The second one:

int sum = 0; for (int i = 0; i < values.length; i++) { if ((values[i] % 2) == 0) { sum += values[i]; } }

5 0
3 years ago
Asking questions when something is unclear is part of
Ksenya-84 [330]
Personally responsibility

Hope this helps
6 0
3 years ago
Does anyone know who this man issss?
devlian [24]

Kaeya Should be the correct answer

3 0
3 years ago
Other questions:
  • Jim wants to develop an app for a specific purpose that would run even when his computer is not connected to the Internet. What
    11·1 answer
  • What's the ASCII code for boy ?
    15·1 answer
  • The chief reason that family and friends are frequent targets of aggression is that
    6·1 answer
  • I analyze data, as a consultant, for companies making important business decisions. In order to get my point across, which of th
    11·1 answer
  • An electronic storage file where information is kept is called a cpu. true false
    11·1 answer
  • The process of identifying and eliminating bugs in a software program is most generally called
    5·1 answer
  • Describe the difference between a chained conditional and a nested conditional. Give your own example of each.
    5·1 answer
  • If 2 people use my code D9R2M on fetch reward and scan receipts I will give brainliest ​
    13·2 answers
  • FIRST TO Answer for free brainlest. GOG GOGOGO
    6·1 answer
  • Which way do you swipe in ios to get to the control center
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!