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
Verizon [17]
3 years ago
7

Due Friday by 11:59pm Points 100 Submitting a file upload Available after Aug 31 at 12am Challenge: Object Position Calculation

Description: Write a Python 3 program called objectposncalc.py that accepts user input from the keyboard for the initial position, initial velocity, acceleration, and time that has passed and outputs the final position based on an equation provided in the requirements. Purpose: Provide experience with writing an interactiv
Computers and Technology
1 answer:
kakasveta [241]3 years ago
4 0

Answer:

#here is code in python.

#main method

def main():

#read the initial position

   in_pos=float(input("enter the initial position:"))

#read the initial velocity

   in_vel=float(input("enter the initial velocity:"))

#read the acceleration

   acc=float(input("enter the acceleration:"))

#read time

   time=float(input("enter the time:"))

# final position =x+ut+(at^2)/2

   fin_pos=in_pos+(in_vel*time)+(acc*(time**2)/2)

#print the final position

   print("final position is: ",fin_pos)

       

#call the main method    

main()

Explanation:

Read the initial position, initial velocity, acceleration and time from user.Then calculate final position as initial position+(initial velocity*time)+ (acceleration*time^2)/2. This equation will give the final position. print the final position.

Output:

enter the initial position:10

enter the initial velocity:20.5

enter the acceleration:5

enter the time:15

final position is:  880.0

You might be interested in
Please Answer Fast will mark Brainliest!!!
vladimir1956 [14]

Answer:

same

Explanation:

3 0
3 years ago
When you set up a worksheet, you should use cell references in formulas whenever possible, rather than ____ values.
vovangra [49]

Answer:

Constant

Explanation:

One of the flexibility of worksheet is using cell references to get the value of a cell, this will make the overall formula update itself when cell values are changed, but when using a constant to make computation the formula is not keeping track of the contents of the cells for any change and this will make it a fresh work to get a value based on changed values.

4 0
3 years ago
A variable definition defines the name of a variable that will be used in a program, as well as:
tresset_1 [31]

Answer:

A) The type of data it will hold

Explanation:

In most programming languages, a variable must be decalared before it can be used. Variable declarations allows the compiller to make provision of memory space for the variable so the type of data must be defined accordingly with the name of the variable because different data types occuppy different spaces in memory for example

An integer is 32 bit integral value

A char  is 16 bit unicode value

A double is 64 bit floating point value

6 0
3 years ago
Rain,snow,wind,clouds are part of
Verizon [17]

Answer:

The Troposphere

Explanation:

This is the lowest part of the atmosphere - the part we live in. It contains most of our weather - clouds, rain, snow. In this part of the atmosphere the temperature gets colder as the distance above the earth increases

5 0
2 years ago
Jeremy has created a document that has images and a chart. The chart has to be updated manually, and double-clicking on the char
Sedaia [141]
I think the paste option that  jeremy has used is : 
Paste special as formatted text
Which means that now the text existed in usual text format and unclickable as  a link

hope this helps
8 0
3 years ago
Other questions:
  • The belief that the odds of two events occurring together are greater than the odds of either event occurring alone is the _____
    9·2 answers
  • How do you clean and maintain a mouse, keyboard, optical drive, computer display, and printers?
    7·2 answers
  • If you embed a Word table into PowerPoint, what happens when you make edits to the embedded data? A. Edits made to embedded data
    12·1 answer
  • Quienes son el proyectista y el director de obra en una ICT
    6·1 answer
  • The difference between a checked and an unchecked exception is:
    10·1 answer
  • In this problem, you will fill in the code for a function count_digits(val) that takes a positive integer, val, and returns a li
    12·1 answer
  • If your organization hires a new employee, what would you do to create a user account in the Linux system and add the account to
    11·1 answer
  • 2. Select the things you can do when working with rows in columns in a spreadsheet:
    5·1 answer
  • What are the pros and cons for E-trade?
    15·2 answers
  • Is jesus dead or alive
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!