Lab 2:
A special function B(a) is described by the following integral:
B(a) = int 0 to 1 { x(a-1)/(1-x)1/2 } dx
where a>0
  1. Write a C code for computing this integral using MPI. The parameter a is regarded as an input in this program.
  2. Compute B(2.0), B(2.5), B(8.8) and B(10.0).
  3. Can you design a program to efficiently compute B(a) with a=0.1, 0.2, ... , 100.0? Please print the result for the first few values only.
  4. In which case(s) you can work out the exact solution of this integral? Show the steps of your derivation.
      1.