Solve using Matlab the problems:

One using the permutation of n objects formula

One using the permutation of r objects out of n objects

you can make up your own questions.


Help me please

Answers

Answer 1

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:

How many permutations and combinations can be made of the 15 alphabets, taking four at a time?

The answer is:

32760 permutations

1365 combinations


Related Questions

will social media lose its relevance?​

Answers

Judging from it's prevalence and popularity, there will be a long way to go until people start to lose interest with expressing themselves online. So no, social media will not lose its relevance, but maybe when technology is dead, then it will.

1011111 ÷ 11 in numerical​

Answers

Answer:

91919.18182

Explanation:

Answer:

91,919 .1

HOPE IT HELPS .

I need someone to explain gor me python coding!

Answers

Answer:

Explanation:

Python is a computer programming language often used to build websites and software, automate tasks, and conduct data analysis. Python is a general purpose language, meaning it can be used to create variety of different programs and isn't specialised for any specific problems

Who innovated an aeroplane? ​

Answers

Answer:

White brothers!!

Explanation:

fill in the blank with the correct response

Answers

Answer:

regenerates

Explanation:

a hub regenerates it's signal bit by bit as it travels down the physical medium

What is the different type of secondary memory of a computer system.? explain

Answers

Explanation:

Solid state storage devices

optical storage devices

magnetic storage devices

If Scheme were a pure functional language, could it include DISPLAY ? Why or why not?​

Answers

Answer:

When Scheme is a pure functional language, it cannot include the function DISPLAY. Since the pure functional languages will return the same value whenever the same expression is evaluated, and the DISPLAY would be the output and thus it cannot be part of the purely functional language. Thus in the pure functional language we can evaluate the expressions with the same arguments and it returns the same value since there is no state to change.

Explanation:

What is touch pad ? Computer class four

Answers

Answer:

A touch pad is an input device used for pointing on a computer display screen.

consider a hard disk with the following specifications :
3.5 in diameter

Answers

Answer:

usable capacity = 10 GB

Number of cylinders = 256

Block size = 4 KB

(1)Bytes in each cylinder = (10*230)/(256) = (10*222) = 40 MegaBytes

(2)Number of Blocks in each cylinder = (10*222)/(212) = 10K

(3)capacity of one track = 40 MegaBytes/(10*2) = 2 MB

Rotation speed = 3840 RPM

Number of rotations per second = 3840/60 = 64

Transfer rate = (2*64) = 128 MB/sec

Explanation:

How teachers apply stenhouse theory

Answers

Answer:

In curriculum, a vision of knowledge, the role of the educator and a concept of the process of education are all present. In this sense, Stenhouse suggests that the role of teachers and professors is fundamental in the elaboration and implementation of curriculum.

Which one is the result of the ouWhen you move a file to the Recycle Bin, it will be immediately deleted from your computer.

A. True

B. Fals

Answers

Answer:

B => false

Explanation:

it just keep it on recycle bin => not being removed

False

Explaination :

The deleted file will stay in Recycle Bin for a short period of time before it's permanently deleted from your computer

so in media literacy,
what roles do confirmation bias, stereotyping, and other cognitive biases impact how we interpret events, news, and information? ​

Answers

Answer:

Confirmation biases impact how we gather information, but they also influence how we interpret and recall information. For example, people who support or oppose a particular issue will not only seek information to support it, they will also interpret news stories in a way that upholds their existing ideas.

Class B { Public: Void b1(); Protected: Void b2(); }; Class A : public B { Public: Void a1(); Protected: Void a2(); }; Class C: public A { Public: Void c1(); }; Void main () { B temp1; A temp2; C temp3; } a) Name all member functions of all classes visible through temp1 in the main function? b) Name all member functions of all classes visible through temp2 in the main function? c) Name all member functions of all classes visible through temp3 in the main function? d) Which class is the parent of class A? e) Which class is the child of class A?​

Answers

Answer:

write the questions a little clear we can't read it

viết chương trình hoàn chỉnh các yêu cầu sau:
a. Định nghĩa hàm có tên là PSTG(), có hai tham số kiểu nguyên x và y hàm trả về giá trị phân số x/y ở dạng tối giản.
b. Gọi hàm đã định nghĩa ở trên trong hàm main () để in lên mà hình một phân số x/y ở dạng tối giản, với x và y được nhập từ bàn phím.

Answers

Explanation:

the perimeter of an aluminium sheet is 120 CM if its length is reduced by 10% and its breadth is increased by 20% the perimeter does not change find the measure of the length and the breadth of the sheet

In what tab can a user find the workspace option?

Answers

D. View.
You can find the workspace and preview of the file in View.

which computer are used by mobile employees as Meter readers.​

Answers

Explanation:

handheld computers

Some handheld computers have miniature or specialized keyboards. Many handheld computers are industry-specific and serve the needs of mobile employees, such as meter readers and parcel delivery people, whose jobs require them to move from place to place.

Write a Visual Basic Program to display factorial series upto nth term 1! 2! 3! 4! ...!

Answers

Answer:

n = n(n-1)!

Explanation:

expanding the factorial we get;

1!=1.

2!=2x1.

3!=3x2x1.

4!=4x3x2x1.

5!=5x4x3x2x1.

we can rewrite the above factorials as:

1!=1

2!=2!

3!=2!x3

4!=4x3!

5!=5x4!

the pattern applies such that if we have n th number we get it's factorial as;

n = n(n-1)!

Kith Smallest Number Real World Example

Hello!

What are five reasons why one would need to find the kth smallest number of an array? Also known as the Selection Problem.

I'm looking for 5 real world examples.

Will definitely give brainliest!


The Selection Problem is a problem where we must find the kth order statistic of a given array. As in, we must find the largest kth number. For example, if our array is [1, 3, 4, 5, 9], and k = 3, we would want to find the 3rd largest number, so our algorithm should output the number 4.

Answers

Answer:

A new coffee shop is being built. Its location is the reflection of the arcade's coordinates across

the y-axis. Which procedure will find the correct distance between the arcade and the new coffee shop

Suppose a Huffman tree is to be built for 5 characters. Give a set of 5 characters, and their distinct probabilities (no duplicates), that would result in the tallest possible tree. Show the tree. Derive the average code length: write the expression, you don't have to simplify it down to a single value.

Answers

I love chipotle do you live chipotle

Write a recursive function stringReverse that takes a string and a starting subscript as arguments, prints the string backward and returns nothing. The function should stop processing and return when the end of the string is encountered. Note that like an array, the square brackets ( [ ] ) operator can be used to iterate through the characters in a string.

Answers

Answer:

void stringReverse(string s, int start){

   if(s[start]=='\0'){

       return;

   }

   else{

       stringReverse(s.substr(1,s.length()-1),start+1);

       cout<<s[start];

   }

}

Explanation:

Algorithm
Read marks and print letter grade according to that.

Answers

Answer:

OKAYYYY

Explanation:

BIJJJJJJJSGJSKWOWJWNWHWHEHIWJAJWJHWHS SJSJBEJEJEJEJE SJEJBEBE

what dose the following tool's do?
1-caption
2-back color
3-font
4-alignment​

Answers

Caption:it is used to display speaker's name and describe relevant sounds that are inaccessible to people of hard hearing or who are deaf

Back color: it is used to fill a section's interior. it contains numerical expressions that corresponds

Font: it is used to add style to a document or webpage

Alignment: it is used to describe how text is placed on a screen.

If you like my answer,mark as brainliest

why is Touchpad used in the laptop computer​

Answers

Answer:

in controlling the mouse or cursor

Explanation:

as is it known tha a cursor is a poniting device. and the only way to control it without a mouse is the touchpad

What is the output of this Python program, if the user types 3 as input?

Answers

0 1 2 will be the output of the function

3 type of keyboarding

Answers

Answer:

Mechanical Keyboards, Wireless Keyboards and Projection Keyboards

Explanation:

hope it helps

how do you copy a file​

Answers

Answer:

right click and press control c

computer in education are used for teaching and learning aids​

Answers

i think the answer is 9 but my head really hurt so i’m not sure

Input two numbers and work out their sim, subtraction, multiplication, division, remainder, average and sum of the squares of the numbers.

Answers

def ultimate_math (num1, num2):

try:

array_num = [num1, num2]

print (num1 + num2)

print (num1 - num2)

print (num1 * num2)

print (num1 / num2)

print (num1 % num2)

print ((num1 + num2) / (len(array_num)))

print ((num1**2) + (num2**2))

except ValueError:

return "Invalid Input"

user_num1 = float (input (" Please enter a num: "))

user_num2 = float (input (" Please enter a second num: "))

print (ultimate_math (user_num1, user_num2))

Can someone compress this ipv6 address? 558c:0000:0000:d367:7c8e:1216:0000:66be

Answers

558c::d367:7c8e:1216:0:66be

Suppose you and four of your friends are wirelessly connected with the home wireless router. [03] At this moment router is not transmitting data to the outgoing link and all of you want to browse internet and send packets of same size to the router. Consider the bandwidth of the outgoing link is20Mbps , packet size is 2500 bytes and the processing delay of each packet is
2μs . If your packet is queued at position eleven, calculate the delay after which your packet will be transmitted

Answers

format please? i cant understand

Other Questions
If a right circular cone has radius 4 cm and slant height 5cm then what isits volume? The height of an object dropped from the top of a 144-foot building is given by (. How long will it take the object to hit the ground?)=162+144 . Name Earths layers in order pls i need help with this Solve using Matlab three problems: One using the combination formulaOne using the permutation of n objects formulaOne using the permutation of r objects out of n objectsYou can make up your own questions Does anyone know the clothes line story if anyone knows answer it2. Identify the figures of speech in the following lines.A. Fluttering creatures as white as snow,a. Simile b. Metaphor c. Personification d. AlliterationB. Flip! Flap! Flop! and away they goA. Simile b. Metaphor c. Personification d. Alliteration The teacher is telling a story. The cat is chasing a mouse.into negative find the measure of b Identify a transformation of the function f(x) = _x by observing the equationof the function g(x) = x+1. The seventh-grade class is raising moneyto have a class trip at the end of the year.They began the year with $1,500. Now theyhave $1,650 in the account.What is the percent of increase for themoney the class has raised? Ia.b.Make Sense and Persevere Theclass figured out that if the percentincrease is 99% from the beginning ofthe year, the class will have enoughmoney for every student to go on thefield trip. How much money will theclass need to raise for every student togo. What digit placed in the blank would make the number 138_ divisible by both 4 and 5 Ill give you 30pts and brainliestDo You Understand? I dont understand.1. Essential Question How is subtracting integers related to adding integers? Can someone please help me I dont know how to do this (Due today) A boy is flying a kite from the terrace of his house. The kite is 175 m above the terrace. If the terrace is 80 m from the ground floor, findthe distance between the kite and the basement which is 8 m below the ground level. Question 17 and 18 plz show ALL STEPS and HELP ME ASAP Stevens basketball team won 5 out of their first 12 games. If they continue to win at this rate, how many games will they lose if they play 49 games? Basketball A basketball player makes 8 of 12 free throwsin the first game of the season. If she shoots with the sameaccuracy in the second game, how many of the 15 freethrows she attempts will she make? 1. Summarize the Patient's Bill of Rights. 10. What is the measure of angle y? Please helpQuadrilateral ABCD is a parallelogram. Let E be a point on AB, and let F$\ be the intersection of lines DE and BC The area of triangle EBF is 1, and the area of triangle EAD is 9. Find the area of parallelogram ABCD. In how many years will the compound amount on s 1250 beR 1,458 at 8%