1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
expeople1 [14]
3 years ago
12

Show that, if n is an integer and n^3 + 5 is odd, then n is even, using:

Computers and Technology
1 answer:
Ilya [14]3 years ago
7 0

Answer:

Explanation:

Let  n be an integer

Given that n^3+5 is odd

To prove that n is even

a) Proof by contraposition

Let n^3+5 be non odd

Then this would be a multiple of 2 being even

n^3+5 = 2m\\n^3=2m-5\\n^3=2(m-3)+1

i.e. we get cube of n is odd since gives remainder 1 when divided by 2

It follows that n is odd.

Thus proved by contraposition

b) contradiction method:

If possible let n^3+5 is odd for n odd.

Then we get

since n is odd,

n^3 is odd being the product of three odd numbers

When we add 5, we get

n^3+5 is even being the sum of two odd numbers

A contradiction

Hence our assumption was wrong

if n is an integer and n^3 + 5 is odd, then n is even

You might be interested in
What is the main difference between inserting header/footer in excel and word?​
Zepler [3.9K]

Answer:

Header is at the top of the page and used for epicas and titles, while footers at the bottom are used for footnotes or page number

7 0
3 years ago
What's your thoughts on people using Brainly to cheat academically?
lys-0071 [83]

Answer:

At this point, school isnt even about learning anymore. Its just about passing so you dont end up being a dropout or just a bum in general cause not everyone has the skills to make something out of nothing.

Explanation:

7 0
3 years ago
Read 2 more answers
Pseudocode of creating a program to convert to IEEE 754 to a real number
Eduardwww [97]

Answer:

  • Step1: Check If the number is Positive or Negative.  
  • Step2: If it is positive then save the sign of it as 0.  
  • Step3: If it is negative then save the sign of it as 1.
  • Step4: Covert the negative number to Positive.
  • Step5: Convert the IEEE 754 to Binary.
  • Step6: convert the integer part into binary form  
  • Step7: Convert fractional part into binary form
  • Step8: To convert Integer part, Devide the number by 2 and note down the reminder and Keep deviding unless dividend is less than 2
  • Step9: copy all the reminders together
  • Step10: Multiply decimal part by 2 unless fractional part is 0.
  • Step11: By noting down integral part, keep multiplying decimal part by new value of 2 untill perfect number is reached.
  • Step6: Find the Mantissa.
  • Step7: Concatinate the Sign, exponent and the mantissa.

Explanation:

For Example : 20.75

First step (converting 50 (in base 10) to binary):

  • No is Positive
  • By dividing 20 by 2, which gives 10 with no remainder 0.
  • Now Devide 10 by 2, which gives 5 with a remainder of 0.
  • Now Devide 5 by 2, which gives 2 the reminder as 1
  • Now Devide 2 by 2, which gives 1 with reminder as 0
  • Now devide 1 by 2, which gives 0 with reminder as 1
  • We read the result from bottom to top  which is 10100

Second part is to convert 0.75 to binary:

  • We have to multiply 0.75 by 2, which gives 1.5. We keep only the integer part, which is 1.  
  • Now, we do 1.5 - 1, which gives 0.5. Now, We multiply 0.5 by 2, which gives 1.  
  • Now we do 1 - 1, which gives 0.
  • Reading from Top to bottom will give 110

Final Answer is : 10100.110

8 0
3 years ago
Explain the development, design and implementation aspects of algorithms in the development of software.
shtirl [24]

Explanation:

Phases of software development are ;

1. Requirements analysis

2.Domain analysis

3.Client-oriented design

4.Implementation-oriented design

5.Implementation

6.Integration

7.Packaging.

Ongoing Activities in Software Development

1. Risk analysis

2. Planning

3.Verification

4.Documentation

8 0
3 years ago
A10:A20 Refer to values in
charle [14.2K]
Im trying to solve this problem
6 0
3 years ago
Other questions:
  • Assume that you have an array of integers named arr. The following program segment is intended to sum arr [0]through arr[n−1], w
    7·1 answer
  • You just read an msds for acetic acid. based on what you read, what type of information is included in an msds sheet? record you
    7·1 answer
  • Is microsoft word the same as microsoft office?
    12·2 answers
  • What is the letter for the trash directory on windows 10?
    13·2 answers
  • a. Do you think the U.S. government should censor information on the Web, such as instructions for making weapons, to protect th
    12·1 answer
  • Backordered Parts is a defense contractor that builds communications parts for the military. The employees use mostly Web-based
    10·1 answer
  • Which of the following is NOT areserved word in Java?intpublicstaticnum
    9·1 answer
  • While organizing his computer's power cords, Matt realizes his printer power cord is frayed (coming apart). What should Matt do
    10·1 answer
  • DRAG DROP -A manager calls upon a tester to assist with diagnosing an issue within the following Python script:#!/usr/bin/python
    11·1 answer
  • 1 cup coffee cream = ____ tbsp butter plus ____ c milk
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!