domingo, 11 de octubre de 2009

Practica 6.3 b) Consola


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Practica_6_3_b__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 = 1; x <= 5; x = x + 0.1) { y = 1 + x + Math.Pow(x, 3) / 6.0 + Math.Pow(x, 4) / 24.0; Console.WriteLine("{0}\t\t{1}", x, y); } Console.ReadKey(); } } }

No hay comentarios:

Publicar un comentario