10 lines
96 B
Objective-C
10 lines
96 B
Objective-C
|
|
f=@(x)1./x;
|
|
|
|
R = rectangle_int(f,1,2,100)
|
|
|
|
R = trapz_int(f,1,2,100)
|
|
|
|
R = homer_int(f,1,2,100)
|
|
|