User Tools

Site Tools


gams:an_example_how_to_use_the_gams_macro_feature_to_implement_the_simpson_s_rule

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

gams:an_example_how_to_use_the_gams_macro_feature_to_implement_the_simpson_s_rule [2009/08/24 12:02]
support created
gams:an_example_how_to_use_the_gams_macro_feature_to_implement_the_simpson_s_rule [2009/08/24 12:04] (current)
support
Line 1: Line 1:
 ====== An Example how to use the GAMS $macro feature to implement the Simpson'​s rule ====== ====== An Example how to use the GAMS $macro feature to implement the Simpson'​s rule ======
 <​code>​ <​code>​
-*Composit Simpson rule - for details see Simpson'​s rule at Wikipedia+* Composit Simpson rule - for details see Simpson'​s rule at Wikipedia ​(http://​en.wikipedia.org/​wiki/​Simpson%27s_rule)
 $macro simpson(f,​a,​b,​nn) ​    \ $macro simpson(f,​a,​b,​nn) ​    \
        ​n ​ = max(2,​ceil(nn));​ \        ​n ​ = max(2,​ceil(nn));​ \
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY gams/an_example_how_to_use_the_gams_macro_feature_to_implement_the_simpson_s_rule.txt ยท Last modified: 2009/08/24 12:04 by support