Homework1 - BME303 Homework 1 Due on Feb 1 Last Name...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
BME303 Homework 1 Due on Feb 1 Last Name: Kanungo First Name: Anil . Instructions: 1. Each homework must be stapled [50% score deducted otherwise]. 2. The first page of the homework must have a completed heading as above (it can be hand written). 3. Show details of your work, except in the most obvious cases. 4. Your work must be neat and clear. Note: These instructions apply to all the assignments this semester. Book Problems: Problems from textbook: 1.2, 1.6, 1.12, 2.2, 2.6, 2.10, 2.11, 2.14, 2.17, 2.18 1.2 No, both languages are capable of computing the same things. A higher level language may do it more efficiently. 1.6 It costs THAT much? >implies costing too much but could also imply costing too little 1.12 a) 1 5 2 8 b) Natural Prime 1 2 2 3 3 5 4 7 5 11 c) [3 4 9 9 10 8….n] [5 5 2 3 13 6….n] 3 x 5 = 15 4 x 5 = 20 9 x 2 = 18 9 x 3 = 27 10 x 13 = 130 8 x 6 = 48 Sum: 15 + 20 + 18 + 27 + 130 + 48 = 354 [for elements 1-6] d) Yes, Calvin’s technique is a form of an algorithm e) Number: 4 1) 4 x 4 = 16 2) 16 + 4 = 20 3) 20 / 2 = 10 4) 10 – 2 = 8 5) 8 / 2 = 4 6) 4 – 1 = 3 ≠ 0 so counter = 1 and Repeat: 1) 3 x 4 = 12
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern