Math Lab 8: Electric Fields Integrating Continuous Charge Distributions II Due noon Thu. Feb. 1 in class

Similar documents
Math Lab 10: Differential Equations and Direction Fields Complete before class Wed. Feb. 28; Due noon Thu. Mar. 1 in class

Physics 212E Spring 2004 Classical and Modern Physics. Computer Exercise #2

Mathematica Project 3

Linear Motion with Constant Acceleration

Calculus II. Calculus II tends to be a very difficult course for many students. There are many reasons for this.

Vectors. Vector Practice Problems: Odd-numbered problems from

VPython Class 2: Functions, Fields, and the dreaded ˆr

Terminology and notation

Experiment 13. Dilutions and Data Handling in a Spreadsheet rev 1/2013

Using Microsoft Excel

Physics 6A Lab Experiment 6

Exploring Graphs of Polynomial Functions

Intermediate Math Circles Winter 2018 Even More Fun With Inequalities

Please read this introductory material carefully; it covers topics you might not yet have seen in class.

Overview In chapter 16 you learned how to calculate the Electric field from continuous distributions of charge; you follow four basic steps.

Math 5a Reading Assignments for Sections

Solve Systems of Equations Algebraically

Making Measurements. On a piece of scrap paper, write down an appropriate reading for the length of the blue rectangle shown below: (then continue )

Please bring the task to your first physics lesson and hand it to the teacher.

Lab 4: Gauss Gun Conservation of Energy

Lab Slide Rules and Log Scales

Quadratic Equations Part I

MATH 120 THIRD UNIT TEST

University of Utah Electrical & Computer Engineering Department ECE 3510 Lab 9 Inverted Pendulum

Experiment 1: The Same or Not The Same?

Guide to Proofs on Sets

Algebra & Trig Review

Physics 6A Lab Experiment 6

Algebra. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Lab 2 Worksheet. Problems. Problem 1: Geometry and Linear Equations

CHAPTER 7: TECHNIQUES OF INTEGRATION

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Day 1: Over + Over Again

Conservation of Momentum

= v = 2πr. = mv2 r. = v2 r. F g. a c. F c. Text: Chapter 12 Chapter 13. Chapter 13. Think and Explain: Think and Solve:

DON T PANIC! If you get stuck, take a deep breath and go on to the next question. Come back to the question you left if you have time at the end.

LAB 2 - ONE DIMENSIONAL MOTION

This format is the result of tinkering with a mixed lecture format for 3 terms. As such, it is still a work in progress and we will discuss

LAB: Photometry of the Pleiades Cluster

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

STARTING WITH CONFIDENCE

Designing Information Devices and Systems I Fall 2017 Midterm 2. Exam Location: 150 Wheeler, Last Name: Nguyen - ZZZ

Calculus Workshop. Calculus Workshop 1

Empirical Gas Laws (Parts 1 and 2) Pressure-volume and pressure-temperature relationships in gases

Software Testing Lecture 2

Physics Motion Math. (Read objectives on screen.)

Lesson 21 Not So Dramatic Quadratics

Math 2250 Lab #1 : Tennis Ball Missile Defense

Assignment 1 Physics/ECE 176

Lab 5 The Green House Effect Pre-lab

Getting to the Roots of Quadratics

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011

Lab 8 Impulse and Momentum

Possible Prelab Questions.

Lecture 17: Trees and Merge Sort 10:00 AM, Oct 15, 2018

Lab #2: Newton s Second Law

MATH 18.01, FALL PROBLEM SET # 8

Astronomy 102 Math Review

Adam Blank Spring 2017 CSE 311. Foundations of Computing I. * All slides are a combined effort between previous instructors of the course

Conservation of Momentum

Introduction. So, why did I even bother to write this?

Integration by Triangle Substitutions

Data Structures & Database Queries in GIS

MIT BLOSSOMS INITIATIVE

Purpose: Materials: WARNING! Section: Partner 2: Partner 1:

DATA LAB. Data Lab Page 1

August 7, 2007 NUMERICAL SOLUTION OF LAPLACE'S EQUATION

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On

Lab 11 Simple Harmonic Motion A study of the kind of motion that results from the force applied to an object by a spring

3.4 Pascal s Pride. A Solidify Understanding Task

QFT. Unit 1: Relativistic Quantum Mechanics

Lecture 10. (2) Functions of two variables. Partial derivatives. Dan Nichols February 27, 2018

Harmonic Motion. Mass on a Spring. Physics 231: General Physics I Lab 6 Mar. 11, Goals:

PHYSICS LAB: CONSTANT MOTION

Math for Radiographers. Observation. What s *not* the issue

Conservation of Energy and Momentum

PHY 101L - Experiments in Mechanics

Lesson 3-7: Absolute Value Equations Name:

Newton s Cooling Model in Matlab and the Cooling Project!

PHYSICS LAB: CONSTANT MOTION

At the start of the term, we saw the following formula for computing the sum of the first n integers:

B3 Relating Launch Speed and Range

Edexcel AS and A Level Mathematics Year 1/AS - Pure Mathematics

PHY 123 Lab 1 - Error and Uncertainty and the Simple Pendulum

Lab 5: Calculating an equilibrium constant

Final Exam Review Exercise Set A, Math 1551, Fall 2017

Introduction to Algebra: The First Week

Lab 3 Acceleration. What You Need To Know: Physics 211 Lab

Solve Wave Equation from Scratch [2013 HSSP]

4. Dispersion. The index of refraction of the prism at the input wavelength can be calculated using

Physics 2020 Laboratory Manual

What is proof? Lesson 1

Computational Chemistry Lab Module: Conformational Analysis of Alkanes

Guide to Proofs on Discrete Structures

0 MATH Last Updated: September 7, 2012

Strongly Agree Agree

Position and Displacement

Experiment 0 ~ Introduction to Statistics and Excel Tutorial. Introduction to Statistics, Error and Measurement

1.4 Techniques of Integration

PageRank: The Math-y Version (Or, What To Do When You Can t Tear Up Little Pieces of Paper)

Transcription:

Matter & Motion Winter 2017 18 Name: Math Lab 8: Electric Fields Integrating Continuous Charge Distributions II Due noon Thu. Feb. 1 in class Goals: 1. Learn to use Mathematica to plot functions and to numerically evaluate definite integrals, by exploring functions that do not have elementary anti derivatives. 2. Practice setting up integrals to calculate the electric field due to continuous charge distributions. Instructions: Same as previous labs; see Handout folder in program file share. INTRODUCTION This lab continues and extends last week s Math Lab 7, this time for integrals which must be evaluated numerically, for cases where no elementary anti derivatives exist. This lab begins with checking on the final results from last week s lab. The lab continues with a brief exploration of functions which don t have elementary anti derivatives as a way to learn how to use Mathematica s numerical integration capabilities. Then, you will follow along with the procedures you practiced last week to set up integrals to calculate the electric field for a continuous ring of charge anywhere in the plane of the ring in class and in your text, you ve seen the special case of the electric field on the axis of the ring, which can be found analytically. Finally, you ll be challenged to investigate how to handle non uniform charge distributions. PART 0: CHECKING ON FINAL RESULTS FROM MATH LAB 7 1. At the end of Math Lab 7, you considered a 0.30 m long rod with 6 nc of charge uniformly distributed over its length that lay along the axis, with its right end at the origin. You were to determine and at the field point 0 m, 4 m by following the standard strategy to find the definite integrals and modifying the provided MMA notebook to evaluate the definite integrals. Many of you struggled with this. 2. If using MMA you found 0.126031 and 3.36555 both in N/C, and both reported with too many digits, great! Please move on to Part 1. Otherwise, please continue with this part. 3. What definite integrals did you find? Hopefully you have these in your notes or you saved your modified MMA notebook and can get it from that. If not, hopefully you will consider saving this kind of work in the future, and you luckily get to practice these skills again. Fill in the blanks. 4. Consider these definite integrals and how you set them up in MMA. Were your limits of integration to 0, where 0.30 in meters? Was your integration variable? Was your, where 0 and 4.0 both in meters? Did you implement correctly in MMA? etc. Working with your classmates or instructors, rework until correct. Comment in the space below on what your errors were and how you corrected them. Be specific.

PART 1: PERFECTLY GOOD FUNCTIONS WITHOUT ELEMENTARY ANTI DERIVATIVES 5. Consider the functions sin, sin sin, and sin sin. Which of these functions have you previously found anti derivatives for or equivalently, which of these functions have you integrated? Circle them, or if you have not encountered any of these functions and their anti derivatives, circle that choice. sin sin sin none of these 6. sin is a standard integral, which you can find in your table of indefinite integrals Stewart p. 358. You can evaluate sin using the half angle formula see Stewart p. 390, Example 2 or using integration by parts. So hopefully you circled those choices above. 7. As a class, we haven t formally encountered sin yet. SPOILER ALERT: it turns out that sin does not have an elementary anti derivative. But why not? Is there something peculiar about the graph of this function? Let s see, and along the way learn some more about MMA. 8. Launch the MMA notebook Mathematica Lab 8 Perfectly Good Functions.nb, available in Handouts: Math: Math Labs: Math Lab 8 folder. If not already, turn on Presentation mode follow instructions on screen at start of notebook. If you haven t previously, launch the kernel by evaluating the 22 cell reminder: click in the cell, then hit ShiftEnter. 9. Examine the cell labeled ML8.9. There s quite a bit going on in this cell 1 : the base function is defined, and then its variants. The three functions are also plotted. Evaluate this cell and examine the outputs. Hopefully the graphs of sin and sin look like what you expected. Is there anything unreasonable about the graph of sin, or does it look like a perfectly good function? It is, in fact, a perfectly good function. 10. Earlier, we claimed that sin and sin could be found and in fact, that you could find them. Let s have MMA find them. Examine the cell labeled ML8.10. Hopefully the syntax makes sense. Evaluate this cell and examine the outputs. Fill in the boxes below with the appropriate outputs 2. sin sin sin 11. The results for the first two integrals should make sense and in fact be familiar. This last one is strange. And earlier, wasn t it claimed that sin doesn t have an elementary anti derivative? This function, the Fresnel integral, is actually defined as sin, so it s not actually very useful, since we know from the FTC that if sin, then sin, but this doesn t tell us what is in terms of elementary functions. So while true, this is not useful. 12. Maybe definite integrals will work better. Examine the cell labeled ML8.12. Hopefully the syntax makes sense. Evaluate this cell and examine the outputs. Fill in the boxes below with the appropriate outputs. sin sin sin 13. The first two outputs are numbers, as we expect, since a definite integral should output a number. The last output is not particularly helpful 3. Why didn t we get a number? In cases like this, you need to tell MMA to numerically integrate the definite integral. 14. Examine the cell labeled ML8.14, which is nearly identical to the ML8.12, but instead of Integrate, we have NIntegrate. Evaluate this cell. Fill in the boxes below with the appropriate outputs. Note the instead of signs, as numerical integrals are approximations albeit often very good ones for definite integrals. sin sin sin 1 It s not required for this lab to understand this syntax fully, but do ask at the end if you are interested in learning more. 2 MMA doesn t include the constant of integration, but it should. I m not sure how to write in a purple C into MMA, but I would if I could. 3 Actually, this would be helpful if you had a table of output values for this special function. Such tables were painstakingly constructed using numerical methods, and filled volumes and volumes. Fun reads, fun times.

15. Repeat, but this time with the functions,, and. You should be able to evaluate the first two using substitution. As it turns out, SPOILERS, while a perfectly good function as you will see, has no elementary antiderivative. Examine cell ML8.15, and evaluate it. Examine the graph outputs. The first two should not be surprising. Does look like a perfectly good function? 16. Evaluate the rest of the cells, and fill out the table below 4. 17. For easy later reference, the graphs from this section are below. You might find it helpful to label the graphs with their function. 0.8 0.6 4 2 2 4 0.4 4 2 2 4 0.2 4 2 2 4 6 4 2 25 20 15 10 5 0.8 0.6 0.4 0.2 2 1 1 2 2 1 1 2 2 1 1 2 PART 2: SETTING UP INTEGRALS FOR THE ELECTRIC FIELD OF A UNIFORM RING OF CHARGE 18. Consider as your source a uniformly charged ring of negligible thickness that lies in the plane with its center at the origin. The ring has radius and total charge. Your goal is to determine the definite integrals which would allow you to calculate the component and component of the electric field at the point,. Even though this ring seems twodimensional, you can reduce it to a single variable problem by thinking about the unit circle as you ve seen in both physics and math. Follow the strategy you learned in physics lecture and practiced in Math Lab 7. Don t evaluate these definite integrals just yet only write them down by filling in the blank spaces on the next page. Use the space on the next page to show your work attach extra pages at end if you need space. 4 In case you are interested it doesn t matter for this lab, Sinh is the hyperbolic sin function, defined as sinh

19. Here are some intermediate pieces that were required to get to the correct integrals for this situation. For each, check the Yes box if you got it correct; otherwise, examine your work, consult neighbors and instructors as necessary, and fill in the corrected reasoning box with what your mistake was and how you now understand it. Did you get: Yes If no, corrected reasoning cos sin 2 limits of integration: 0 to 2 20. If necessary, use the previous step to update/correct your definite integrals below. If you are confident in your results on the previous page, go to step 21. 21. For the component of the electric field, you should have found cos cos sin / Did you? If yes, nice work! If not, check your work, consult with a neighbor or instructor as needed, and consider very carefully where you went wrong in step 19. and 20, and use the space below to reflect on what skills you need more practice with. 22. If necessary, also correct your integral, which you should be able to do given the integral in step 21.

PART 3: EVALUATING INTEGRALS, NUMERICALLY 23. Consider as your source a specific uniformly charged ring of negligible thickness that lies in the plane with its center at the origin. This ring has radius 0.10 m and total charge 5 nc. Using MMA, implement the definite integrals you determined in Part 2. I encourage you to modify the MMA notebook you used in Lab 7 to get more practice with MMA; however, I ve also provided an updated one for this lab MMA Lab 8 Single Ladies.nb 5 if you d rather use that or would like to check your version. Note: MMA might output some complaints, but it should also return results. 24. Confirm your work by checking the field at the center of the ring don t forget units. Does this make sense? Explain briefly. 25. Confirm your work by determining the direction of the electric field at 0, 0 m don t forget units. Direction of electric field: Does this make sense? Explain briefly. 26. Confirm your work by comparing the magnitude of the electric field at 0.30 m, 0.40 m to your result from step 25. don t forget units. Magnitude of electric field: Does this make sense? Explain briefly. 27. Confirm your work by determining the field at a very far distance on the x axis, say 20.0 m, 0 note: very far from the ring, it can be approximated as a point charge. CHALLENGE PART 4: NON UNIFORM CHARGE DISTRIBUTION 28. What if the charge is not uniformly distributed? Consider the ring from Part 3, but this time, have the charge density vary as a function of angle, so that sin, where 1 nc/m. How does your integral change? How do you implement this in MMA? Report the electric field at the center of the ring, at 0.30m, 0.40 m, and far from the ring. Comment on your results. Attach extra pages as needed. 5 Cause if you like it then you should have put a ring on it