introducción a la programación “el lenguaje c” manuel crisosto m., claudio gutiérrez s.,...
TRANSCRIPT
![Page 1: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/1.jpg)
Introducción a la Programación“El lenguaje C”
Manuel Crisosto M., Claudio Gutiérrez S.,
Christian Vidal C.
![Page 2: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/2.jpg)
Aprendizajes esperadas
Utilización de los operadores matemáticos, lógicos y relacionales en C.
Bifurcaciones en C.
![Page 3: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/3.jpg)
![Page 4: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/4.jpg)
![Page 5: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/5.jpg)
Operadores
![Page 6: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/6.jpg)
![Page 7: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/7.jpg)
![Page 8: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/8.jpg)
![Page 9: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/9.jpg)
![Page 10: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/10.jpg)
![Page 11: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/11.jpg)
![Page 12: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/12.jpg)
Problema
Suponga que existe una función que calcula la raíz de un número. Dicha función se llama sqrt(número) y entrega el valor de la raíz de número. Dicha función se encuentra en la librería math.h
Cree un programa que resuelva la ecuación cuadrática en C para valores reales.
![Page 13: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/13.jpg)
![Page 14: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/14.jpg)
Problema
Cree un programa que resuelva la ecuación cuadrática en C para valores reales e imaginarios.
![Page 15: Introducción a la Programación “El lenguaje C” Manuel Crisosto M., Claudio Gutiérrez S., Christian Vidal C](https://reader036.vdocuments.pub/reader036/viewer/2022082821/5665b45e1a28abb57c90eeda/html5/thumbnails/15.jpg)
Conclusiones
Existe una distinción entre ++var y var++. Las bifurcaciones pueden contener un
sinnúmero de operadores de todo tipo, por lo que es importante el uso de los paréntesis para una correcta evaluación de las proposiciones.