
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Practica_6_3_Consola
{
class Program
{
static void Main(string[] args)
{
double x, y;
Console.WriteLine("Funcion Matematica ");
Console.WriteLine("\n\nValor de X Valor de Y");
for (x = 2; x <= 10; x = x + 0.2)
{
y = 2 * Math.Pow(x, 5) + 2 * Math.Pow(x, 3) + x;
Console.WriteLine("{0}\t\t{1}", x, y);
}
Console.ReadKey();
}
}
}

No hay comentarios:
Publicar un comentario