Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
course_planning:183_projects:s23_week_3_geostationary_orbit [2023/01/25 20:14] – hallstein | course_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 | + | 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' | There' | ||
Line 148: | Line 148: | ||
</ | </ | ||
- | First we want to input our radius of geostationary orbit and the necessary velocity, as well as any constants: | + | <WRAP tip> |
+ | == Tutor Questions == | ||
+ | * **Question: | ||
+ | * **Expected Answer: | ||
+ | * **Question: | ||
+ | * **Expected Answer:** It points from the center of Earth to the satellite. | ||
+ | * **Question: | ||
+ | * **Expected Answer:** The force points toward the center of Earth. | ||
+ | |||
+ | * **Question: | ||
+ | * **Expected Answer:** $\vec{r} = \left | \vec{r} \right | \cdot \hat{r}$ | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | We want to input our radius of a 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. | Next, we want to incorporate the force due to gravity. | ||
+ | <WRAP tip> | ||
+ | == Tutor Question == | ||
+ | * **Question: | ||
+ | * **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. | ||
+ | </ | ||
+ | |||
<code Python> | <code Python> | ||
# | # | ||
Line 281: | Line 302: | ||
Changes made to the given code: | Changes made to the given code: | ||
+ | |||
{{course_planning: | {{course_planning: | ||
Line 292: | Line 314: | ||
Inside the while loop, add: graphExample.plot(t, | Inside the while loop, add: graphExample.plot(t, | ||
+ | |||
+ | <WRAP tip> | ||
+ | == Tutor Questions == | ||
+ | * **Question: | ||
+ | * **Expected Answer: | ||
+ | </ | ||
+ | |||
+ | |||
====== 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' | On a single graph, plot both the x-component of the satellite' | ||
+ | <WRAP tip> | ||
+ | == Tutor Questions == | ||
+ | * **Question: | ||
+ | * **Expected Answer: | ||
+ | * **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. | ||
+ | </ | ||
Solution code for parts C and D | Solution code for parts C and D | ||