tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
|
|
@ -0,0 +1,7 @@
|
|||
let methods = [
|
||||
( "rect_l", fun f x _ -> f x);
|
||||
( "rect_m", fun f x h -> f (x +. h /. 2.) );
|
||||
( "rect_r", fun f x h -> f (x +. h) );
|
||||
( "trap", fun f x h -> (f x +. f (x +. h)) /. 2. );
|
||||
( "simp", fun f x h -> (f x +. 4. *. f (x +. h /. 2.) +. f (x +. h)) /. 6. )
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue