1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
eimsori [14]
3 years ago
7

Write a program that allows the user to enter a time in seconds and then outputs how far an object would drop if it is in free f

all for that length of time. Assume that the object starts at rest, there is no friction or resistance from air, and there is a constant acceleration of 32 feet per second due to gravity. Use the equation: distance = acceleration x time-squared divided by 2
Computers and Technology
1 answer:
Sonja [21]3 years ago
6 0

Answer:

// here is code inn c++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

// variable

   int t;

   double acc=32;

   cout<<"Enter the time in seconds:";

   // read the time in seconds

   cin>>t;

   // Calculate the distance=acceleration x time-squared divided by 2

   double dis=acc*(t*t)/2;

   // print the distance

   cout<<"distance is: "<<dis<<" feet."<<endl;

return 0;

}

Explanation:

Read the time in seconds from user and assign it to variable "t". declare and initialize variable "acc" with 32.Find the distance as "dis=acc*(t*t)/2". Print the distance.

Output:

Enter the time in seconds:10

distance is: 1600 feet.

You might be interested in
The first operating systems, in the 1950s, were designed for _____.
Leya [2.2K]

They were designed for batch processing.

Explanation

In the beginning, around the 1940s, electronic computers were built without Operating systems. These computers could not do basic calculations, read and write data, or run programs. Setbacks such as these led to the development of operating systems.

The first one was introduced in the early to mid-1950, and it relied on the batch processing systems to facilitate submission of data into groups. Rather than processing tasks individually, this system processed tasks in batches. Upon the completion of a job, the batch would head over to the OS’s software. The software would then dump the state of the active task and open the next one. This helped reduce operator intervention and time wastage.

Learn more:

  • How does operating systems work when passing parameters to kernel. brainly.com/question/6062548

#LearnwithBrainly

7 0
3 years ago
A security analyst recommends implementing SSL for an existing web service. A technician installs the SSL certificate and succes
forsale [732]
C- I think. I hope this helps you.
4 0
3 years ago
Which of the following is not an example of debugging? looking for errors in programming code. fixing misspelled commands in pro
natali 33 [55]
Upgrading to improve the program code.
7 0
3 years ago
Are our current copyright policies helping society or hurting society? i need help
Oksanka [162]

Answer:

helping society

Explanation:

it can help you to protect your works and creativity and brilliant ideas from liars and cheaters and frauds

5 0
3 years ago
Write a pseudocode to add the first 100 even numbers.
Allushta [10]

Even numbers are numbers whigh are divisible by 2. Therefore, the first even number is 2. A pseudocode which adds the first 100 even numbers can be written thus :

counter = 0

sum = 0

interval = 2

while counter < 100 :

sum = sum + interval

interval += 2

counter +=1

print(sum)

  • A counter takes count of the number of values summed

  • Initializes a variable which holds the sum of even values

  • Since even numbers are divisible by 2; every factor ; increase every added value by 2

  • The program ends once counter is 100

Learn more : brainly.com/question/25327166

6 0
2 years ago
Other questions:
  • you would like to enter a formula that subtracts the data in cell b4 from the total of cells b2 and b3. what should the formula
    5·2 answers
  • What tool is provided in Windows to facilitate sharing data objects between applications and computers?
    8·1 answer
  • You work as a Network Administrator for wwwpany Inc. You have suspected a bad driver or perhaps malware. Which of the following
    12·1 answer
  • Create a do-while loop that asks the user to enter two numbers. The numbers should be added and the sum displayed. The loop shou
    5·1 answer
  • What is the name of the item that supplies the exact or near exact voltage at the required wattage to all of the circuitry insid
    14·1 answer
  • The following shared data structures must be declared as global variables such that they are shared by all threads
    7·1 answer
  • What methods do phishing and spoofing scammers use? List and explain methods to protect against phishing and spoofing scams.
    14·1 answer
  • I need a Python program that will read a data file, perform an analysis, and write the results to a separate file with a .txt ex
    15·2 answers
  • Choose the term that best matches the definition.
    9·1 answer
  • I need app ideas for basic everyday problems​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!