Question

.1. Write a Python script for compute P50 k=1 P100 j=−2 (k − 2j) 2. It...

.1. Write a Python script for compute P50 k=1 P100 j=−2 (k − 2j)

2. It is clear that the cardinality of the Natural numbers is no more than the cardinality of the Rational numbers. Show that Rational numbers have cardinality no greater than the natural numbers (and therefore they have the same cardinality).

3. Prove (by contradiction) that the real numbers are uncountable.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Ans :

As HOMEWORKLIB RULES i suppose to do only one question.

2)

3)

Real numbers are uncountable but they are simultaneously countable and this is mathematically possible too, so to understand this I have an example and then I will prove the theorem that is given by Georg Cantor and commonly known as cantor's theorem which proves that real numbers are uncountable (by contradiction)

example

suppose there is a number line and we spot any two numbers on the number line and then we have to find the numbers between the two.

let us take 0 and 1

and we have to find all the numbers between them, and the numbers between the numbers are infinite like 0.1, 0.2, 0.3, ......

so actually we can count limited real numbers but we can't count all real numbers

Theorem (by contradiction)

lets A be the set and P(A) be the power set of A then |A|<|P(A)| i.e. cardinality of a set is strictly dominated by the cardinality of its power set.

Let A be any non-empty set and P(A) be its power set.

To prove: |A|<|P(A)|

proof: let us define set B B={{x}|x∈A}

let us define a function also f: B →A

f({x}) = x

B ~ A which means |B|=|A| equation 1

B ⊆ P(A)

|B| ≤ |P(A)| equation 2

|A| ≤ |P(A)|

have to prove |A| ≤ |P(A)|

let us assume |A| = |P(A)| (assuming contradictingly)

let g:A → P(A)

x∈ A = g(x) ∈ p(A) equation 3

c = {x ∈ A | x ∉ g(x) } equation 4

from equation 3 g(x) ⊂ A

from equation 4 c ⊂ A

g(x) = c equation 5

now α ∈ A , α ∈ c or α ∉ c

case 1: when α ∈ A then α ∉ c

then α ∉ g(x) from equation 4

α ∉ c as g(α)=c

case 2: when α ∈ A then α ∉ c

α ∉ g(α) as g(α)=c

α ∈ c from equation 4

|A| ≠ |P(A)|

Hence |A| < |P(A)|

Thank you...

Add a comment
Know the answer?
Add Answer to:
.1. Write a Python script for compute P50 k=1 P100 j=−2 (k − 2j) 2. It...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1)Complete each of the following statements using the words “greater than”, “less than” or “equal to”...

    1)Complete each of the following statements using the words “greater than”, “less than” or “equal to” a) The cardinality of the even numbers is _________________ the cardinality of the natural numbers. b) The cardinality of the natural numbers is _________________ the cardinality of the positive rational numbers. c) The cardinality of the natural numbers is _________________ the cardinality of the rational numbers. d) The cardinality of the real numbers is _________________ the cardinality of the natural numbers. e) The cardinality...

  • Write a Python script that allows a user to input three exam scores. Display a congratulatory...

    Write a Python script that allows a user to input three exam scores. Display a congratulatory message if the average exam score across all three is greater than 95%. Your solution should follow these general steps; Obtain the first exam score from the user in the form score/max Example: 93/100 Obtain the second score Obtain the third score Check that the user provided numbers and compute the average test score Display the average If the average was greater than 95%,...

  • Exercise 1 - Create a List to Sum Values Write a python script that sums the...

    Exercise 1 - Create a List to Sum Values Write a python script that sums the values in a list called add_list that contains the following values: (10, 2, -4, 8). Make sure you include a for loop when iterating through the list to sum the values. Take screenshots of the code and output. Exercise 2 – Create a Dictionary Write a python script that prints a dictionary where the key numbers are 1, 2, 3, 4, and 5 and...

  • Python Script format please! 1. Write a script that takes in three integer numbers from the...

    Python Script format please! 1. Write a script that takes in three integer numbers from the user, calculates, and displays the sum, average, product, smallest, and largest of the numbers input. Important things to note: a. You cannot use the min() or max() functions, you must provide the logic yourself b. The calculated average must be displayed as an integer value (ex. If the sum of the three values is 7, the average displayed should be 2, not 2.3333). Example:...

  • Write python script that implementing the following: 1. Print PID of itself. 2. If the running...

    Write python script that implementing the following: 1. Print PID of itself. 2. If the running OS is linux; print loadavg. 3. Take and print “5 min loadavg” value and cpu core count. If the loadavg value is near (or close) to the cpu core count (hint: nproc - 5min loadavg < 1) then exit script.

  • question about linear algebra 21. The following two lines := -i+j+ k + t(2i - 2j - 2k), t e R r and y2 1 = 2 -1 interse...

    question about linear algebra 21. The following two lines := -i+j+ k + t(2i - 2j - 2k), t e R r and y2 1 = 2 -1 intersect each other. What is the equation of the line (where s E R) passing through the intersection point of these two lines and perpendicular to both of them? r -ijk s(i - j - k) (a) (b) r i2j+3k + s(i - 2j + 7k) (c) (d) rsik) (e) =j-k s(i...

  • With exercise 5, the first person did it wrongly. We are to define k to be...

    With exercise 5, the first person did it wrongly. We are to define k to be the largest integer such that root 2+k/n is less than or equal to a. Please an expert should solve this + In Exercise 11 from Tutorial 6, we showed that if is an irrational number and y is a nonzero rational number, then ry is an irrational number. For example, 23 and are both irrational In Tutorial 5, we proved that between any two...

  • Answer the following questions using linux 1) Write a Python script so that a file whoComesForDinner.txt...

    Answer the following questions using linux 1) Write a Python script so that a file whoComesForDinner.txt formatted like this:      Tuesday we have Joe McHungry and Paul McHungry Wednesday we have Cindy Johnston and Paul Paulsen Thursday we have Amin Mirzaei and Atefeh Mirzaei gets turned into that: The McHungry on Tuesday Cindy and Paul on Wednesday The Mirzaei on Thursday 2)Write a script that takes as argument a port number. It returns the next port that is not assigned to...

  • An m×n array A of real numbers is a Monge array if for all i,j,k, and l such that 1≤i<k≤m and ...

    An m×n array A of real numbers is a Monge array if for all i,j,k, and l such that 1≤i<k≤m and 1≤j<l≤n , we have >A[i,j]+a[k,l]≤A[i,l]+A[k,j]> In other words, whenever we pick two rows and two columns of a Monge array and consider the four elements at the intersections of the rows and columns, the sum of the upper-left and lower-right elements is less than or equal to the sum of the lower-left and upper-right elements. For example, the following...

  • 1) Translate the following equation into a Python assignment statement 2) Write Python code that prints...

    1) Translate the following equation into a Python assignment statement 2) Write Python code that prints PLUS, MINUS, O ZERO, depending on the value stored in a variable named N. 3) What is printed by: 3 - 1 while 5: while 10 Print ) Page 1 of 9 4) Write a Python while loop that reads in integers until the user enters a negative number, then prints the sum of the numbers. 1-2 of 9 4) Write a Python while...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT