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
will social media lose its relevance?
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
Answer:
91919.18182
Explanation:
Answer:
91,919 .1HOPE IT HELPS .
I need someone to explain gor me python coding!
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?
Answer:
White brothers!!
Explanation:
fill in the blank with the correct response
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
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?
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
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
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
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
Answer:
B => false
Explanation:
it just keep it on recycle bin => not being removed
so in media literacy,
what roles do confirmation bias, stereotyping, and other cognitive biases impact how we interpret events, news, and information?
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?
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.
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?
which computer are used by mobile employees as Meter readers.
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! ...!
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.
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.
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.
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.
Answer:
OKAYYYY
Explanation:
BIJJJJJJJSGJSKWOWJWNWHWHEHIWJAJWJHWHS SJSJBEJEJEJEJE SJEJBEBE
what dose the following tool's do?
1-caption
2-back color
3-font
4-alignment
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
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?
0 1 2 will be the output of the function
3 type of keyboarding
Answer:
Mechanical Keyboards, Wireless Keyboards and Projection Keyboards
Explanation:
hope it helps
how do you copy a file
Answer:
right click and press control c
computer in education are used for teaching and learning aids
Input two numbers and work out their sim, subtraction, multiplication, division, remainder, average and sum of the squares of the numbers.
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
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
format please? i cant understand