You are on page 1of 19

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI

AO DE LA PROMOCION DE LA INDUSTRIA RESPONSABLE Y DEL


COMPROMISO CLIMATICO
INFORME N 002-2014-CPCEI-IESTP-J
A

: Ing. Edith Atencio Cornejo

DE

: Estd. Milagros Patty MAMANI VELSQUEZ.

ASUNTO

: INFORME DEL PROYECTO DE SISTEMA DE


MATEMTICAS EN LA INSTITUCION EDUCATIVA
PRIMARIA GLORIOSO 890-JULI.

FECHA

: 03 de Diciembre del 2014.

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
PROYECTO DE SISTEMA DE MATEMTICAS EN LA INSTITUCIN
EDUCATIVA PRIMARIA GLORIOSO 890-JULI.
DATOS GENERALES:
Ttulo: sistema de matemticas en la Institucin Educativa Primaria Glorioso 890-Juli.
Fecha de inicio: 23 de noviembre del 2014.
Fecha de finalizacin: 02 de diciembre del 2014.
Ubicacin: En la Institucin Educativa Primaria Glorioso 890-Juli.
Responsable: Milagros Patty MAMANI VELSQUEZ.
Programacin: Visual C#.
DESCRIPCIN DEL PROYECTO:
El sistema de matemticas trata de las operaciones aritmticas que son el punto bsico
para la iniciacin del rea de matemticas y tambin contiene una calculadora cientfica
donde puedes sacar todas las operaciones matemticas.
El presente proyecto est realizado para la Institucin Educativa Primaria Glorioso 890Juli del distrito de Juli del departamento de puno, con la finalidad de que los
estudiantes tengan la facilidad de aprender las operaciones aritmticas ya que es
importante y base en el rea de las matemticas y para despus as seguir con los dems
temas de complemento.
JUSTIFICACIN:
El presente proyecto tiene como finalidad:
Innovar el sistema de matemticas en La Institucin Educativa Primaria Glorioso 890Juli para que los estudiantes aprendan las matemticas de una manera fcil en un modo
de juego o divertirse.
Cmo lo realizamos?
Este sistema lo programamos en C#.
Se desea tambin que el uso del sistema a desarrollar sirva para el buen aprendizaje de
los estudiantes de dicha institucin.
OBJETIVOS:
OBJETIVO GENERAL:
Lograr el sistema de matemticas en la institucin educativa primaria glorioso 890-juli
para al aprendizaje de los estudiantes en el rea de matemtica de dicha institucin.

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
OBJETIVO ESPECFICO:
Hacer que los estudiantes tengan la facilidad de aprender las matemticas.
Fomentar que los estudiantes sean de excelencia y que haya ms competencia entre
ellos.
Meta:
Lograr la instalacin y el desarrollo del sistema de matemtica.
CRONOGRAMA:

DESCRIPCIN
ACTIVIDAD

DE

LA

CRONOGRAMA DE
EJECUCIN

NOVIEMBRE
inicio de la elaboracin del
26
proyecto

Programacin del sistema

culminacin del proyecto y el


sistema

diseo del manual de usuario

programador
analista
programador
analista
programador
analista
programador
analista

23,24 y 25

28-29

Responsabledel rea:
Programador y analista:
Milagros Patty MAMANI VELSQUEZ.
COSTO DEL PROYECTO:
TABLA DE COSTOS DE HARDWARE
CONCEPTO

CANTIDAD COSTO

Monitor LG
5
CPU core i3 2
duo
5

S/. 1608

Teclado

S/. 160

Mouse

S/. 125

Costo total

RESPONSABLE

S/.3125

S/. 5018

y
y
y
y

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA

TABLA DE COSTOS DE ELABORACION DE PROYECTO


CONCEPTO
HORA
alquiler de cabina de internet
24
hojas
30
COSTO TOTAL

COSTO DEL PROYECTO


Tabla de costos de hardware
Tabla de costos de elaboracin de proyecto
COSTO TOTAL

COSTO
S/.20.00
S/. 3.00
S/. 23.00

S/. 5018
S/. 23.00
S/. 5041.00

DIAGRAMAS DE CASO DE USO:

ESPECIFICACIONES DE ACTOR:
ACTOR

DESCRIPCIN

ESTUDIANTE

Persona que va aprender en la institucin


educativa Primaria Glorioso 890-juli.

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
DISEO DE INTERFAZ:

CDIGO FUENTE:
Form 1: Tenemos un menuStrip1 dentro de ese men tenemos las siguientes opciones
como:
Archivo (en la opcin archivo tenemos SALIR que permite salir del sistema).
SALIR (cdigo):
this.Close();

Herramientas (en la opcin herramientas tenemos CALCULADORA CIENTIFICA Y


SISTEMA EDUCATIVO que permite ver el formulario de la calculadora y del sistema
educativo)
CALCULADORA CIENTIFICA (cdigo):
Form2 calculadora = new Form2();
calculadora.MdiParent = this;
calculadora.Show();

SISTEMA EDUCATIVO (cdigo):


var educativo = new Educativo { MdiParent = this };
educativo.Show();

Ayuda (en la opcin ayuda tenemos VER LA AYUDA que te permite dar algunas
instrucciones sobre la calculadora y el sistema educativo)

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
VER LA AYUDA (cdigo):
MessageBox.Show("Instrucciones: Utiliza los Botones en la pantalla para manipular
el programa. En la calculadora y el sistema solo introduce nmeros
correspondientes. No se permite utilizar Letras u otros caracteres, Solo
nmeros.");

Form 2: Tenemos la calculadora cientfica con las distintas operaciones matemticas y


su diseo en este diseo tenemos como herramientas aun textbox1 y 25 button.

TEXTBOX1 cambiar en las propiedades en:


ReadOnly lo ponemos en true.
TextAlign lo ponemos Right.
Text lo ponemos 0.
Ahora codificaremos primero los nmeros:
1:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "1";
sigue = false;
}
else
{
pantalla.Text=pantalla.Text + "1";
}

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
2:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "2";
sigue = false;
}
else
{
pantalla.Text = pantalla.Text + "2";
}

3:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "3";
sigue = false;
}
else
{
pantalla.Text = pantalla.Text + "3";
}

4:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "4";
sigue = false;
}
else
{
pantalla.Text = pantalla.Text + "4";
}

5:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "5";
sigue = false;
}
else
{
pantalla.Text = pantalla.Text + "5";
}

6:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "6";
sigue = false;
}
else

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
{
pantalla.Text = pantalla.Text + "6";
}

7:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "7";
sigue = false;
}
else
{
pantalla.Text = pantalla.Text + "7";
}

8:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "8";
sigue = false;
}
else
{
pantalla.Text = pantalla.Text + "8";
}

9:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "9";
sigue = false;
}
else
{
pantalla.Text = pantalla.Text + "9";
}
0:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "0";
sigue = false;
}
else
{
pantalla.Text = pantalla.Text + "0";
}

Ahora codificaremos los dems button:


Punto:
if (sigue)
{
pantalla.Text = "";
pantalla.Text = "0";
sigue = false;

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
}
if (pdecimal)
pantalla.Text = pantalla.Text + ".";

Igual:
sigue=true;
n2 = double.Parse(pantalla.Text);
switch(operador)
{
case"+":
solucion = n1+n2;
pantalla.Text = solucion.ToString();
break;
case "-":
solucion = n1 - n2;
pantalla.Text = solucion.ToString();
break;
case "*":
solucion = n1 * n2;
pantalla.Text = solucion.ToString();
break;
case "/":
solucion = n1 / n2;
pantalla.Text = solucion.ToString();
break;
default:
break;
}

Ahora las operaciones matemticas:


Suma:
operador = "+";
sigue = true;
n1 = double.Parse(pantalla.Text);

Resta:
operador = "-";
sigue = true;
n1 = double.Parse(pantalla.Text);

Multiplicacin:
operador = "*";
sigue = true;
n1 = double.Parse(pantalla.Text);

Divisin:
operador = "/";
sigue = true;
n1 = double.Parse(pantalla.Text);

Raz:
n1 = double.Parse(pantalla.Text);
solucion = Math.Sqrt(n1);
pantalla.Text = solucion.ToString();

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
Exponente al cuadrado:
n1 = double.Parse(pantalla.Text);
solucion = Math.Pow(n1, 2);
pantalla.Text = solucion.ToString();

Exponente al cubo:
n1 = double.Parse(pantalla.Text);
solucion = Math.Pow(n1, 3);
pantalla.Text = solucion.ToString();

Logaritmo:
n1 = double.Parse(pantalla.Text);
solucion = Math.Log(n1);
pantalla.Text = solucion.ToString();

Tangente:
n1 = double.Parse(pantalla.Text);
solucion = Math.Tan(n1);
pantalla.Text = solucion.ToString();

Coseno:
n1 = double.Parse(pantalla.Text);
solucion = Math.Cos(n1);
pantalla.Text = solucion.ToString();

Seno:
n1 = double.Parse(pantalla.Text);
solucion = Math.Sin(n1);
pantalla.Text = solucion.ToString();

Limpiar:
pantalla.Clear();
pantalla.Text = "0";
sigue = true;

Borrar:
pantalla.Text = pantalla.Text.Substring(0, pantalla.Text.Length - 1);
if (pantalla.Text.Length == 0)
{
pantalla.Text = "0";
sigue = true;
}

SISTEMA EDUCATIVO: tenemos una ventana para realizar la suma, la resta,


multiplicacin, divisin y otro de lo que son las tablas de cada una de las operaciones
matemticas.

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA

Este sistema contiene 3 label, 1 menuSript, 9 button, 8 pictureBox y un groupBox para


tablas.
CDIGOS DEL SISTEMA
Para llamar al formulario suma, hacemos clic en el button sumar (cdigo):
Suma suma = new Suma();
suma.Show();

Para llamar al formulario resta hacemos clic en el button restar (cdigo):


Restar resta = new Restar();
resta.Show();

Para llamar al formulario multiplicacin hacemos clic en el button multiplicar (cdigo):


Multiplicacion multiplicar = new Multiplicacion();
multiplicar.Show();

Para llamar al formulario divisin hacemos clic en el button dividir (cdigo):


Division dividir = new Division();
dividir.Show();

Para llamar al formulario tabla de suma hacemos clic en el button tabla de sumar
(cdigo):
Tabla_de_Sumar tabla_suma = new Tabla_de_Sumar();
tabla_suma.Show();
}

Para llamar al formulario tabla de resta hacemos clic en el button tabla de restar
(cdigo):
{
Tabla_de_Restar tabla_resta = new Tabla_de_Restar();
tabla_resta.Show();

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
}

Para llamar al formulario tabla de multiplicacin hacemos clic en el button tabla de


multiplicar (cdigo):
{
Tabla_de_Multiplicar tabla_multi = new Tabla_de_Multiplicar();
tabla_multi.Show();
}

Para llamar al formulario tabla de divisin hacemos clic en el button tabla de dividir
(cdigo):
{
tabla_de_Dividir tabla_division = new tabla_de_Dividir();
tabla_division.Show();
}

Menuscript opcin ver la ayuda (cdigo):


{
MessageBox.Show("Instrucciones: Utiliza los Botones en la pantalla
para manipular el programa. En cada una de las categoras introduce solo nmeros
en las casillas correspondientes. No se permite utilizar Letras u otros
caracteres, Solo nmeros.");
}

Menusript opcin acerca de (cdigo):


{
MessageBox.Show("Aprendamos Matemticas creado por: Milagros Patty
Mamani Velasquez");
}

El button salir (cdigo):


{
this.Close();
}

Ahora de los 8 pictureBox (cdigo):


Private void button4_MouseEnter(object sender, EventArgs e)
{
pictureBox2.Visible = true;
}
Private void button4_MouseLeave(object sender, EventArgs e)
{
pictureBox2.Visible = false;
}
Private void button1_MouseEnter(object sender, EventArgs e)
{
pictureBox3.Visible = true;
}
Private void button1_MouseLeave(object sender, EventArgs e)
{
pictureBox3.Visible = false;
}

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA

Private void button2_MouseEnter(object sender, EventArgs e)


{
pictureBox5.Visible = true;
}
Private void button2_MouseLeave(object sender, EventArgs e)
{
pictureBox5.Visible = false;
}
Private void button3_MouseEnter(object sender, EventArgs e)
{
pictureBox8.Visible = true;
}
Private void button3_MouseLeave(object sender, EventArgs e)
{
pictureBox8.Visible = false;
}

Formulario SUMA (cdigo):

En este formulario tenemos 5 label, 8 button, 6 textBox, 4 groupBox.


Empezamos con el groupBox1 con los button resolver y borrar (cdigo);
Declaracin:
public partial class Suma : Form
{
int num1;
int num2;
int result;
int num3;
int num4;
int result2;

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
int comp;

cdigo de GROUPBOX 3:
Button RESOLVER (cdigo):
if (((textBox1.Text == "") || (textBox2.Text == "")) || ((textBox1.Text == "") &&
(textBox2.Text == "")))
MessageBox.Show("Debes llenar las dos casillas");
else
{
num1 = int.Parse(textBox1.Text);
num2 = int.Parse(textBox2.Text);
result = num1 + num2;
textBox3.Text = result.ToString();
textBox3.Visible = true;
}

Button BORRAR (cdigo):


{
textBox1.Text = "";
textBox2.Text = "";
textBox3.Text = "";
textBox3.Visible = false;
}

Button SALIR (cdigo):


private void button5_Click(object sender, EventArgs e)
{
label6.Visible = true;
label5.Visible = false;
groupBox3.Visible = false;
groupBox4.Visible = true;
Grupo2.Enabled = true;
Grupo1.Enabled = false;
borrar_grupo1();
miRamdon();
}
private void button5_Click_1(object sender, EventArgs e)
{
this.Close();
}

Button APRENDER (cdigo):


label1.Visible = true;
label3.Visible = false;
label5.Visible = true;
label6.Visible = false;
groupBox3.Visible = true;
groupBox4.Visible = false;
Grupo2.Enabled = false;
Grupo1.Enabled = true;
borrar_grupo2();
public void borrar_grupo2()
{
textBox4.Text = "";

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
textBox5.Text = "";
textBox6.Text = "";
}

Button EVALUAR (cdigo):


label1.Visible = false;
label3.Visible = true;
label6.Visible = true;
label5.Visible = false;
groupBox3.Visible = false;
groupBox4.Visible = true;
Grupo2.Enabled = true;
Grupo1.Enabled = false;
borrar_grupo1();
miRamdon();
public void miRamdon()
{
Random numero1 = new Random();
Random numero2 = new Random();
num3 = numero1.Next(60);
num4 = numero2.Next(30);
result2 = num3 + num4;
textBox4.Text = num3.ToString();
textBox5.Text = num4.ToString();
}

Cdigo del GROUPBOX 4:


Button EVALUAR (cdigo):
if (textBox6.Text == "")
MessageBox.Show("Debes Introducir el Nmero en la Casilla.");
else
{
comp = int.Parse(textBox6.Text);
if (comp == result2)
{
MessageBox.Show("Excelente, has Acertado!");
miRamdon();
textBox6.Text = "";
}
else
{
MessageBox.Show("Sgue Intentandolo. Vamos, T puedes!");
textBox6.Text = "";
}
}

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA
Button BORRAR (cdigo):
textBox6.Text = "";

Button SIGUIENTE (cdigo):


Random numero1 = new Random();
Random numero2 = new Random();
num3 = numero1.Next(60);
num4 = numero2.Next(30);
result2 = num3 + num4;
textBox4.Text = num3.ToString();
textBox5.Text = num4.ToString();

Button SALIR (cdigo):


this.Close();

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA

INSTITUTO DE EDUCACIN SUPERIOR TECNOLGICO PBLICO-JULI TALLER DE


PROGRAMACION DISTRIBUIDA

You might also like