-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconic_section_intro.html
126 lines (112 loc) · 4.7 KB
/
conic_section_intro.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Astrodynamics</title>
<link rel="stylesheet" type="text/css" href="css/skeleton.css"/>
<link rel="stylesheet" type="text/css" href="css/astro_d3.css"/>
<link href='http://fonts.googleapis.com/css?family=Merriweather:400,400italic,700' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="astro.js"></script>
<script type="text/javascript" src="lib/d3.js"></script>
<script type="text/javascript" src="js/astro_d3_utility.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
processEscapes: true
},
TeX: {
equationNumbers: { autoNumber: "AMS" },
extensions: ["color.js"]
}
});
</script>
<!-- <script type="text/javascript" src="/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>-->
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</head>
<body>
<header>
<!--
<div class="title">
<div class="container">
<div class="row">
<div class="nine columns">
<h1>Astrodynamics explained</h1>
<p> by Eelco Doornbos,
based on “Fundamentals of Astrodynamics”
by Karel Wakker
</p>
</div>
<div class="three columns">
<img class="tudelftlogo" src="img/tudelftlogo.png">
</div>
</div>
</div>
</div>
<div class="contents">
<div class="container">
<div class="row" id="menu">
</div>
</div>
</div>
-->
</header>
<div class="container">
<div class="row">
<div class="nine columns">
<h4>Conic section in polar coordinates</h4>
<p>
<span style="display: none;">$\definecolor{velocity}{RGB}{255,165,0}\definecolor{vr}{RGB}{0,0,255}\definecolor{vn}{RGB}{255,0,0}$</span>
<!-- In the previous section, we derived the equation for the shape of a satellite orbit from the differential equations of motion for the Two-Body Problem. We found The resulting equation matches the formula for a conic section in the polar coordinate system $r$ and ${\color{purple}\theta}$, where $p$ and $e$ are integration constants that will have to be set based on initial conditions. -->
\begin{equation}
r = \frac{p}{1+e\cos{\theta}}
\end{equation}
</p>
</div>
</div>
<div class="row">
<div class="nine columns">
<div id="conic_section_polar_orbit"></div>
</div>
<div class="three columns">
<div id="conic_section_polar_controls"></div>
</div>
<script type="text/javascript" src="js/conic_section_model.js"></script>
<script type="text/javascript" src="js/conic_section_inputoutput.js"></script>
<!-- <script type="text/javascript" src="js/conic_section_lines.js"></script> -->
<script type="text/javascript" src="js/conic_section_orbit.js"></script>
<!-- <script type="text/javascript" src="js/conic_section_hodograph.js"></script> -->
<script type="text/javascript">
model.eccentricity = 0;
model.init();
function updateGraphs() {
d3.select("#conic_section_polar_orbit").datum(model).call(orbitChart);
}
var orbitControls = conicSectionInputOutput()
.graphSetPrefix("conic_section_polar_orbit");
d3.select("#conic_section_polar_controls").datum(model).call(orbitControls);
var orbitChart = conicSectionOrbit()
.showSemiLatusRectum(true)
.showVelocity(false)
.showNormalRadialVelocity(false)
.showHodographCircle(false)
.showFlightPathAngle(false)
.canvasWidth(600)
.canvasHeight(300);
updateGraphs();
</script>
</div>
</div> <!-- container -->
<!--
<footer>
<div class="container">
<div class="row">
<div class="twelve columns">
</div>
</div>
</footer>
-->
<script type="text/javascript" src="js/menu.js"></script>
</body>
</html>