Calculate the trajectory of a soccer ball

Assignment Help C/C++ Programming
Reference no: EM131035

Write a program to calculate the trajectory (flight path) of a soccer ball when it is kicked by a player inside the field of play, and display the result of the kick. The program calculations will include the effects of gravity and the drag of air resistance on the ball.

We will consider the field is the "standard" size with a length FL = 105m and a width FW = 68m.

The goal has a width GW = 7.32m and a height GH = 2.44m.

We will assume the "centre spot" is the origin of the x and y axes, with axes in the directions shown above. The height of the ball above the ground is in direction z.

Then the coordinates of field are:

  • Top touchline (edge) is at y = +34m = ½FW
  • Bottom touchline (edge) is at y = -34m = -½FW 
  • Right goal line edge is at x = 52.5m = ½FL

The player is in the field of play, inside the rectangle of touchlines and goal lines.

The right goal is located at x = 52.5m = ½FL and has |y| < 3.66m = ½GW and 0 < z < 2.44m = GH.

The left goal is at x = -52.5m = ½FL and also has |y| < 3.66m = ½GW and 0 < z < 2.44m = GH.

Reference no: EM131035

Questions Cloud

Evaluate thermal efficiency of the cycle : Evaluate thermal efficiency of the cycle
Find the absolute maximum and minimum mpg : Find the absolute maximum and minimum mpg
Level process control lab : Determination of the open-loop system
Evaluate the integral : Evaluate the integral
Calculate the trajectory of a soccer ball : Write a program to calculate the trajectory (flight path) of a soccer ball
Future economic glowth : Future economic glowth
Data modeling and normalization : Data Modeling and Normalization
Explain supply and demand diagrams : Explain Supply and demand diagrams
Solve the logarithmic equations : Solve the logarithmic equations

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Design a nested program

How many levels of nesting are there in this design?

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write a program to read a data file and extract parameters

Write a C/C++ program to read a data file and extract parameters. The program must obtain the filename via a command-line argument.

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Model-view-controller

Explain Model-View-Controller paradigm

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write two short c programs and solve exam-style problem

Write two short C programs and solve four exam-style problems.

  Calculation of mortgage interest rates

Instruction of pointers and the calculation of mortgage interest rates.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd