Find integers q and r

Assignment Help Basic Computer Science
Reference no: EM13854734

Q1. For each of the following values of n and d find integers q and r such that n =dq+r and 0≤r<d

n = 70, d= 8
n= 62, d=7
n=-45, d=10
n=3, d=7
n=36, d=6

Q2. Prove that for all real numbers x and y ,|x+y|≤|x|+|y| (the triangle inequality)

Q3. Prove that for all integers n,n^2-n +5 is odd.

Q4. Give reason for your answer in the following statements. Assume that m and n variables are integer:

Is 52 divisible by 13?

Does 6|0

Is 6n(4n+10) divisible by 4

Is 2m(5m+15)divisible by 5m

Q5. Suppose a is an integer. If a mod 12 is 5 , what is 8a mod 12:

Q6. Determine whether the statement below is true or false. Prove the statement directly from definition if it is true, and give a counterexample if it is false:

For all integers a,b, and c, if a|(b+c), then a|b or a|c

Q7. Is it possible to have 50 coins, made up of pennies, dimes, and quarters, that add up to $3? Explain.

Q8. Prove that ?2 is irrational

Reference no: EM13854734

Questions Cloud

Christianity teaches that god exists in three persons : Christianity teaches that God exists in three persons:
How does your deposit change the banks t-account : Why do some economists claim that we should not worry too much about inflation at this level - What are the other costs be to consider if the inflation rate unexpectedly turns out to be higher than 7% - How does your deposit change the Bank's T-acc..
Advantages and disadvantages of repeated measures : Define mixed designs and name two assumptions of mixed designs
Advantages and disadvantages of repeated measures : Define mixed designs and name two assumptions of mixed designs
Find integers q and r : Q1. For each of the following values of n and d find integers q and r such that n =dq+r and 0≤r
What is the prevalence of diastolic hypertension? : How many patients are represented in these data?____
Develop a literature review into detailed research proposal : You must develop your Literature Review into a detailed research proposal by narrowing the focus of your and background research. Continue your investigation into the topic in your Literature Review.
Distribution of the width of a standard piece of computer : The distribution of the width of a standard piece of computer paper is normal with an expectation
What is the world trade organization : What is the World Trade Organization. Why are protests frequently held against what the WTO represents. Research websites and publications that support and dispute the aims of the WTO and explain the role and purpose of the organization for a gene..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Security threat report

Determine whether or not you believe that the mobile device threats are the most critical and disturbing of all of the security threats presented in the articles. Provide a rationale for your response.

  How have the legal authorities ruled on ssa decisions

How have the legal authorities ruled on SSA Decisions where the higher priced offer is challenged?

  What type of error is associated with an adc

The ADC contained within the 9S12G128 can be configured for several different digital output bits. Which is not the correct configuration?Question 3: What type of error is associated with an ADC that does not have a straight-line transfer function?

  Lan device

Your wireless LAN device has just sent a request to send (RTS). What happens next?

  Define the internet as part of a business solution

Assess the probable difficulties and risks associated with using a public infrastructure such as the Internet as part of a business solution.

  What steps can an organization take to reduce these risks

Examine possible risks that can arise when systems are constructed using COTS. What steps can an organization take to reduce these risks?

  Describing online services provided by selected companies

Identify and briefly describe the online services provided by the selected companies (e.g. online catalogue search, online information search.

  Develop an excel retail or business workbook

You will develop an Excel retail/business workbook and show how to use excel in real life. When learning a business tool like Excel, its power and capabilities are best understood when Excel is used to solve a "REAL LIFE" problem

  Write a usable code snippet that demonstrates an iterator

A client of K & R has come to you for information regarding loops, iterators, and arrays. He needs you to help him comprehend these concepts. To assist this client, briefly address the following in a 1-2 page Notepad document.

  Derive from g1 10b + (a * (a + b000)) {build a tree}

1.      Given grammar G1 uses variables S, and T where alphabet T={+, ?, (, ), a, b,0, 1} with rules

  Decision to utilize components influence requirements

Must RMO consider using purchased components in the new CSS? If so, When, must it begin looking for components? How will decision to utilize components influence requirements, design and implementation phases?

  Voluntarily gravitating to give up our real world experience

In an age of virtual worlds where people are spending inordinate amounts. Are we voluntarily gravitating to this world and giving up our real world experiences for virtual ones?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd