Pseudocodigo

![[practica6.3w.jpg]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDGNoVhfMhasm2ZVlMy4p1xTSZnVtiv0Gw9Mc7Geniex_CNRxyj8HNpkJ5YnOfSe67bH5GAwIesWulmVcimnLte7ijOqEVK-RUS1FWlCRW0o9tyGhm10k0pFiLWSXfAwmZlKomzOuNVpko/s1600/practica6.3w.jpg)
System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Practica_6_3_Windows
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
double x, y;
listBox1.Items.Add(" Valor de X \t\t Valor de Y");
for (x = 2; x <= 10; x = x + 0.2) { y = 2 * Math.Pow(x, 5) + 2 * Math.Pow(x, 3) + x; listBox1.Items.Add(x.ToString() + "\t\t\t" + y.ToString()); } } private void button2_Click(object sender, EventArgs e) { listBox1.Items.Clear(); } private void button3_Click(object sender, EventArgs e) { Close(); } private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { } } }
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Practica_6_3_Windows
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
double x, y;
listBox1.Items.Add(" Valor de X \t\t Valor de Y");
for (x = 2; x <= 10; x = x + 0.2) { y = 2 * Math.Pow(x, 5) + 2 * Math.Pow(x, 3) + x; listBox1.Items.Add(x.ToString() + "\t\t\t" + y.ToString()); } } private void button2_Click(object sender, EventArgs e) { listBox1.Items.Clear(); } private void button3_Click(object sender, EventArgs e) { Close(); } private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { } } }

No hay comentarios:
Publicar un comentario