function pushbutton2_Callback(hObject, eventdata, handles)
f_str = get(handles.edit1, 'String');
a = str2double(get(handles.edit2, 'String'));
b = str2double(get(handles.edit3, 'String'));
f = @(x) eval(vectorize(f_str));
result = integral(f, a, b);
set(handles.edit4, 'String', num2str(result));