Create a functional program that can calculate the displacement and velocity of a free-falling body given the follawing equations of motion, use the constant gravitational acceleration of 32.2 ft/s2 and have the user input the value of initial velocity Vo. The output should show the tabulated results for time t from 0 s to 2 s with a unit step of 0.2s. You may use an additional pre - defined function for this exercise. s = V,t -gt? V = V – gt

Question

*C++ programming - please use include iostream (most preferred)

*Include pseudocodes as well (in form of comments)

Create a functional program that can calculate the displacement and velocity of a free-falling
body given the follawing equations of motion, use the constant gravitational acceleration of
32.2 ft/s2 and have the user input the value of initial velocity Vo. The output should show the
tabulated results for time t from 0 s to 2 s with a unit step of 0.2s. You may use an additional
pre - defined function for this exercise.
s = V,t -gt?
V = V – gt
Expand
Transcribed Image Text

Create a functional program that can calculate the displacement and velocity of a free-falling body given the follawing equations of motion, use the constant gravitational acceleration of 32.2 ft/s2 and have the user input the value of initial velocity Vo. The output should show the tabulated results for time t from 0 s to 2 s with a unit step of 0.2s. You may use an additional pre - defined function for this exercise. s = V,t -gt? V = V – gt

Expert Answer

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.
Tagged in
Engineering
Computer Science

Programing Language

Related Computer Science Q&A

Find answers to questions asked by students like you.

Q: Enterprise system software vendors need business systems analysts who understand both information sy...

A: Specific qualifications for being a strong business analyst The person should have a bachelor’s deg...

Q: Write an assignment statement that increments the intNumEmployees variable by 1.

A: Since you are not specified the programming language, we are providing the answer in java. Thank you...

Q: Why might it sometimes be necessary to bypass the normal changemanagement system and make urgent cha...

A: It might sometimes become necessary to bypass the normal change management system when urgent change...

Q: write all in one code by using strings in c++ you are hired to create a program that lets the user p...

A: Program: #include <iostream> #include <string> using namespace std;   //Feature 1 void f...

Q: Write and SQL query using the MAX operator to show all data from the Order Items table in which the ...

A: The Structured Query Language (SQL) query to display all the data from the Order items table in whic...

Q: How do you call function that you created? How to use function? This is one of most important topics...

A: Functions:   Functions are the set of instructions that is grouped in a section to perform a particu...

Q: In-class Assignment Day 8 You should draw the hierarchy for your classes to understand how the codi...

A: Programming instructions: Create an abstract class shape. Declare the required variables in it. Use...

Q: Find the cost of a shortest path between a and d in the given weighted graph.

A: Shortest path:   Shortest path is the path which has minimum distance to travel from one node to ano...

Q: Given a public class named DryEraseMarker which contains: •   two private data member variables name...

A: A Java program for the given criteria is as follows, File name: “DryEraseMarker.java” import java.aw...

Q: Create an application via NetBeans with named Pizza that storesinformation about a single pizza. It ...

A: PROGRAM:   package com.example; //Defining the Class Pizza class Pizza {      //Defining the variabl...

Q: R7.30Assuming the following declarations, find the mistakes in the statements below. struct A { int...

A: a) b[0].a2 is of type A* but it's trying to assign a(of type A) to it, trying to make assignment bet...

Q: Please provide the screenshots of the cmd and examples of it.   Part 2     Create and delete user ac...

A: To create user accounts,the 'adduser' command is used. After creating account, immediately prompt wi...

Q: Why is learning and understanding the fundamentals of basic electronics important in the technology ...

A: Importance of learning and understanding the fundamentals basic electronics in technology: Computer...

Q: help with c++ problem

A: A C++ program for the given criteria is as follows, File name: “main.cpp” #include <iostream> ...

Q: Programming in C: Challenge 1: Create and Print a Doubly Linked List In class, I briefly mentione...

A: Program to create and print the doubly linked list in forward and reverse direction. //header files ...

Q: Consider 2 integer arrays, x and y, each with size equal to 10.Initialize array x with random number...

A: Since you have not mentioned the programming language in the question so, we have used C++ programmi...

Q: How do you use isempty?

A: isEmpty() method belongs to java. isempty() function belongs to matlab. IsEmpty() function belongs t...

Q: please help as soon as possible!

A: Bitwise operation for clearing bits: Use bitwise AND for clearing the particular bits.  Example-  8 ...

Q: Which one of the following issues is the most significant barrier to the expansion of and further in...

A: Issue which is the most significant barrier According to the scenario, the expansion in the system i...

Q: You are not able to print a Word document on a Windows computer to a printer on the network. The net...

A: Explanation: From the above scenario, one can identify that the printer is installed as a shared mo...

Q: C++ program

A: Program: #include <iostream> #include <cmath> using namespace std;   void calculate(floa...

Q: The default constructor must be ___________.a. a Function procedureb. a Sub procedurec. an Event pro...

A: Constructors: In Visual Basic, a constructor is a class method always named new whose sole purpose ...

Q: Write a program that replaces words in a sentence. The input begins with word replacement pairs (ori...

A: Program code: #main function def main():    #reading data    replacement_pairs = input()      #split...

Q: An application instantiates an Animal object and assigns it to the cat variable. Which of the follow...

A: Calling function: A function procedure is called with the help of a procedure name, followed by the...

Q: (Convert decimals to fractions) Write a program that prompts the user to enter a decimal number and ...

A: As you have not mentioned the programming language in the question, so we have solved this question ...

Q: What are the advantages  of using microsoft excel ? What are the advantages of using microsoft word?

A: [Note: We are authorized to answer one question at a time, since you have not mentioned which questi...

Q: Q.3 (i) In DES Key Generation, 64 bit key is given to "Permuted Choice 1" which results in 56 bits k...

A: DES stands for Data Encryption Standard. DES makes use of the Block Cipher technique. This breaks th...

Q: The tblCities table contains a numeric field named Population. Which of the following LINQ statement...

A: Answer: The LINQ statement that calculates the total population of all the cities in the table is, D...

Q: Part 1 Find the single-source shortest path from Home to all of the other locations in the graph. Sh...

A: Note: We are authorized to answer one question at a time, since you have not mentioned which questio...

Q: Create a simple program that calls a function call gradeCalculated, in the main area the user is ask...

A: Program code: #define a function gradeCalculated def gradeCalculated(score): #if score less than 60...

Q: PLEASE EXPLAIN THE FOLLOWING C# code for the project shown in the images given here using System;pub...

A: The output of the program code 1:   Program1 code with readable comments:   //using system namespac...

Q: Convert the following statement to a statement that uses the universial quantifier:"There is no larg...

A: Universal quantifier: ∀a ∈ A, P(a) It means that for every a in the set A, the statement P(a) is tru...

Q: // Declare data fields: a String named customerName,// an int named numItems, and// a double named t...

A: Program:   class ShoppingCart{// Declare data fields: a String named customerName,// an int named nu...

Q: Statistics are often calculated with varying amounts of input data. Write a program that takes any n...

A: Program #displaying message to user to enter number print("enter inputs:") #taking data input from u...

Q: Minimize the boolean expression - xy + ( z+y)'+ y'

A: xy + ( z+y)'+ y' Use Demorgan's Law (A+B)' = A'B' xy + (z'y') + y' Take y' as common part, xy +y'(z'...

Q: Given a sorted list of integers, output the middle integer. Assume the number of integers is always ...

A: Programming language is missing in the question. The below program is written in Python language for...

Q: (c)  Suppose that you have access to the sorted weight list in an ascending order in O(1), which of ...

A: Kruskal's algorithm and Prim's algorithm are used to get minimum spanning tree of an undirected grap...

Q: Convert the infix expression to postfix expression. x*y+w-z

A:   In order to convert the infix expression to postfix expression, follow the below steps-   x*y+w-z ...

Q: Select from the options to fill in the blanks with a correct statement. Options may be used more tha...

A: The program creates a fork using fork(). Whenever pid > 0 the process is parent. When pid == 0 th...

Q: Which query determines the customers who have ordered the most books from JustLee Books?  (refer to ...

A: Query The query that determines the customers who have ordered the most books from JustLee Books is ...

Q: How to conduct multiple regression in Excel(Provide the steps)?

A: Excel is basically a great choice for conducting multiple regression if the user doesn't have access...

Q: Write a O(n) time complexity C-function void maxmin(int data[], int n, int *min, int *max); finds an...

A: Below is the implementation of the function: - Explanation of the function: - Defining the function...

Q: Multiplication of Binary Numbers: 010110 x 111001

A: To perform the binary multiplication, one should know how addition works with the binary numbers and...

Q: I am not a “computer” expert; however I recently purchased a desktop personal computer (PC) online f...

A: Hey, since there are multiple questions posted, we will answer first three questions. If you want an...