Laboratory_Assignments.mws

Laboratory assignments

This 1-credit-hour course consists of 14 computer labs to teach you how to use Maple to solve physics problems. Each lab is 3 hours long and there is no assigned work outside of this period. The text is a computer program written in Maple and called phys230.mws. You and your lab partner are assigned to read the text, execute the examples, and solve the assigned problems by using Maple, following the schedule given below. You complete each problem by showing the instructor or the TA what you have produced on your computer screen and having them record the problem as completed.
No paper will be handed in. Your final grade will be determined by how many of the assigned problems you complete and by your performance on a short oral examination at the end of the course.

Warning: some of you will be tempted to miss class and just work through the book on your own because the class feels so much like independent study.
Do not do this. You will find yourself staring at a piece of Maple code that should work, but doesn't, and not have a clue about what is wrong. This happens in class too, but there you can raise your hand, a TA comes over and says, ``You need a comma right there.'', the code works, and you are underway again. By yourself this
comma can take take a long time to find, wasting a lot of your valuable time. So please: come to class.

Also: watch for the checkpoints listed below after Chapters 2, 5, and 9. They are there to keep you from getting behind and trying to finish the whole course in the last week.

Chapter 1 (labs 1-2)


(a) Open the Introduction and read it with your lab partner.

(b) Open the Index and look at it. Click on a topic, then figure out a way to get back to the Index.

(c) Open Chapter 1 and work through each section, executing all of the Maple commands and doing what the text tells you to do.

(d) Use the things you have learned in Chapter 1 to make a Maple worksheet that presents the following problem in text and equations, discusses how to solve it, then uses Maple commands to solve it.

(e) A charged disk of radius
a and uniform charge density sigma produces an electric field E[z] along the z -axis (where the z -axis is the line perpendicular to the disk through its center) given by the integral expression

E[z](z) = sigma*z*int(r/((r^2+z^2)^(3/2)),r = 0 .. ...

Find a simple algebraic expression for E[z](z) , then use sigma = 1 e-6 C/(m^2) , epsilon[0] = 8.854 e-12 N*m^2/C , and a = 1 mm to make a plot of E[z](z) from z = -5*a to z = 5*a .

(f) In Example 15.13 of Serway the Venturi tube is discussed. Bernoulli's equation

P[1]+rho*v[1]^2/2 = P[2]+rho*v[2]^2/2

and the equation of continuity

A[1]*v[1] = A[2]*v[2]

are solved simultaneously to obtain the following formula
for
v[2] :

v[2] = A[1]*sqrt(2*(P[1]-P[2])/(rho*(A[1]^2-A[2]^2)...



Use Maple's
solve command to obtain this result.

Chapters 2 and 9 (labs 3-4)

(a) Go to Chapter 9 and study the symbolic algebra commands listed there, running the examples as you go. Don't work through the long exercise at the end, but just try to become familiar with the commands and what they do. As you work the other problems in this course you will probably refer to this chapter often as you try to talk Maple into giving you results in the form you want.

(b) Work through the sections of Chapter 2 from x-y Plotting to Plotting Data, skipping the advanced topics. Work the following problems and show your work to your TA.

2.1, 2.2, 2.3, 2.6, 2.7, 2.8, and the Plotting Data example.

(c) Work through the sections of Chapter 2 from Parametric Plots to 3-D Plotting and do the following problems:

2.10, 2.12, 2.13, 2.14, 2.16, 2.18, 2.20, 2.24, and work through and experiment with the commands in the 3D Plotting section. Especially become familiar with the items available on the toolbar at the top of the plot frame.

(d) Not required, but a good idea: If you have time, do the advanced material on wave
packets in the section on animations
and do problems 2.21-23.

CHECKPOINT 1:

Chapters 1 and 2 must be finished now; no late work accepted after the end of the 4th laboratory period.


Chapter 3 (labs 5-7)

(a) Work through Limits, Differentiation, and part of Integration in Chapter 3, up through Elementary Integrals. Show your TA your work on Problems 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, and 3.11.

(b) Work through the rest of Integration in Chapter 3, and show to your TA Problems 3.12, 3.13, 3.14, 3.16, and 3.17.

(c) Work through Series Expansions and Sums. Do Problems 3.19, 3.20, 3.21, 3.22, 3.23, 3.24, 3.25, and 3.26.

Chapter 4 (lab 8)

Work through Chapter 4 on Complex Analysis, doing Problems 4.1, 4.2, 4.3, 4.4, 4.5, 4.7, 4.8, 4.11, 4.12, and 4.13.

Chapter 5 (lab 9)

Work through Chapter 5 on Linear Algebra, doing Problems 5.1, 5.2, 5.3, 5.4, 5.5, and 5.6.

CHECKPOINT 2:

Chapters 3-5 must be finished now; no late work accepted after the end of the 9th laboratory period.

Chapter 6 (lab 10)

(a) Work through Chapter 6 on Solving Equations, doing problems 6.1, 6.2, 6.4, and 6.5.

(b) Find all of the zeros of the Bessel function derivative
diff(J[2](x),x) between 0 and 100.
Load them into a column vector
a[n] . You can do this problem very compactly by using the seq command with fsolves inside it, remembering that the zeros of Bessel functions are separated by about pi . A plot of the derivative expression will immediately show you that there is a root at x = 0 , but Maple will have trouble finding it because of the 1/x that appears in the derivative formula. Just load this simple root by hand and let Maple find the rest.

Chapter 8 (labs 11-12)

(a) Work through the first two sections of Chapter 8 on Procedures, Loops and Logic, and do problems 8.1, 8.2, 8.3, 8.4, 8.5, 8.6, and 8.7.

(b) Work through the last two sections of Chapter 8, doing problems 8.8, 8.9, 8.10, 8.13, and 8.14.

Chapter 9 (labs 13-14)

(a) Look at Chapter 9 again and do Problems 9.1 and 9.2. Then do one of the three problems 9.3, 9.4, or 9.5.

(b) Come see the instructor and take a 20-minute oral/computer exam to show that you have a working knowledge of Maple.

(c) Catch up on any late lab work and work on the three homework problems from your other physics or math classes. Pass them off to the TA.

CHECKPOINT 3:

Chapters 6, 8-9 must be finished now; no late work accepted after the last lab period.

Go to top of section