Solved

Needs help in function

Posted on 2011-09-07
3
384 Views
Last Modified: 2012-05-12
Let E be the set of all even integers and let O be the set of all odd integers

a. Explain why E U O belongs to Z
b. Explain why Z belongs to E U O

Thanks.
0
Comment
Question by:mustish1
3 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 36494412
Are there any integers which are not even or odd?
0
 
LVL 6

Assisted Solution

by:akajohn
akajohn earned 100 total points
ID: 36494856
This may help: The definition of parity:
http://en.wikipedia.org/wiki/Parity_(mathematics)
Integers are either odd or even. _ Just rephrasing what Ozo said.

Hence the sum of both is the list of all integers, Z.


A.
0
 
LVL 19

Accepted Solution

by:
Bardobrave earned 400 total points
ID: 36494996
a)

Z is the collection of all integers.
E is a collection of integers
O is a collection of integers
The union of two collection of integers will be a greater collection of integers, so it has to be contained in Z

b)
All integers are even or odd (depending on if they division by 2 returns a mod of 0 or 1, so "0" is an even number).
E is the collection of all even integers (included the "0")
O is the collection of all odd integers
Z is the collection of all even and odd integers, and by definition it will be included in the union of E and O (actually it's the same).
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Iteration: Iteration is repetition of a process. A student who goes to school repeats the process of going to school everyday until graduation. We go to grocery store at least once or twice a month to buy products. We repeat this process every mont…
Have you ever thought of installing a power system that generates solar electricity to power your house? Some may say yes, while others may tell me no. But have you noticed that people around you are now considering installing such systems in their …
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now