Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This is one of the Assignments for my Computer Science class but Ido not know ho

ID: 3619327 • Letter: T

Question


This is one of the Assignments for my Computer Science class but Ido not know how to do it and I do not even know what formula to usefor it. It should be a pretty short and elementary program, couldyou guys please provide the correct program.

Write a program for projectile motion due to uniform gravityover level ground. For gravity, use g = 9.81 meter /second squared.The user should enter the initial height and the initial velocity.If the initial height is negative, the program should print awarning message and end.

The program should ask the user to enter velocity as a speed andan angle in degrees, not as x and y components. The program shouldthen calculate the two times at which the y value will be zero. Oneof those times is negative and the other is positive. Using onlythe positive time, the program should calculate particle’shorizontal location when it hits the ground.

Explanation / Answer

please rate - thanks this should get you started. get me the formulas, I'll complete the functions #include #include using namespace std; double calc1(double,double,double); double calc2(double,double,double); double calc3(double,double,double,double); int main() {double g=9.81,velocity,angle,time,height; coutheight; if(height
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote