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:53] 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}}
  
  • course_planning/183_projects/s23_week_3_geostationary_orbit.1674679982.txt.gz
  • Last modified: 2023/01/25 20:53
  • by hallstein