

Practica 6.3 consola
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace practica_6._3_cosnsole
{
class Program
{
static void Main(string[] args)
{
double x, y;
Console.WriteLine("\t\tfuncion matematica");
Console.WriteLine("\nvalor de x \t\tvalor de y");
for (x = 1; x <= 10; x = x + 0.2)
{
y = 3 * Math.Pow(x, 5) + 2 * Math.Pow(x, 3) + x;
Console.WriteLine("{0} \t\t\t{1} ", x, y);
}
Console.ReadLine();
}
}
}

No hay comentarios:
Publicar un comentario