Integral De Un Polinomio

  • Uploaded by: Veronica Acurio
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Integral De Un Polinomio as PDF for free.

More details

  • Words: 123
  • Pages: 2
#include <stdio.h> #include #define tam 15 #define m 10 int n,i; float A[tam],x,y,b,S,I; void lee_datos(void) { printf("\nIngrese el grado del Polinomio de la funcion\t"); scanf("%d",&n); printf("\nIngrese los coeficientes del polinomio (empiece desde a0)\n\n"); for(i=0;i<=n;i++) { printf("a%d ",i); scanf("%f",&A[i]); } printf("\nIngrese el extremo inferior del intervalo de integracion\t"); scanf("%f",&x); printf("\nIngrese el extremo superior del intervalo de integracion\t"); scanf("%f",&y); } float esquema(int t,float u,float U[tam])//(grado,incógnita,coeficientes) { int j,k; float y=0,z=0; b=U[t]; for(k=0;k
printf("\t\tIntegracion de una Funcion Polinomial\n"); lee_datos(); integral(x,y,A); printf("\nLa integral de la funcion f en el intervalo [%f,%f] es\t%f\n",x,y,I); getch(); }

Related Documents


More Documents from ""

Untitled
December 2019 24
Integral De Un Polinomio
December 2019 35
Esquema De Horner
December 2019 24