Monthly Archives: January 2015

#mastery15 and #mastery16- Use of conditional IF and ELSE

2 min read

iostream,coutcin

using namespace std.

Learn To Program 2015-01-31 08:11:00

WSQ01
Instalar la ultima versión de Python en nuestra PC es muy simple, así como correr nuestro primer programa “Hola Mundo”.

A través de este video creado por mi, muestro como descargar y crear nuestro primer programa.
https://www.youtube.com/watch?v=vpg8qw6EPz0&feature=youtu.be

Fue algo muy simple, pero que me llena de alegría para seguir haciendo vídeos y programas.

**********************
Programa hecho en Python:
**********************
https://gist.githubusercontent.com/A01630323/57009370e8e1a2667fae/raw/7fa9ff7bfde7ab35ae17837ec9ba6f72c470b0b6/WSQ01

Learn To Program 2015-01-31 08:11:00

WSQ01
Instalar la ultima versión de Python en nuestra PC es muy simple, así como correr nuestro primer programa “Hola Mundo”.

A través de este video creado por mi, muestro como descargar y crear nuestro primer programa.
https://www.youtube.com/watch?v=vpg8qw6EPz0&feature=youtu.be

Fue algo muy simple, pero que me llena de alegría para seguir haciendo vídeos y programas.

**********************
Programa hecho en Python:
**********************
https://gist.githubusercontent.com/A01630323/57009370e8e1a2667fae/raw/7fa9ff7bfde7ab35ae17837ec9ba6f72c470b0b6/WSQ01

ABOUT ME !

1 min read

Hello, I am Paty Valdez, my friends call me PATO, I studying Digital Animation because I like to draw and i love cartoons! i like the way the people make a movie or cartoon !   I’m 110 % sure that I made the right chose, and I regreat about anything.

My super heros are my mom and dad, they give me everything that a I have and they give me the oportunity of study a career.

I play soccer and I go to dance classes, I’d like to learn to play any musica instrument like guitarra or piano.

  

Flipped Classroom !

1 min read

I think is a flipped class is a better way to learn than a normal class! 

You learn more, you are interest about the class, you can help other learn and they can help you too, 

It is more dinamic, and fun ! 

I find no problem with this kind of clases! 

I find a webpage that explain better What is a flipped class! , Enjoy !!  

http://vimeo.com/70893101

 

@WSQ02

#mastery13- Importing and using C++ libraries

2 min read

Para usar librarías en C++ se debe, primero llamar a las librerias que se quieren hacer uso. En esta explicación, se pedirá que el usuario ingrese un numero, y el programa regresará el cuadrado del numero dado.

Primero se debe de llamar a la librería iostream, sirve para poder obtener datos de entrada y de salida, como lo son el cout (para imprimir un texto) y cin (para guardar datos).

Una vez llamada esta librería, se debe de incluir cmath. Cmath, es una librería que te permite, mediante diversas funciones, obtener y poder utilizar operaciones matemáticas, como elevar un numero a una potencia, obtener sin, cos, etc.

También se debe de definir el using namespace std

Una vez hecho esto, se debe de introducir el programa principal, int main

Se deben de definir las variables.

Después, se debe de preguntar el numero al que se quiere elevar al cuadrado.

Con la función pow, de la librería cmath, se puede elevar un numero a una potencia, lo unico que se debe hacer es, escribir esa función, después el número o la variable, sseguido de una coma para después escribir la potencia a la que se elevará. 

Ejemplo:

pow(4,3)     —————> Con esto, se está diciendo que el numero 4, se está                                              elevando a una potencia 3.

Después de esto, solo se imprime el resultado.

Se termina el programa, se compila y se corre.

 

#mastery09- Basic types and their use in C++

1 min read

Incluir la librería iostream, así como using namespace std.

Se debe de definir la función principal (main).

Definir los diferentes tipos de variables, int, float, double, así como UN VALOR para estos.

Definir el resto del programa, con la impresión de estas variables con sus respectivos tipos.

Para saber que tipo de valor utilizar se debe de saber lo siguiente:

Double: El tipo double, almacena numeros reales con decimales.

Int: El tipo int, solo almacena numeros enteros.

Float: El tipo float, también almacena numeros reales con decimales.

Compilar y correr el programa.

 

Postin on Git Hub, Blog, Twitter

#WSQ03 #TC1014 #NETO

Fun with numbers

This is my firts program in Python, I’m very happy because is easier than I thought.
The only problem that I had was: How the shit make the program run whit Cywin? But after some attemps finally I could do the program work correctly. #WSQ03 #TC1014 #NETO

(If you want to see the image in full screen, clik on the image).

I hope my image help you 🙂.

Soon I will going to update this post with the steps to make this program run.
Best regards.

_Ernesto Gutiérrez Valdés.

#WSQ03 #TC1014 #NETO

WSQ05 – Temperature

1 min read

No problem to finish the activity

; background: ; text-decoration: none; text-underline: none;”>https://github.com/AdxcOneX/Programaci-n/blob/master/WSQ05%20-%20Temperature