Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace PROJETIL_POO
- {
- class CalculoAltura
- {
- public double HMax;
- public double dist = 0;
- public double VI = 5;
- public double g = 9.81;
- public double retHMax;
- /* Calcula o ângulo e a distância */
- public double calcHMAx() {
- HMax = (Math.Pow(VI * Math.Sin(dist), 2)) / (2 * g);
- return retHMax;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement