Está en la página 1de 21

Proceso calculadora_cientifica

Salir<-0;

Escribir 'BIENBENIDO A LA CALCULADORA CIENTIFICA';

Repetir

Escribir ' ';

Escribir 'Presione Enter para continuar';

Leer x;

Escribir 'Ingresar numero de la operacion que desea realizar + enter';

Escribir '1 - resta';

Escribir '2 - suma';

Escribir '3 - multiplicacion';

Escribir '4 - divicion';

Escribir '5 - potencia';

Escribir '6 - Seno';

Escribir '7 - Coseno';

Escribir '8 - ArcoTangente';

Escribir '9 - Lograritmo Natural, Funcion Exponencial';

Escribir '10 - Truncar";

Escribir "11 - Redondear';

Escribir '12 - Raiz Cuadrada';

Escribir '13 - Valor Absoluto';

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Escribir '14 - Separar parte entera y decimal';

Escribir '15 - Hallar Factorial';

Escribir '16 - Averiguar si es primo';

Escribir "17 - Permutaciones Repetitivas";

Escribir "18 - Hallar el Volumem de un cono circular";

Escribir "19 - Hallar el area de un triangulo - Formula del Heron";

Escribir "20 - Promedio";

Escribir "21 - Frecuencia";

Escribir "22 - Puntuacion Diferencial";

Escribir "23 - Tipificacion";

Escribir "24 - Probabilidad";

Escribir "25 - Area de un triangulo";

Escribir "26 - area de un rombo";

Escribir "27 - area de un poligono";

Escribir "28 - area de un trapecio";

Escribir "29 - Area de un paralelograma";

Escribir "30 - PENDULO SIMPLE";

Escribir "31 - Ciclo de un movimiento circular";

Escribir ' ';

Escribir '0 - para Salir';

Escribir ' ';

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Leer Opcion;

Segun Opcion Hacer

1:

escribir "resta"

escribir "ingrese primer digito"

leer a

escribir "ingrese segundo digito"

leer b

escribir "resultado"

escribir a-b

2:

escribir "suma"

escribir "ingrese primer digito"

leer a

escribir "ingrese segundo digito"

leer b

escribir "reslutado"

escribir a+b

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


3:

escribir "multiplicacion"

escribir "ingrese primer digito"

leer a

escribir "ingrese segundo digito"

leer b

escribir "resultado"

escribir a*b

4:

escribir "divicion"

escribir "ingrese un primer digito"

leer a

escribir "ingrese divisor"

leer b

escribir "resultado"

escribir a/b

5:

escribir "potencia"

escribir "ingrese un digito"

leer a

Escribir "ingrese exponente"

leer b

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


escribir "resultado"

escribir a^b

6:

Escribir ' Seno';

Escribir 'Ingresar Numero:';

Leer N;

Escribir 'Seno:',Sen(N);

7:

Escribir "coseno";

Escribir "ingresar numero";

Leer N;

Escribir 'Coseno:',Cos(N);

8:

Escribir "ArcTangente";

Escribir "ingresar numero";

Leer N;

Escribir 'ArcTangente:',Atan(N);

9:

Escribir ' Lograritmo Natural, Funcion Exponencial';

Escribir 'Ingresar Numero:';

Leer N;

Si N<=0

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Entonces Escribir 'El numero debe ser mayor a cero!';

Sino

Escribir 'Log Nat.:',ln(N);

Escribir 'Func Expon.:',exp(N);

FinSi

10:

Escribir 'Truncar';

Escribir 'Ingresar Numero:';

Leer N;

Escribir 'Turncar:',trunc(N);

11:

Escribir 'Redondear';

Escribir 'Ingresar Numero';

Leer N;

Escribir 'Redondear:',redon(N);

12:

Escribir ' Raiz Cuadrada';

Escribir 'Ingresar Numero:';

Leer N;

Escribir 'Raiz Cuad.:',rc(N);

13:

Escribir 'Valor Absoluto';

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Escribir 'Ingresar Numero:';

Leer N;

Escribir 'Valor Abs.:',abs(N);

14:

Escribir ' Separar parte entera y decimal';

Escribir 'Ingresar Numero:';

Leer N;

Escribir 'Parte Entera:',Trunc(n);

Escribir 'Parte Decimal:',n-Trunc(n);

15:

Escribir '12- Hallar Factorial';

Escribir 'Ingresar Numero:';

Leer N;

Si N<>Trunc(N)

Entonces

Escribir 'El numero debe ser entero!';

Sino

Si abs(N)>50

Entonces Escribir 'Resultado muy grande!';

Sino

r<-1; f<-1;

Mientras f<=abs(N) Hacer

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Si N<0

Entonces r<-(-f)*r;

Sino r<-f*r;

FinSi

f<-f+1;

FinMientras

Escribir 'Factorial:',r;

FinSi

FinSi

16: Escribir 'Averiguar si es primo';

Escribir 'Ingresar Numero:';

Leer N;

Si N<>Trunc(N)

Entonces

Escribir 'El numero debe ser entero!';

Sino

Primo<-'Si';

Si N/2=trunc(N/2)

Entonces

Primo<-'No';

FinSi

Si N<0

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


entonces Nu<-N*-1;

sino Nu<-N;

FinSi

Nu<-RC(Nu);

f<-3;

Mientras f<=Nu & Primo='Si' Hacer

Si N/F=trunc(N/F)

Entonces Primo<-'No';

FinSi

f<-f+2;

FinMientras

Escribir 'Numero Primo:',Primo;

Si f=3

Entonces F<-4;

FinSi

Si Primo='No'

Entonces

Escribir N,'=',f-2,'x',N/(f-2);

FinSi

FinSi

17:

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Escribir "permutaciones repetitivas";

P<-1

S<-0

Escribir " INGRESE NUMERO DE ELEMETOS ";

Leer N1;

R<-N1;

Escribir " INGRESE TOTAL DE ELEMENTOS ";

Leer N;

A<-N;

Repetir

P<-(P*A);

S<-S+1;

Hasta Que S=R

Escribir " RESULTADO PERMUTACIONES ",(P);

18:

Escribir "Hallar el vlumen de un cono circular";

h<-0;

r<-0;

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


p<-(3.14);

v<-0;

Escribir " Ingrese Altura (CM) ";

Leer n;

h<-h+n;

Escribir " Ingrese Radio (CM) ";

Leer n;

r<-r+n;

r<-(r*r);

v<-(p*r);

v<-(v*h);

v<-(v/3);

Escribir " el volumen es ",v,"CM";

19:

Escribir "Hallar el area de un triangulo - Formula del Heron";

a<-0;

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


b<-0;

c<-0;

d<-0;

s<-d;

a1<-0;

a2<-0;

a3<-0;

j<-0;

area<-s;

salir<-0;

escribir "digite lado a y presione enter para continuar"

leer n

a<-n;

escribir "digite lado b y presione enter para continuar"

leer n

b<-n;

escribir "digite lado c y presione enter para continuar"

leer n

c<-n;

d<-a+b;

d<-d+c;

d<-d/2;

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


a1<-d-a;

a2<-d-b;

a3<-d-c;

j<-(d)*(a1)*(a2)*(a3);

j<-rc(j);

Escribir "el area es ",j;

20:

Escribir "Promedio";

T<-0;

D<-0;

C<-0;

Escribir "ingrese numero total de digitos que va a ingresar";

Leer N;

T<-N;

Repetir

Escribir "Ingrese digito";

Leer N;

D<-(D+N);

C<-C+1

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Hasta Que C=T

Escribir "Resultado Promedio ",D/T;

21:

Escribir "Frecuencia";

f<-0;

Escribir "ingrese numero de reboluciones (bueltas)";

Leer n;

r<-n

Escribir " ";

Escribir "ingrese tiempo"

Leer n;

t<-n;

f<-r/t;

Escribir " ";

Escribir " la frecuencia es ",f;

22:

Escribir "Puntuacion Diferencial";

Escribir " ";

Escribir "ingrese puntuacion directa";

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Leer n;

d<-n

Escribir "ingrese medida aritmetica";

Leer n;

a<-n

t<-d-a

Escribir " la puntuacion diferencial es ",t;

23:

Escribir "Tipificacion";

Escribir "ingrese puntuacion diferencial";

Leer n;

p<-n;

Escribir " ";

Escribir "ingrese desviacion tipica";

Leer n;

d<-n;

t<-p/d;

Escribir " El resultado de la tipificacion es ",t;

24:

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Escribir "Probabilidad";

Escribir " ingrese cantidad de casos favorables";

Leer n;

f<-n;

Escribir "Ingrese cantidad de casos posibles";

Leer n;

s<-n;

p<-f/s

Escribir "La Probabilidad es",p;

25:

Escribir "area de un trinagulo"

Escribir "ingrese base del trangulo"

Leer N;

B<-N;

Escribir "ingrese altura del triangulo"

Leer n;

l<-n;

a<-(b+h)/2

Escribir "el area del triangulo es ",a;

26:

Escribir "area de un rombo";

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Escribir "ingrese medida lado del rombo";

Leer N;

i<-N;

Escribir "Ingrese medida lado del rombo";

Leer N;

d<-N;

A<-(i*d)/2

Escribir "el area del rombo es",A;

27:

Escribir "area de un poligono";

Escribir "Ingrese dato triangulo 1";

Leer n;

t1<-n;

Escribir "ingrese dato triangulo 2";

Leer n;

t2<-n;

Escribir "ingrese dato triangulo 3";

Leer n;

t3<-n;

Escribir "ingrese dato triangulo 4"

Leer n;

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


t4<-n;

a<-(t1+t2+t3+t4)

Escribir "el area de un poligono es ",a;

28:

Escribir "area de un trapecio"

Escribir "Ingrese dato de base"

Leer N;

B<-N;

Escribir "Ingrese dato superficie superior"

Leer N;

S<-N;

Escribir "Ingrese dato altura"

Leer N;

H<-N;

A<-(B*S)*H

A<-A/2

Escribir "El area del trapecio es ",A;

29:

Escribir "area de un paralelograma"

Escribir "ingrese dato lado"

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Leer n;

l<-n

Escribir "ingrese dato altura"

Leer n;

h<-n;

a<-(l*h)

Escribir "el area del paralelograma es",a;

30:

Escribir "PENDULO SIMPLE";

Escribir " ";

Escribir "Valor de masa:M";

Escribir "Valor de longitud 1:L";

Escribir "Valor de longitud 2:X";

Escribir "Valor constante gravedad = g: 9.8 mt *


seg^2";

Escribir "formula F= -M*g sobre L y a esto * X";

Escribir " ";

Escribir "Digite M:";

Leer M;

Escribir "Digite L:";

Leer L;

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


Escribir "Digite X:";

Leer X;

T <- -(M*9.8*X)/L

Escribir 'La fuera del movimiento es:';

Escribir T;

31:

Escribir "Ciclo de un movimiento circular";

Escribir " ";

Escribir "formula T= pi*2 sobre W";

Escribir "W es la vel. angular";

Escribir "Un radian es igual 1.150763"

Escribir " ";

Escribir "Digite W";

Leer W;

Escribir "Digite R";

Leer R;

R <-3.1416*2;

Leer T;

T <-R/W;

Escribir 'EL CICLO ES:';

escribir T;

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS


0: Salir<-1;

De Otro Modo:

Escribir 'Opcion No Valida!';

FinSegun

Hasta que Salir=1

FinProceso

ELIANI LONDOO TAMAYO TECNOLOGO SISTEMAS

También podría gustarte