course_planning:183_projects:s23_week_3_geostationary_orbit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
course_planning:183_projects:s23_week_3_geostationary_orbit [2023/01/25 20:14] hallsteincourse_planning:183_projects:s23_week_3_geostationary_orbit [2023/10/18 01:20] (current) hallstein
Line 141: Line 141:
  
 <WRAP tip> <WRAP tip>
-This programming problem requires students to put in the correct initial conditions from Tuesday, but also to model the gravitational force appropriately (i.e., translate the equation to code). This is tough for some groups because the vector calculations can be challenging.+This programming problem requires students to put in the correct initial conditions from Tuesday, but also to model the gravitational force appropriately (i.e., translate the equation to code). This is tough for some groups because vector calculations can be challenging.
  
 There's lots to play with once they get a working code. Ask them to demonstrate how they know it's circular. See what they come up with, but you can push them to think about plotting the separation between the Earth and the satellite. Make sure you have them test different time steps when they do that. You can have them check it works for an elliptical orbit.  There's lots to play with once they get a working code. Ask them to demonstrate how they know it's circular. See what they come up with, but you can push them to think about plotting the separation between the Earth and the satellite. Make sure you have them test different time steps when they do that. You can have them check it works for an elliptical orbit. 
Line 148: Line 148:
 </WRAP> </WRAP>
  
-First we want to input our radius of geostationary orbit and the necessary velocity, as well as any constants:+<WRAP tip> 
 +== Tutor Questions == 
 +  * **Question:** Can you sketch the satellite in its geostationary orbit about Earth?   Include the net force acting on the object and the separation vector. 
 +  * **Expected Answer:**... 
 +  * **Question:** Where does the separation vector point? From where to where?   
 +  * **Expected Answer:** It points from the center of Earth to the satellite. 
 +  * **Question:** In what direction does the net force vector acting on the satellite point?   
 +  * **Expected Answer:** The force points toward the center of Earth. 
 +   
 +  * **Question:** How are $\vec{r}$, $\left | \vec{r} \right |$ and $\hat{r}$ related? 
 +  * **Expected Answer:** $\vec{r} = \left | \vec{r} \right | \cdot \hat{r}$ 
 + 
 +</WRAP> 
 + 
 + 
 +We want to input our radius of geostationary orbit and the necessary velocity, as well as any constants:
 <code Python> <code Python>
 #Objects #Objects
Line 161: Line 176:
  
 Next, we want to incorporate the force due to gravity.  Change the given null vector to the required gravitational force: Next, we want to incorporate the force due to gravity.  Change the given null vector to the required gravitational force:
 +<WRAP tip>
 +== Tutor Question ==
 +  * **Question:** How can you enter the magnitude of a vector into the code?
 +  * **Expected Answer** In the notes and in the pre-class homework we used mag(), so we will try using mag(Satellite.pos) here for the magnitude of our separation vector.
 + </WRAP>
 +
 <code Python> <code Python>
 #Calculation Loop #Calculation Loop
Line 281: Line 302:
  
 Changes made to the given code: Changes made to the given code:
 +
 {{course_planning:project_solutions:project_3_code_b.png}} {{course_planning:project_solutions:project_3_code_b.png}}
  
Line 292: Line 314:
  
 Inside the while loop, add: graphExample.plot(t, mEarth) Inside the while loop, add: graphExample.plot(t, mEarth)
 +
 +<WRAP tip>
 +== Tutor Questions ==
 +  * **Question:** The plotted distance is varying with time.  Is this a concern?  WHy is this?
 +  * **Expected Answer:**  It is not a concern.  We inputted given values to a couple of significant figures and the variations are just a small fraction of the distance...
 +</WRAP>
 +
 +
  
 ====== Project 3: Part D: Geostationary orbit ====== ====== Project 3: Part D: Geostationary orbit ======
Line 297: Line 327:
 On a single graph, plot both the x-component of the satellite's momentum and the x-component of the net force acting on the satellite. On a single graph, plot both the x-component of the satellite's momentum and the x-component of the net force acting on the satellite.
  
 +<WRAP tip> 
 +== Tutor Questions == 
 +  * **Question:** Why does it seem as though the net force is zero? 
 +  * **Expected Answer:**  It looks that way because the size of the force plotted by Python is several orders of magnitude smaller than the size of the plotted momentum.  We fixed this by adding a scale and plotting the force in units of $10^4$ N 
 +  * **Question** From the plotted graph, what is the relationship between Fnet,x and p,x? 
 +  * **Expected Answer** When Fnet,x is at an extreme value, p,x is zero; when Fnet,x is zero, p,x is at an extreme value. 
 +</WRAP>
 Solution code for parts C and D Solution code for parts C and D
  
  • course_planning/183_projects/s23_week_3_geostationary_orbit.1674677666.txt.gz
  • Last modified: 2023/01/25 20:14
  • by hallstein