#include #include "funciones.h" using namespace std; int main() { Recta recta(7,1); // y = 7*x+1 Exponencial exponencial(2,2,1); // y = 2*e^(2*x)+1 Parabola parabola(5,2); // y = 5*x^2+2 ListaFunciones funciones; funciones.InsertarRecta(recta); funciones.InsertarExponencial(exponencial); funciones.InsertarParabola(parabola); cout << "Lista de funciones:" << endl; funciones.Mostrar(); cout << "La menor y=f(x) cuando x=0.0 es " << funciones.MenorY(0.0) << endl; cout << "La menor y=f(x) cuando x=0.5 es " << funciones.MenorY(0.5) << endl; return 0; }