Student Name – Jaskirat Singh Student ID – 300191095
COURSE :- COMP-125-ON1 ASSIGNMENT - 1 Instructor – Leon Pan
Chapter 1 – Exercises 8 and 18 (page 39 and 41)
E8. Under what conditions would the well-known quadratic formula
−b ± √ b −4 ac
2
Roots = −b ± √ b
2a
not be effectively computable?(Assume that
you are working with real numbers.)
- Quadratic formula will not be effectively computable if
The square root of a number either has a large number of digits after the
decimal.
It is an irrational number in which the digits after the decimal is not defined
E18. A standard computer DVD holds approximately 5 billion characters.
Estimate how many linear feet of shelf space would be required to house 5
billion characters encoded as printed bound books rather than as electronic
media. Assume there are 5 characters per word, 300 words per page, and
300 pages per inch of shelf.
- To get total number of words
5000000000
Divide 5 billion by 5 5 = 1000000000
To get total number of pages
Divide the total number of words bye 300
COURSE :- COMP-125-ON1 ASSIGNMENT - 1 Instructor – Leon Pan
Chapter 1 – Exercises 8 and 18 (page 39 and 41)
E8. Under what conditions would the well-known quadratic formula
−b ± √ b −4 ac
2
Roots = −b ± √ b
2a
not be effectively computable?(Assume that
you are working with real numbers.)
- Quadratic formula will not be effectively computable if
The square root of a number either has a large number of digits after the
decimal.
It is an irrational number in which the digits after the decimal is not defined
E18. A standard computer DVD holds approximately 5 billion characters.
Estimate how many linear feet of shelf space would be required to house 5
billion characters encoded as printed bound books rather than as electronic
media. Assume there are 5 characters per word, 300 words per page, and
300 pages per inch of shelf.
- To get total number of words
5000000000
Divide 5 billion by 5 5 = 1000000000
To get total number of pages
Divide the total number of words bye 300