Implement a program to find the position of a cannonball

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

Implement a program to find the position of a cannonball

Program: Write a C++ program that calculates the position of a cannonball that is fired straight up in the air.

Use short time intervals (.01 seconds) and display the position and velocity every second. Use the equation s(t)= -(1/2)gt^2+v_0t  where g= 9.81m/s^2.

Illustrate these values every second until the cannonball returns to earth.

 

Reference no: EM13699362

Questions Cloud

Write a select statement that joins the customers : Write a SELECT statement that joins the Customers, Orders, OrderItems, and Products Tables. This statement should return these columns: LastName, FirstName, OrderDate, ProductName, ItemPrice, DiscountAmount, and Quantity.
Certain proteolytic enzymes react in alkaline solutions : Problem- Certain proteolytic enzymes react in alkaline solutions. One of these enzymes produces 1.8 micromoles of hydrogen ions per second in a 2.50 mL portion of a buffer composed of 0.25M NH3 and 0.20 NH4Cl. By how much will the concentration of..
Store user input - write c++ program : Write C++ program to provide the following functionality - Ask users to enter 10 integer numbers.
What are the balanced net ionic equations : Problem- What is the chemical equation for the above. Is there a reaction? If so, what are the balanced 1) molecular, 2) ionic, 3) net ionic equations? What are the states in the net ionic equation
Implement a program to find the position of a cannonball : Write a C++ program that calculates the position of a cannonball that is fired straight up in the air - Implement a program to find the position of a cannonball
How many grams of iron oxide will be produced : Problem- If 6.50 L of water vapor at 50.2 c and 0.121 atm reacts with excess iron, how many grams of iron (lll) oxide will be produced
Write a program to determine the cost of painting a room : implement the program to find the cost of painting a room - Write a program to determine the cost of painting a room.
Find a popular childrens story and write it into an array : Prompt a user to search for a string within the array, returning the position of the search item within the array - Can you give the answer ASAP?
The value of j for the lower electronic-vibrational : Problem- Consider an electronic transition of a diatomic molecule in which the up- per electronic state has a larger equilibrium bond distance than the lower state. Determine the value of J for the lower electronic-vibrational state at which the t..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Add a sentinel command to stop the loop

add a sentinel command to stop the loop. When the program is compiled, It'll ask the user to type in a palindrome. I want the user to type EXIT to end the loop.

  Approximately normally distributed

Write a program MakeFile.cpp that creates a file random.dat that contains 200 random numbers where each number is the sum of 12 random values rand( )%9. When we add a sufficient number of uniformly distributed numbers the result is approximately n..

  Explain one 1 scenario not mentioned in the textbook in

q1. describe one 1 scenario not mentioned in the textbook in which it would be advantageous for you to use a definite

  Create a program that counts the number of numbers

you need to create a program that counts the number of numbers between 150 and 200 - Can you write this program in c language? You need to implement a function that counts the numbers.

  The imperial system of measurements

The Imperial system of measurements uses feet and inches for length, where 1 foot is equal to 12 inches. Write a class named Imperial that will represent distance measurements in feet and inches. Your class should include the following.

  Program for keeping course list for each student in college

Write a program for keeping a course list for each student in a college. The information about each student should be kept in an object that contains the student's name and a list of courses completed by the student.

  Write a program that reads a string from the keyboard

Write a program that reads a string from the keyboard and then display all vowels contained within a user-input string. (Vowels are: a e i o u)

  Write a linked-list-based push-down stack implementation

Write a linked-list-based push-down stack implementation that keeps items on the list in order from least recently inserted to most recently inserted. You will need to use a doubly linked list.

  Write a marie program

Write a Marie program - Given a numbers in memory, labelled V, reverse its sign - You can halt your program once the Result is determined.

  Create the appropriate constructor, getters and setters

Create the appropriate constructor, getters and setters for the class. Create an instance of Student for each of the students listed above from array. Construct the instance with lastname, firstname, and job.

  Allows you to enter 10 phonecalls into an array

Create a main() function that allows you to enter 10 PhoneCalls into an array. If a PhoneCall is already been placed to a number, do not allow a second PhoneCall to the same number

  Design a simple atm service kiosk

Design a simple ATM service kiosk. This kiosk supports the following options for its menu: 1. Viewing your account balance2. Depositing cash3. Withdrawing cash

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