function [result] = test_integrand1 (x) % test_integrand1(x) evaluates a test integrand at point x % % Input arguments: % x = where to evaluate the function % Output arguments: % result = value of the function or derivative % % Programmer: Dick Furnstahl furnstahl.1@osu.edu % % Revision history: % 08-Apr-2005 -- original version for Physics 263 % % Notes: % * This is a MATLAB "function" file like circle_area.m. % * In order to handle vectors x, use ".*" and ".^" and so on % in the integrand definition. % % calculate the test integrand in single precision result = single( exp(x) );