Write a program to calculate the trajectory flight path of

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

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: EM13347120

Questions Cloud

1 the initial conditions for an air-standard otto cycle : 1. the initial conditions for an air-standard otto cycle operating with a compression ratio of 81 are 95 kpa and 17o c.
1 for a certain suvnbspnbsp mx -015x2 131x - 73 30 le x : 1. for a certain suvnbspnbsp mx -.015x2 1.31x - 7.3 30 le x le 60 represents the mpg obtained at a speed of x mph.
Level process control labbased on the following graphs you : level process control labbased on the following graphs you should write a discussion report on1.determination of
Q1 evaluate the following indefinite integralsq2 using : q.1 . evaluate the following indefinite integralsq.2. using the method of integration by parts evaluate the following
Write a program to calculate the trajectory flight path of : write a program to calculate the trajectory flight path of a soccer ball when it is kicked by a player inside the field
Although the country produced several types of commodities : although the country produced several types of commodities goods and services in the year 2003. but this countrys
The task in this project is to design a normalized database : the task in this project is to design a normalized database that could be used to collect and store information for a
Question explain each of the following using supply and : question explain each of the following using supply and demand diagrams.a when a cyclone hits queensland the price of
1 joe and sam each invested 20000 in the stock market joes : 1. joe and sam each invested 20000 in the stock market. joes investment increased in value by 5 per year for 10 years.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Mark the following statements as true or false

Mark the following statements as true or false.

  Machine that i would like to know

Let's say I have a machine that I would like to know, on average, how much it runs throughout a given day through a percentage value. Every 30 seconds, I will have a device to record the current temperature of the machine. If the machine increases..

  Create a 1-dimensional (1d) array

Write a program to create a 1-dimensional (1D) array that contains 15 characters and display to the screen a count of the occurrences of each of the vowels a, e, i, o, and u in the array.

  Randominrange() function that accepts two integer

Write a randomInRange() function that accepts two integer parameters. The parameters will represent the low number and the high number (both inclusive) in the random range. For example, when the function receives 3 and 8.

  How many whole numbers they wish to enter

Write a program, which will ask the user how many whole numbers they wish to enter. The program will then read that many numbers, print them in the order they were entered, sort them in order by increasing value, and print them in sorted order.

  Develop a two dimensional interactive game

The player starts as a disk, but can "morph" (that is expand and contract) in selected directions

  The program should support a ''new'' feature

Write a GUI program that represents a simple Notepad clone. The program should support a 'new' feature that clears the text buffer, a save feature that writes to a file using a PrintStream

  Two types of sporting teams

Select two types of sporting teams and de?ne subclasses for them. These classes shouldinherit from a base team class such as that created in Exercise 1. Include uniquecharacteristics about the sport.

  Goto statements to explicitly

Rewrite the following program fragment using goto statements to explicitly show the flow control through the loop.

  Bare in mind this is a program

Bare in mind this is a program with the audience being lawncare and landscaping people. So the events will generally be to know how often a client wants their lawn mowed.

  Produce a top-level design for your program

You are required to code the program using the C++ Programming Language. Your program should be properly laid out and should be modular, making sure that software engineering aspects of modularity and reusability as fully considered.

  A hierarchical jpeg encode decoder for greyscale images

This project is to develop a program that implements a hierarchical JPEG encoder/decoder for greyscale images.

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