--Originally published at Problem solving with programming
Getting work done on our final project!
Implementing some cases in our code but with simple functions, I grab the template of the WSQ 5 and it works.
Code on GitHub:Fisica_Cases.cpp
--Originally published at Problem solving with programming
Getting work done on our final project!
Implementing some cases in our code but with simple functions, I grab the template of the WSQ 5 and it works.
Code on GitHub:Fisica_Cases.cpp
--Originally published at Problem solving with programming
First, my group and I think about making a PONG like game in C++.
Something like this:
http://www.lawebdelprogramador.com/codigo/C-Visual-C/270-Juego-de-ping-pong-en-C.html
But there were things in the code that I don’t understand at all, so I was feeling a little overwhelmed by the project.
In the making of the code of the dot product of my another post, I think it would be cool to do some calculator like program to help with vectors and do bunch of physics operations.
I talked about to my group and seem to like it.
I learn to do cases in my Introduction to Programming class and I think it would be a good idea to organize our program.
We saw something like this:
I will post more about it while we work.
Thanks for reading.
--Originally published at Problem solving with programming
I was making my physics homework and I searched for a dot product calculator online to not waste more time doing that. Because I couldn’t find anything, I started to think that to make a program wouldn’t be so difficult so, there is that.
The dot product is the relation between to vectors and it gives you a single number.
http://www.geoan.com/analitica/vectores/producto_punto.html
https://es.wikipedia.org/wiki/Producto_escalar
In the making of the code I searched for the function of the arc cosine that is needed to get the angle, here is a web that helps with that:
http://www.cplusplus.com/reference/cmath/acos/
Please, feel free to use this in your physics tasks.
Code on GitHub: PP.cpp
--Originally published at Problem solving with programming
I was studying something of another course and learn how to get the Body Mass Index or BMI.
This value estimates if you have a proper nutritional status according to this numbers:
Image Credit: Baynes (2014). “Medical Biochemistry”.
Try it and see if you are in your ideal BMI.
Code on GitHub: bmi.cpp
--Originally published at Problem solving with programming
Here it is, just a simple conversion program.
Code on GitHub: WSQ2.cpp
--Originally published at Problem solving with programming
Uploading what I should have already uploaded.
Code on Github: Exercise2.cpp