{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# FW08_E - April 2008 Final Examination VERSION 1 COMP 208...

This preview shows pages 1–4. Sign up to view the full content.

COMP 208 1 of 14 April 15, 2008 Final Examination Version 1 April 2008 Final Examination VERSION 1 COMP 208 -- Computers in Engineering Tuesday, April 15, 2008 9:00 – 12:00 A.M. Examiner: Prof. Nathan Friedman Assoc Examiner: Prof. Abubakr Muhammad Student Name: McGill ID: INSTRUCTIONS: This is a CLOSED BOOK CLOSED BOOK CLOSED BOOK examination. This examination consists of 20 multiple choice questions and 2 (two) programming questions, for a total of 22 questions. o The Examination Security Monitor Program detects pairs of students with unusually similar answer patterns on multiple-choice exams. Data generated by this program can be used as admissible evidence, either to initiate or corroborate an investigation or a charge of cheating under Section 16 of the Code of Student Conduct and Disciplinary Procedures. Mark your multiple choice answers on the computer sheet using PENCIL ONLY PENCIL ONLY. Answer questions 21 and 22 in the examination booklet provided. The examination consists of 14 pages including the cover page. FACULTY FACULTY STANDARD CALCULATOR STANDARD CALCULATOR STANDARD CALCULATOR permitted ONLY. This examination paper and answer booklets MUST BE RETURNED MUST BE RETURNED MUST BE RETURNED Grading: o Questions 1 – 20 are worth 3 marks each o Questions 21 and 22 are worth 20 marks each

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

View Full Document
COMP 208 2 of 14 April 15, 2008 Final Examination Version 1 Question 1 What is the approximation to the value of 1 4 0 2 - + x x calculated using the trapezoidal method with 2 panels? (Note: the limits of integration are 0 and 4) a) 24 b) 22 c) 28 d) 26 e) None of the above Question 2 What is the approximation to the value of 1 4 0 2 - + x x calculated using the midpoint method with 2 panels? (Note: the limits of integration are 0 and 4) Question 3 Suppose we apply the Euler method to solve: Given the initial values x=0 and y=1, what are the y values for x=1 and x=2 obtained by the algorithm assuming a step size of 1 (i.e., Δ x=1)? Question 4 Suppose you are asked to find a cube root of 7, 3 7 . You know that there is a cube root between 0 and 4.Using the bisection method, with these values as your initial interval, what is the third approximation computed to estimate the root? y x dx dy + = 2
COMP 208 3 of 14 April 15, 2008 Final Examination Version 1

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}