This question concerns the Compton formula (Eq. 3.4), which gives the energy Eout of a scattered...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
This question concerns the Compton formula (Eq. 3.4), which gives the energy Eout of a scattered photon as a function of the energy Ein of the incoming photon and the angle of scatter : Ein Eout = Ein 1+ [1 cos(0)] mec Where me is the rest mass of the electron, and c the speed of light in a vacuum. a. Write a Python function that takes an incoming energy Ein (in keV) and an angle (in degrees) and returns the scattered energy Eout (in keV). Your function should be preceded by comment lines explaining its purpose and use, and detailing the input parameters and returned value. You should also include explanatory comments within the function where appropriate. Test your function before using it in part b). Considerations: Give your function and any variables meaningful names. Remember to import any packages that your function might need. Remember that the Python cos( ) function takes an argument in radians. The mass energy of the electron mec expressed in electronvolts is: 511.0 keV Paste a copy of your function, including any comments and import statements (either as text or as a screenshot) into your answer. Explain how you have tested your function. (4 Marks) This question concerns the Compton formula (Eq. 3.4), which gives the energy Eout of a scattered photon as a function of the energy Ein of the incoming photon and the angle of scatter : Ein Eout = Ein 1+ [1 cos(0)] mec Where me is the rest mass of the electron, and c the speed of light in a vacuum. a. Write a Python function that takes an incoming energy Ein (in keV) and an angle (in degrees) and returns the scattered energy Eout (in keV). Your function should be preceded by comment lines explaining its purpose and use, and detailing the input parameters and returned value. You should also include explanatory comments within the function where appropriate. Test your function before using it in part b). Considerations: Give your function and any variables meaningful names. Remember to import any packages that your function might need. Remember that the Python cos( ) function takes an argument in radians. The mass energy of the electron mec expressed in electronvolts is: 511.0 keV Paste a copy of your function, including any comments and import statements (either as text or as a screenshot) into your answer. Explain how you have tested your function. (4 Marks)
Expert Answer:
Related Book For
Financial accounting
ISBN: 978-0136108863
8th Edition
Authors: Walter T. Harrison, Charles T. Horngren, William Bill Thomas
Posted Date:
Students also viewed these programming questions
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
Visit http://www.swisswireless.org/wlan_calc_en.html and go to the Antenna section. Observe the dynamics between the signal frequency, antenna diameter, and antenna gain of a parabolic antenna. 1....
-
Review the Financial Statements provided to each group on Blackboard (You may use laptops for this exercise). [ Focus on: a) Is the company Profitable b) Does the company have a lot of liabilities c)...
-
Describe how to initiate the construction of a comprehensive and effective wealth plan.
-
Jurisdiction B's tax system consists of a 6.5 percent general sales tax on retail goods and selected services. Over the past decade, the average annual volume of sales subject to this tax was $500...
-
Your project is scheduled to last three months and cost $150,000. At the end of the first month, the project is 20% complete. What is the earned value (EV)?
-
CHS is a large multidivision firm. One division, Health Services, is well known inside CHS for it efficient information technology (IT). A smaller division, Optics, has approached Health Services...
-
Capital Power has evaluated its program. Using the four levels of evaluation, determine which levels were used. Prepare an evaluation program that will assess the goals of the program and the goals...
-
A headlight produced by Enterprise Lumiere was found to be defective. The company has three factories (labeled below as A. B, and C) where such headlights are manufactured. A Quality Control Manager...
-
Stars Bookshop is a sole trader company; offers to customers a well - rounded selection of books and stationery for children, teens, and adults. Use the below Adjusted Trial Balance on December 3 1 -...
-
For this assignment, you will be demonstrating that you know (1) how to read the rhetorical situation of applying for a position, and (2) how to write to that situation by presenting yourself...
-
Sterling purchased a 2 0 year annuity. Sterling paid $ 7 5 0 0 0 in 1 year, and each year for the next 2 0 years sterling will recieve $ 1 0 0 0 0 . How much of of each annuity payment does sterling...
-
Write the expression as a single logarithm. Check 1 7 logx- logy +6 log w 2 log (D
-
Assume that actual sales for the month total $ 7 5 0 , 0 0 0 as planned; however, actual sales by product are: White, $ 3 0 0 , 0 0 0 ; Fragrant, $ 1 8 0 , 0 0 0 ; and Loonzain, $ 2 7 0 , 0 0 0 ....
-
According to the Rational Zero Theorem, list all possible rational roots of P(x)=8x-3x+4x-1
-
The number of automobile trips per hour(V) between tow midwestern cities has the following function: V = aT,20T 15 C,05C6 Where TA and TT are the travel time for auto and transit, respctively; CA and...
-
A researcher reports a significant two-way between-subjects ANOVA, F(3, 40) = 2.96. State the decision to retain or reject the null hypothesis for this test.
-
Harbour Master Marine Supply reported the following comparative income statement for the years ended September 30, 2010, and 2009: Harbour Masters President and shareholders are thrilled by the...
-
Set up the following T-accounts: Cash, Accounts Receivable, Office Supplies, Office Furniture, Accounts Payable, Common Stock , Dividends, Service Revenue, Salary Expense, and Rent Expense. Record...
-
Suppose Dighton Cycles, Inc., reported a number of special items on its income statement. The following data, listed in no particular order, came from Dightons financial statements (amounts in...
-
True or False. The hysteresis loop of the stress-strain curve of a material causes damping.
-
True or False. Motion in the case of hysteresis damping can be considered harmonic.
-
True or False. The complex stiffness can be used to find the damping force in a system with hysteresis damping.
Study smarter with the SolutionInn App