Print

 

 

{source}

<?php 
require_once JPATH_SITE.'/TTcustom/TT_contentparser.php';
\(parameters = array("topicname" => "04waves_13light",
 "modelname" => "ejss_model_Shadows_Exercise_2_frem");

echo generateSimHTML(\)parameters, "EJSS");
?>
{/source}

1. Overview and Context:

The material presents a computational exercise (Exercise 2 within a larger set) designed to help students understand the behavior of light patterns and shadows created by multiple point light sources passing through a rectangular aperture. This exercise builds upon a previous one (Exercise 1) that likely dealt with a single point source. Diffraction is explicitly ignored in this model, focusing on ray optics principles and a numerical summation approach.

The broader context is a series of computational physics exercises ("PICUP") intended for first-year undergraduate physics students and beyond. These exercises aim to bridge computational modeling with potential hands-on experiments using simple light sources and apertures. The platform utilizes EasyJavaScriptSimulation for interactive models and also provides Python code examples for the simulations.

2. Core Learning Objective of Exercise 2:

The primary learning objective of Exercise 2 is for students to be able to:

This involves understanding how the superposition of light from multiple sources, after passing through an aperture, affects the intensity (irradiance) pattern observed on a screen.

3. Simulation Methodology:

The simulation employs a numerical approach based on:

4. Python Code Implementation (Shadows_Exercise_2.py):

The provided Python code snippet illustrates how the simulation for Exercise 2 is implemented. Key aspects of the code include:

5. Exercise Questions:

Exercise 2 poses specific questions for the students to investigate:

6. Pedagogical Implications:

This exercise provides a hands-on (or rather, computationally-driven) approach to understanding:

The suggestion to couple this with simple physical experiments reinforces the connection between computational models and real-world phenomena.

7. Noteworthy Points:

In conclusion, "PICUP EXERCISE 2" is a valuable learning activity that utilizes computational modeling to explore the concept of irradiance distribution from multiple point sources passing through a rectangular aperture. It encourages students to predict, visualize, and analyze the resulting light patterns, fostering a deeper understanding of basic optical principles.

 

Study Guide: Irradiance Due to Multiple Point Sources and a Rectangular Aperture

Overview

This study guide focuses on the concepts and computational approach presented in the PICUP Exercise 2, which explores the irradiance pattern generated on a screen by multiple point light sources passing through a rectangular aperture. The exercise utilizes a numerical simulation method, ignoring diffraction effects, to predict and visualize these patterns. Understanding this exercise involves grasping the geometry of the setup, the principle of superposition of light (implicitly), and the application of a transparency function defined by the aperture.

Key Concepts

Quiz

  1. Describe the physical setup modeled in PICUP Exercise 2. What are the key components and their relative positions?
  2. What is the purpose of the 'transparency function' in the simulation, and how is it implemented for a rectangular aperture?
  3. How does the simulation calculate the irradiance at a single point on the screen due to one of the point sources? What factors are considered?
  4. Explain how the simulation accounts for multiple point sources to determine the total irradiance at the screen. What principle is implicitly used?
  5. What are the learning objectives of this exercise, as stated in the "About" section of the resource?
  6. What programming language is used for the provided code (Shadows_Exercise_2.py), and what are some of the imported libraries and their general functions?
  7. In the provided Python code, what do the variables zs, zsc, and rso represent?
  8. Explain the role of the meshgrid function in the Python code. What variables are created using it, and what do they represent?
  9. How are the coordinates of the intersection points at the aperture plane (x0, y0) calculated in the code? What geometric principle is being applied?
  10. What does the contourf function from matplotlib.pyplot do in the provided Python code, and what does the resulting plot represent?

Quiz Answer Key

  1. The setup consists of a linear array of N point light sources located at a specified distance (zs) from a rectangular aperture. A screen is placed at another specified distance (zsc) from the aperture. The simulation calculates the irradiance pattern on this screen.
  2. The transparency function acts as a mask to determine whether light rays passing through a particular point in the aperture plane reach the screen. For a rectangular aperture, it checks if the x and y coordinates at the aperture fall within the defined width and height, assigning a value of 1 (transparent) if they do, and 0 (opaque) otherwise.
  3. For a single point source, the simulation calculates the squared distance (rsq) from the source to each point on the screen. The irradiance is then proportional to the transparency of the corresponding point in the aperture divided by this squared distance.
  4. The simulation calculates the irradiance at each screen point due to each individual point source and then sums these contributions. This implicitly uses the principle of superposition, assuming the intensities of the light sources add linearly.
  5. The learning objectives include the ability to predict and visually represent the irradiance distribution at a screen generated by a point light source and an aperture, multiple point light sources and an aperture, multiple point light sources and a complex aperture, a two-dimensional array of point light sources and an aperture, and a two-dimensional array of point light sources and an opaque barrier (though Exercise 2 specifically focuses on the second objective).
  6. The programming language is Python. The imported libraries include pylab (which includes matplotlib.pyplot for plotting) for creating the contour plot, labels, and colorbar, and numpy for creating and manipulating numerical arrays like meshgrid, zeros, linspace, and where.
  7. zs represents the distance between the source(s) and the aperture [cm]. zsc represents the distance between the screen and the aperture [cm]. rso is a NumPy array storing the (x, y) coordinates of each of the N point sources [cm, cm].
  8. The meshgrid function takes two 1D arrays (screen_xx and screen_yy) and returns two 2D coordinate matrices (screen_xx, screen_yy). These matrices represent all the x and y coordinates of the points on the screen, forming the spatial grid on which the irradiance is calculated and plotted.
  9. The coordinates at the aperture plane (x0[i,j], y0[i,j]) are calculated using similar triangles formed by the source, the aperture, and the screen. The formulas effectively project the line from the source through a screen point back to the aperture plane based on the distances zs and zsc.
  10. The contourf function creates a filled contour plot. In this code, it takes the y-coordinates, x-coordinates of the screen points, and the calculated irradiance values as input to generate a visual representation of the irradiance distribution on the screen, with different colors representing different irradiance levels.

Essay Format Questions

  1. Discuss the limitations of the ray optics approximation used in this exercise, particularly when considering real-world light sources and apertures. How might diffraction phenomena alter the observed irradiance patterns?
  2. Explain the relationship between the number and spacing of the point sources in the linear array and the resulting irradiance pattern on the screen after passing through the rectangular aperture. Consider cases with few and many sources.
  3. Describe how the dimensions and position of the rectangular aperture influence the shape and intensity of the irradiance pattern observed on the screen when illuminated by multiple point sources.
  4. The exercise mentions the possibility of coupling the computational simulations with simple experiments. Outline a possible experimental setup using basic materials and discuss how the predicted light patterns could be compared to experimental measurements. What challenges might arise in such a comparison?
  5. Analyze the structure and logic of the provided Python code (Shadows_Exercise_2.py). Explain how the code implements the physical model described in the exercise, highlighting the key steps in the calculation of the irradiance distribution.

Glossary of Key Terms

 Version:

  1. https://www.compadre.org/PICUP/exercises/Exercise.cfm?A=Shadows&S=6
  2. http://weelookang.blogspot.com/2018/06/shadows-ray-optics.html 

Frequently Asked Questions: Irradiance from Multiple Point Sources through a Rectangular Aperture

1. What is the purpose of this computational exercise? This exercise aims to help students understand and visualize the light patterns and shadows created when light from multiple point sources passes through a rectangular aperture and falls on a screen. Students are expected to computationally generate and analyze these irradiance distributions.

2. What physical phenomena are being explored in this exercise? The primary physical phenomenon explored is the superposition of light from multiple point sources after passing through an aperture. The exercise focuses on ray optics and geometrically determined shadows and light patterns, explicitly ignoring diffraction effects.

3. How is the irradiance distribution calculated in the simulation? The simulation calculates the irradiance at the screen by summing the contributions from each point source. For each point source and each point on the screen, it determines if the light ray passing through the aperture would reach that screen point. This is done by applying a logical mask based on the aperture's dimensions. The irradiance contribution from each source is inversely proportional to the square of the distance from the source to the screen.

4. What parameters can be varied in this simulation? Based on the provided code and exercise description, several parameters can be varied, including:

  • The number of point sources (nso).
  • The distance between the source(s) and the aperture (zs).
  • The distance between the screen and the aperture (zsc).
  • The total length of the array of point sources (length_so).
  • The width (ap_width) and height (ap_height) of the rectangular aperture.
  • The width (screen_width) and height (screen_height) of the screen.
  • The number of intervals used to discretize the screen width (nw) and height (nh), affecting the resolution of the simulation.

5. What is the role of the rectangular aperture in shaping the irradiance pattern? The rectangular aperture acts as a spatial filter, allowing only the light rays that pass through its opening to reach the screen. It casts a geometric shadow corresponding to its shape, and with multiple light sources, the superposition of these individual shadows creates a more complex irradiance distribution with regions of varying intensity.

6. How does increasing the number of point sources affect the irradiance pattern on the screen? Increasing the number of point sources, while keeping the total length of the source array constant, leads to a more complex irradiance pattern on the screen. Instead of a single well-defined shadow (as with a single point source), multiple overlapping shadows from each source passing through the aperture are generated. This results in regions with varying degrees of illumination, from fully illuminated areas to regions blocked by shadows from multiple sources. As the number of sources increases and become more closely spaced, the pattern may begin to resemble the pattern created by a continuous light source of the same size.

7. What does the filled contour plot of irradiance represent? The filled contour plot visually represents the irradiance distribution on the screen. Different colors or shades on the plot correspond to different levels of irradiance. The x and y axes of the plot represent the lateral coordinates on the screen, allowing students to see how the intensity of light varies across the screen's surface. The colorbar provides a key to interpret the irradiance values.

8. What is the significance of ignoring diffraction in this exercise? By ignoring diffraction, this exercise focuses on the principles of ray optics and the formation of geometric shadows. Diffraction effects, which cause light to bend around obstacles and spread out after passing through an aperture, are not considered. This simplification allows students to first grasp the basic concepts of shadow formation and superposition with multiple light sources based purely on the paths of light rays. Diffraction would introduce more complex patterns, such as fringes at the edges of shadows.

 

Parent Category: 03 Waves
Category: 04 Light
Hits: 8918