Posts by Vinicius • 29 points
3 posts
- 
		1 votes1 answer113 viewsQ: Hyperbolic cosine approach - PythonI have a little exercise to do: compare the result of the Cosh(x) approximation by Taylor series with the function you have in the Python library. The hyperbolic cosine Taylor series is: Cosh(x) = 1… 
- 
		0 votes2 answers860 viewsQ: Check if number is equal to the sum of squares of 4 consecutive prime numbersI need to do a program where I type a number and the program checks if it is the sum of the square of 4 consecutive primes. Example: 2020 has to give 17 2 + 19 2 + 23 2 + 29 2 My code for now is… 
- 
		-2 votes1 answer264 viewsQ: Matrix - PythonI’m doing a college paper that requires me to do the Space Invaders game. I was able to make the game matrix and now I need to put the ships inside it, for now it’s like this: I need to print the…