×
Get Full Access to Discrete Mathematics With Applications - 4 Edition - Chapter 9.1 - Problem 23e
Get Full Access to Discrete Mathematics With Applications - 4 Edition - Chapter 9.1 - Problem 23e

×

# Suppose A[1], A[2], A[3], . . . , A[n] is a

ISBN: 9780495391326 48

## Solution for problem 23E Chapter 9.1

Discrete Mathematics with Applications | 4th Edition

• Textbook Solutions
• 2901 Step-by-step solutions solved by professors and subject experts
• Get 24/7 help from StudySoup virtual teaching assistants

Discrete Mathematics with Applications | 4th Edition

4 5 1 369 Reviews
13
4
Problem 23E

Suppose A[1], A[2], A[3], . . . , A[n] is a one-dimensional array and n ? 50.a. How many elements are in the array?b. How many elements are in the subarrayA[4], A[5], . . . , A[39]?c. If 3 ? m ? n, what is the probability that a randomly chosen array element is in the subarrayA[3], A[4], . . . , A[m]?d. What is the probability that a randomly chosen array element is in the subarray shown below if n = 39?

Step-by-Step Solution:
Step 1 of 3

MATH​ ​103​ ​Chapter​ ​2​ ​Notes Set​ ​​​ ollection​​ f​ ​objects​ ​well​ ​defined ● {A} Element​ - ​​​ ember​ ​of​ ​a​ et ● ∈ ● 1​ ​​∈​ ​​A ● 5​ ​​∉​ ​​A Sets​ ​are​​ esignated​ ​by: ● Word​ ​description​ ​(1st​ ​3​ l​ etters​ ​of​ ​the​ ​alphabet) ● Listing​ ​ r​ ​roster​ ,​ ,​ ​c​ ​} ● Set​ ​builder​ ​notation​ ​{​ ​x​ ​|​ ​x​ ​is​ ​the​ ​first​ ​3​ ​letters​ ​of​ ​the​ ​alphabet​ ​} Empty​ ​or​ ​ ull​ et ● Ø​ ​​ r​ ​​ ​{​ ​​ ​​ ​} ● NEVER​​ ​​uses​ ​{​ ​Ø​ ​} Cardinal​ ​Number​​ ​-​ ​​number​ ​of​ ​elements​ ​in​ ​a​ ​set​ ​(how​ ​many) ● If​ ​​ ​A​ ​=​ ​{​ ​1,​ ​2,​ ​3,​ ​4​ ​},​ ​then​ ​​ ​n(A)​ ​=​ ​4​ ​​ ​(because​ ​there​ ​are​ ​four​ ​numbers,​ ​or​ ​elements,​ ​in​ ​that set) Finite​

Step 2 of 3

Step 3 of 3

#### Related chapters

Unlock Textbook Solution