Question

Assume that for your observation, the first measurement was taken 30 seconds after you arrived, and...

Assume that for your observation, the first measurement was taken 30 seconds after you arrived, and the second was taken 45 seconds after you arrived. At the first measurement, the car was 50 meters past the starting line of the track. At the second measurement, the car was 615 meters past the starting line of the track.

  • Write a python program that determines, for any time between 30 and 45 seconds, where the car will be on the track (in terms of meters past the starting line). The time to evaluate at should be a variable in your program. The program should print both the time and the position at that time to the screen, with a line describing what is being output. You should test your program at various times and make sure the results seem reasonable

Homework Answers

Answer #1

Given that,

Let as assume that the acceleration (a) is constant and it starts with an initial velocity (u) from the starting point.

Then,

Then we can write,

On rearranging (1) and (2), we get,

Therefore at any time t, the position of the object is,

Program:

u=-22.33

a=1.6

t=input('Enter the time')

S=(u*t)+(0.8*t**2)

Print('The position is',S)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. Starting from rest, it took you 12 seconds to accelerate your car to 24 m/s...
1. Starting from rest, it took you 12 seconds to accelerate your car to 24 m/s at a constant acceleration. Find your acceleration. 2.A prototype car starts from rest and accelerates at a constant rate to 60 m/s in 5.1 seconds. How much distance did the car travel during the 5.1-second accelerated motion? 3. A speeding driver noticed a police car parked about 443 m in from of him on the side of the road and reduced his speed at...
You are starting your first job after college and are looking for a mutual fund in...
You are starting your first job after college and are looking for a mutual fund in which to invest some of your retirement savings. You research a number of mutual funds and find that fund A has generated excellent returns for the past 2 years and has a highly respected fund manager. You also find that fund B has earned slightly below-average returns for the past 5 years, is being advertised as a good buy, and is expected to break...
You are starting your first job after college and are looking for a mutual fund in...
You are starting your first job after college and are looking for a mutual fund in which to invest some of your retirement savings. You research a number of mutual funds and find that fund A has generated excellent returns for the past 2 years and has a highly respected fund manager. You also find that fund B has earned slightly below-average returns for the past 5 years, is being advertised as a good buy, and is expected to break...
You are starting your first professional job after graduation and evaluating three alternatives for your retirement...
You are starting your first professional job after graduation and evaluating three alternatives for your retirement savings in conjunction with your college loan repayment and car purchase plans. Your company 401K retirement plan will match your retirement savings contribution up to $6000/year (about 8% of your annual salary). Your 401K retirement investment fund has a long-term annual return of about 7%. Alterative-1: You can repay your college loan at $6000/yr in 5 years, but your budget with a new-car purchase...
You and your spouse purchased your first home immediately after the birth of your child. You...
You and your spouse purchased your first home immediately after the birth of your child. You have lived in the home for the past 18 years, paying your mortgage on time, but otherwise struggled to accumulate savings to pay for college. Your child is off to college this fall and annual cost is estimated to be $70,000. You originally paid $450,000 for your house, which has appreciated in price at 3.5% per annum. The original mortgage was a 30 year...
FOR PROBLEMS 1 AND 2. Use the sequence formulas. Carry out your calculations to the final...
FOR PROBLEMS 1 AND 2. Use the sequence formulas. Carry out your calculations to the final number. Round the results to 1 decimal place.    1. Consider the sequence: 1/2, 1, 2, 4, 8, a. Find the 30th term of the sequence. b. Find the sum of the first 30 terms of the sequence. 2. You give your daughter a piggy bank with $2 in it. She puts $5 in it the next week and each week thereafter. How much...
Excel retirement problem:  You just got your first job and plan to start saving for...
Excel retirement problem:  You just got your first job and plan to start saving for retirement by investing with each monthly paycheck.  You plan to retire in 45 years.  In 50 years, you want to give your daughter a gift of $1,000,000.  You will receive an inheritance from a rich great-uncle of $250,000 in 20 years.  You think you will want $150,000 every year when you retire, starting the day you retire. You plan to...
How much money do you think you would earn in a period of 30 days if...
How much money do you think you would earn in a period of 30 days if you were paid as follows: one cent for the first day, two cents for the second day, four cents for the third day, eight cents for the fourth day, and so on (i.e. your salary doubles each day)? Do you think you would make very little money, just a few dollars, at the end of the 30-day period? Let us write a program to...
You oversee the $250 petty cash for your company. When an employee needs a special item...
You oversee the $250 petty cash for your company. When an employee needs a special item that is not in inventory, you take money from petty cash to purchase that item. One day, you are short on cash for lunch. You decide to borrow $10 each day for the next 3 days until payday for a total of $30 from petty cash. After payday, you do not have enough to repay petty cash, so you decide to record a cash...
You oversee the $250 petty cash for your company. When an employee needs a special item...
You oversee the $250 petty cash for your company. When an employee needs a special item that is not in inventory, you take money from petty cash to purchase that item. One day, you are short on cash for lunch. You decide to borrow $10 each day for the next 3 days until payday for a total of $30 from petty cash. After payday, you do not have enough to repay petty cash, so you decide to record a cash...