coding using python

profiledanya.alsinan
PythonExercises1.pdf

1

Python Exercises 1

ENGR SciD Lab Week 2

(25 pts total) | Due Next Lab Period Week 3

Example Exercises

Follow along with your TA at the start of lab for practice.

• Unit Conversion:

Bob pushes a box with a mass of 5.7 pounds with a force of 0.01 kilo-Newtons. What is the

acceleration (in meters per second squared) of Bob’s box? (Assume no losses due to friction.)

(Image: https://www.ekshiksha.org.in/chapter/60/friction.html?lang=1)

• Linear Momentum:

How fast would a baby carriage have to be going to have the same linear momentum as a

bulldozer?

2

Lab Problems:

Complete any unfinished work as homework before next lab period.

1. Example 4.3

Code the solution in Python, following the textbook solution.

Print your code for submission.

2. Example 4.4

Code the solution in Python, following the textbook solution.

Print your code for submission.

3. Example 4.5

Code the solution in Python, following the textbook solution.

Print your code for submission.

4. Problem 4.12

First, solve the problem by hand. Write out your solution following the format from the

Lab Syllabus for submission.

Second, code the solution in Python.

  • Python Exercises 1