Lots of Problems (Quiz week 9)

This quiz was veeeery long. There were 10 problems, but we only had to do 8 problems. 1. Escribe el función distancia cual recibe 4 números (x1, y1, x2, y2) cuales representan dos puntos en espacio (x1,y1) y (x2,y2). El método debe regresar la distancia entre los dos puntos. Recuerda que el valor cuadrada del […]

Distance (Quiz week 9)

The assignment of the quiz was to ask for two coordinates and calculate the distance between them. It needed to have floats and a function as well. This problem was very easy, because in school they made me calculate the distance a lot of times. I only add the math library (<cmath>) because I elevate to […]

Fibonacci is awesome!

My mom always told me about the Fibonacci patterns in nature and how beautiful they are as well that it is so interesting that it’s all mathematics! I’ve found a TED talk that explain in a very easy way to understand the Fibonacci series. I recommend you to watch it. The quiz today was precisely […]

Quiz (Week 6)

Well… this was a bit large but I did it. I just didn’t made the post because of partials and to be honest, I forgot that we had quiz and I did not publish it, but here I am. The quiz had 5 problems, so I will post a lot of photos and codes. The […]