Lab2:

Series computation to evaluate ex

i.e., evaluate sum( xi/fact(i))  from i=0 to n-1;     (job(i) is defined as this calculation)

 

(Input x and evaluate; Note that x=1 should give the value of “e”)

 

Give two programs with Loop Splitting and Self Scheduling