September 2008 - Question 7

Discussion in 'CT6' started by jm_kinuthia, Apr 7, 2014.

  1. jm_kinuthia

    jm_kinuthia Member

    Someone kindly explain what part 1 of this question is asking as i can't relate it to any section in chapter 14. Also, please explain to me the logic behind their solution.
     
  2. John Potter

    John Potter ActEd Tutor Staff Member

    This question was hard and I can't find anything on it in the Core Reading either!

    The integral given is the average height of the graph of the function
    y = exp(x) - 1 for 0<x<1

    So we can estimate its value by sampling (randomly but evenly) a large number of times over the range and calculating the average:

    Generate ui values from U(0,1)

    and then take [sum of exp(ui) - 1 ]/ n

    Hope this helps,
    John
     

Share This Page