computer model

Questions are in the book. Ass1 Question 1-4