Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Needs help in function

Posted on 2011-09-07
3
389 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Q1. Magnets and Electromagnetism 33 116
Volume Calculation 14 68
Group Data Frequency Distribution 9 50
What is CANH and CANL voltage when CAN Trasceiver is in sleep mode ? 2 19
Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
When there is a disconnect between the intentions of their creator and the recipient, when algorithms go awry, they can have disastrous consequences.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

861 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