@ проблемы.
1)
%Main Function
%This Main Function reads Integral, Lower and Upper Limits of Integration
%Outputs of Main Function are approximation of the integral, error estimate
%and Actual Error
ipstring=input('Function String: ','s'); %Read Integral string
display('Enter Limits of Integration');
a=input('Lower Limit: '); %Read Lower Limit
b=input('Upper Limit: '); %Read Upper Limit
%passing Integral String and Limits to user defined function.
format('long');
[Approximation,Error_Estimate,Actual_error]=Gauss_rout_new(ipstring,a,b)
хорошо работает для функции '4/(x^2+1)'
с ограничениями 0
и 1
warning explicit integral could not be found for exp(x^-1*exp(x^-2*a^-2- x*c))
даже если я поставлю значения a
и c
. с является комбинацией других констант.