//+------------------------------------------------------------------+ //| Exp_2Dimensions.mq5 | //| Copyright 2011, MetaQuotes Software Corp. | //| http://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2011, MetaQuotes Software Corp." #property link "http://www.mql5.com" #property version "1.00" #property description "Функция f(x,y)=MathExp(-x^2-y^2)" //--- input parameters input double x=-3.0; // start=-3.0, step=0.01, stop=3.0 input double y=-3.0; // start=-3.0, step=0.01, stop=3.0 //+------------------------------------------------------------------+ //| Tester function | //+------------------------------------------------------------------+ double OnTester() { //--- double res=MathExp(-x*x-y*y); //--- return(res); } //+------------------------------------------------------------------+