Skip to content

Commit

Permalink
deploy: 3e51bd7
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Jun 16, 2024
1 parent 2363932 commit d0ca86f
Show file tree
Hide file tree
Showing 10 changed files with 82 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ The Laguerre algorithm can be implemented as:

:::{math}
:label:
\chi_{i + 1} = \chi_{i} - \frac{n f(\chi_i)}{f'(\chi_i) \pm \left[\left(n - 1\right)^2 \left(f'(\chi_i\right)^2 - n\left(n - 1\right) f(\chi_i)f''(\chi_i)\right]}
\chi_{i + 1} = \chi_{i} - \frac{n f(\chi_i)}{f'(\chi_i) \pm \left[\left(n - 1\right)^2 \left(f'(\chi_i)\right)^2 - n\left(n - 1\right) f(\chi_i)f''(\chi_i)\right]^{1/2}}
:::

The sign ambiguity in the denominator is determined by taking the sign of the numerical value of $f'(\chi_i)$. In addition, the solution is relatively insensitive to the choice of the value of $n$, which is an integer constant. It seems as though $n = 5$ is a reasonable value. Choosing $n = 1$ gives the standard Newton's algorithm.
Expand Down
6 changes: 3 additions & 3 deletions classical-orbital-elements/classical-orbital-elements.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions interplanetary-maneuvers/planetary-arrival-capture.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion orbital-maneuvers/nonimpulsive-maneuver-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ <h2>Solution<a class="headerlink" href="#solution" title="Link to this heading">
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7fd1e8a191f0&gt;]
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f207c4dd280&gt;]
</pre></div>
</div>
<img alt="../_images/4a4c7edd0df96fda916598b1598a6bf58f661fd4e6c360268ceeb398e28de359.png" src="../_images/4a4c7edd0df96fda916598b1598a6bf58f661fd4e6c360268ceeb398e28de359.png" />
Expand Down
8 changes: 4 additions & 4 deletions orbital-maneuvers/plane-change-maneuvers.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions the-n-body-problem/lagrange-points.html
Original file line number Diff line number Diff line change
Expand Up @@ -800,42 +800,42 @@ <h2>Collinear Lagrange Points<a class="headerlink" href="#collinear-lagrange-poi
</style>

<div class="animation">
<img id="_anim_imgbabe26fa66564c6f95d5ecce84b5edcc">
<img id="_anim_img06455e6fe58e4f66aa52b87d07d13bc4">
<div class="anim-controls">
<input id="_anim_sliderbabe26fa66564c6f95d5ecce84b5edcc" type="range" class="anim-slider"
<input id="_anim_slider06455e6fe58e4f66aa52b87d07d13bc4" type="range" class="anim-slider"
name="points" min="0" max="1" step="1" value="0"
oninput="animbabe26fa66564c6f95d5ecce84b5edcc.set_frame(parseInt(this.value));">
oninput="anim06455e6fe58e4f66aa52b87d07d13bc4.set_frame(parseInt(this.value));">
<div class="anim-buttons">
<button title="Decrease speed" aria-label="Decrease speed" onclick="animbabe26fa66564c6f95d5ecce84b5edcc.slower()">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim06455e6fe58e4f66aa52b87d07d13bc4.slower()">
<i class="fa fa-minus"></i></button>
<button title="First frame" aria-label="First frame" onclick="animbabe26fa66564c6f95d5ecce84b5edcc.first_frame()">
<button title="First frame" aria-label="First frame" onclick="anim06455e6fe58e4f66aa52b87d07d13bc4.first_frame()">
<i class="fa fa-fast-backward"></i></button>
<button title="Previous frame" aria-label="Previous frame" onclick="animbabe26fa66564c6f95d5ecce84b5edcc.previous_frame()">
<button title="Previous frame" aria-label="Previous frame" onclick="anim06455e6fe58e4f66aa52b87d07d13bc4.previous_frame()">
<i class="fa fa-step-backward"></i></button>
<button title="Play backwards" aria-label="Play backwards" onclick="animbabe26fa66564c6f95d5ecce84b5edcc.reverse_animation()">
<button title="Play backwards" aria-label="Play backwards" onclick="anim06455e6fe58e4f66aa52b87d07d13bc4.reverse_animation()">
<i class="fa fa-play fa-flip-horizontal"></i></button>
<button title="Pause" aria-label="Pause" onclick="animbabe26fa66564c6f95d5ecce84b5edcc.pause_animation()">
<button title="Pause" aria-label="Pause" onclick="anim06455e6fe58e4f66aa52b87d07d13bc4.pause_animation()">
<i class="fa fa-pause"></i></button>
<button title="Play" aria-label="Play" onclick="animbabe26fa66564c6f95d5ecce84b5edcc.play_animation()">
<button title="Play" aria-label="Play" onclick="anim06455e6fe58e4f66aa52b87d07d13bc4.play_animation()">
<i class="fa fa-play"></i></button>
<button title="Next frame" aria-label="Next frame" onclick="animbabe26fa66564c6f95d5ecce84b5edcc.next_frame()">
<button title="Next frame" aria-label="Next frame" onclick="anim06455e6fe58e4f66aa52b87d07d13bc4.next_frame()">
<i class="fa fa-step-forward"></i></button>
<button title="Last frame" aria-label="Last frame" onclick="animbabe26fa66564c6f95d5ecce84b5edcc.last_frame()">
<button title="Last frame" aria-label="Last frame" onclick="anim06455e6fe58e4f66aa52b87d07d13bc4.last_frame()">
<i class="fa fa-fast-forward"></i></button>
<button title="Increase speed" aria-label="Increase speed" onclick="animbabe26fa66564c6f95d5ecce84b5edcc.faster()">
<button title="Increase speed" aria-label="Increase speed" onclick="anim06455e6fe58e4f66aa52b87d07d13bc4.faster()">
<i class="fa fa-plus"></i></button>
</div>
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_selectbabe26fa66564c6f95d5ecce84b5edcc"
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select06455e6fe58e4f66aa52b87d07d13bc4"
class="anim-state">
<input type="radio" name="state" value="once" id="_anim_radio1_babe26fa66564c6f95d5ecce84b5edcc"
<input type="radio" name="state" value="once" id="_anim_radio1_06455e6fe58e4f66aa52b87d07d13bc4"
>
<label for="_anim_radio1_babe26fa66564c6f95d5ecce84b5edcc">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_babe26fa66564c6f95d5ecce84b5edcc"
<label for="_anim_radio1_06455e6fe58e4f66aa52b87d07d13bc4">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_06455e6fe58e4f66aa52b87d07d13bc4"
checked>
<label for="_anim_radio2_babe26fa66564c6f95d5ecce84b5edcc">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_babe26fa66564c6f95d5ecce84b5edcc"
<label for="_anim_radio2_06455e6fe58e4f66aa52b87d07d13bc4">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_06455e6fe58e4f66aa52b87d07d13bc4"
>
<label for="_anim_radio3_babe26fa66564c6f95d5ecce84b5edcc">Reflect</label>
<label for="_anim_radio3_06455e6fe58e4f66aa52b87d07d13bc4">Reflect</label>
</form>
</div>
</div>
Expand All @@ -845,9 +845,9 @@ <h2>Collinear Lagrange Points<a class="headerlink" href="#collinear-lagrange-poi
/* Instantiate the Animation class. */
/* The IDs given should match those used in the template above. */
(function() {
var img_id = "_anim_imgbabe26fa66564c6f95d5ecce84b5edcc";
var slider_id = "_anim_sliderbabe26fa66564c6f95d5ecce84b5edcc";
var loop_select_id = "_anim_loop_selectbabe26fa66564c6f95d5ecce84b5edcc";
var img_id = "_anim_img06455e6fe58e4f66aa52b87d07d13bc4";
var slider_id = "_anim_slider06455e6fe58e4f66aa52b87d07d13bc4";
var loop_select_id = "_anim_loop_select06455e6fe58e4f66aa52b87d07d13bc4";
var frames = new Array(100);

frames[0] = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAOECAYAAACxbcj6AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
Expand Down Expand Up @@ -140851,7 +140851,7 @@ <h2>Collinear Lagrange Points<a class="headerlink" href="#collinear-lagrange-poi
/* set a timeout to make sure all the above elements are created before
the object is initialized. */
setTimeout(function() {
animbabe26fa66564c6f95d5ecce84b5edcc = new Animation(frames, img_id, slider_id, 200.0,
anim06455e6fe58e4f66aa52b87d07d13bc4 = new Animation(frames, img_id, slider_id, 200.0,
loop_select_id);
}, 0);
})()
Expand Down
46 changes: 23 additions & 23 deletions the-orbit-equation/hyperbolic-trajectories.html
Original file line number Diff line number Diff line change
Expand Up @@ -698,42 +698,42 @@ <h1>Hyperbolic Trajectories (<span class="math notranslate nohighlight">\(e &gt;
</style>

<div class="animation">
<img id="_anim_img601a81fce8234bf4a7ddff6d6db346d7">
<img id="_anim_imgbbbad1f52a414686a9d32532a4c3c95f">
<div class="anim-controls">
<input id="_anim_slider601a81fce8234bf4a7ddff6d6db346d7" type="range" class="anim-slider"
<input id="_anim_sliderbbbad1f52a414686a9d32532a4c3c95f" type="range" class="anim-slider"
name="points" min="0" max="1" step="1" value="0"
oninput="anim601a81fce8234bf4a7ddff6d6db346d7.set_frame(parseInt(this.value));">
oninput="animbbbad1f52a414686a9d32532a4c3c95f.set_frame(parseInt(this.value));">
<div class="anim-buttons">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim601a81fce8234bf4a7ddff6d6db346d7.slower()">
<button title="Decrease speed" aria-label="Decrease speed" onclick="animbbbad1f52a414686a9d32532a4c3c95f.slower()">
<i class="fa fa-minus"></i></button>
<button title="First frame" aria-label="First frame" onclick="anim601a81fce8234bf4a7ddff6d6db346d7.first_frame()">
<button title="First frame" aria-label="First frame" onclick="animbbbad1f52a414686a9d32532a4c3c95f.first_frame()">
<i class="fa fa-fast-backward"></i></button>
<button title="Previous frame" aria-label="Previous frame" onclick="anim601a81fce8234bf4a7ddff6d6db346d7.previous_frame()">
<button title="Previous frame" aria-label="Previous frame" onclick="animbbbad1f52a414686a9d32532a4c3c95f.previous_frame()">
<i class="fa fa-step-backward"></i></button>
<button title="Play backwards" aria-label="Play backwards" onclick="anim601a81fce8234bf4a7ddff6d6db346d7.reverse_animation()">
<button title="Play backwards" aria-label="Play backwards" onclick="animbbbad1f52a414686a9d32532a4c3c95f.reverse_animation()">
<i class="fa fa-play fa-flip-horizontal"></i></button>
<button title="Pause" aria-label="Pause" onclick="anim601a81fce8234bf4a7ddff6d6db346d7.pause_animation()">
<button title="Pause" aria-label="Pause" onclick="animbbbad1f52a414686a9d32532a4c3c95f.pause_animation()">
<i class="fa fa-pause"></i></button>
<button title="Play" aria-label="Play" onclick="anim601a81fce8234bf4a7ddff6d6db346d7.play_animation()">
<button title="Play" aria-label="Play" onclick="animbbbad1f52a414686a9d32532a4c3c95f.play_animation()">
<i class="fa fa-play"></i></button>
<button title="Next frame" aria-label="Next frame" onclick="anim601a81fce8234bf4a7ddff6d6db346d7.next_frame()">
<button title="Next frame" aria-label="Next frame" onclick="animbbbad1f52a414686a9d32532a4c3c95f.next_frame()">
<i class="fa fa-step-forward"></i></button>
<button title="Last frame" aria-label="Last frame" onclick="anim601a81fce8234bf4a7ddff6d6db346d7.last_frame()">
<button title="Last frame" aria-label="Last frame" onclick="animbbbad1f52a414686a9d32532a4c3c95f.last_frame()">
<i class="fa fa-fast-forward"></i></button>
<button title="Increase speed" aria-label="Increase speed" onclick="anim601a81fce8234bf4a7ddff6d6db346d7.faster()">
<button title="Increase speed" aria-label="Increase speed" onclick="animbbbad1f52a414686a9d32532a4c3c95f.faster()">
<i class="fa fa-plus"></i></button>
</div>
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select601a81fce8234bf4a7ddff6d6db346d7"
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_selectbbbad1f52a414686a9d32532a4c3c95f"
class="anim-state">
<input type="radio" name="state" value="once" id="_anim_radio1_601a81fce8234bf4a7ddff6d6db346d7"
<input type="radio" name="state" value="once" id="_anim_radio1_bbbad1f52a414686a9d32532a4c3c95f"
>
<label for="_anim_radio1_601a81fce8234bf4a7ddff6d6db346d7">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_601a81fce8234bf4a7ddff6d6db346d7"
<label for="_anim_radio1_bbbad1f52a414686a9d32532a4c3c95f">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_bbbad1f52a414686a9d32532a4c3c95f"
checked>
<label for="_anim_radio2_601a81fce8234bf4a7ddff6d6db346d7">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_601a81fce8234bf4a7ddff6d6db346d7"
<label for="_anim_radio2_bbbad1f52a414686a9d32532a4c3c95f">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_bbbad1f52a414686a9d32532a4c3c95f"
>
<label for="_anim_radio3_601a81fce8234bf4a7ddff6d6db346d7">Reflect</label>
<label for="_anim_radio3_bbbad1f52a414686a9d32532a4c3c95f">Reflect</label>
</form>
</div>
</div>
Expand All @@ -743,9 +743,9 @@ <h1>Hyperbolic Trajectories (<span class="math notranslate nohighlight">\(e &gt;
/* Instantiate the Animation class. */
/* The IDs given should match those used in the template above. */
(function() {
var img_id = "_anim_img601a81fce8234bf4a7ddff6d6db346d7";
var slider_id = "_anim_slider601a81fce8234bf4a7ddff6d6db346d7";
var loop_select_id = "_anim_loop_select601a81fce8234bf4a7ddff6d6db346d7";
var img_id = "_anim_imgbbbad1f52a414686a9d32532a4c3c95f";
var slider_id = "_anim_sliderbbbad1f52a414686a9d32532a4c3c95f";
var loop_select_id = "_anim_loop_selectbbbad1f52a414686a9d32532a4c3c95f";
var frames = new Array(200);

frames[0] = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAOECAYAAACxbcj6AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
Expand Down Expand Up @@ -161828,7 +161828,7 @@ <h1>Hyperbolic Trajectories (<span class="math notranslate nohighlight">\(e &gt;
/* set a timeout to make sure all the above elements are created before
the object is initialized. */
setTimeout(function() {
anim601a81fce8234bf4a7ddff6d6db346d7 = new Animation(frames, img_id, slider_id, 200.0,
animbbbad1f52a414686a9d32532a4c3c95f = new Animation(frames, img_id, slider_id, 200.0,
loop_select_id);
}, 0);
})()
Expand Down
46 changes: 23 additions & 23 deletions time-since-periapsis-and-keplers-equation/time-since-periapsis.html
Original file line number Diff line number Diff line change
Expand Up @@ -753,42 +753,42 @@ <h2>Mean and Eccentric Anomalies<a class="headerlink" href="#mean-and-eccentric-
</style>

<div class="animation">
<img id="_anim_imgb4135144bc3a46949bf9cdbacf747757">
<img id="_anim_img7a4974bc1a2c464db1b957df46be6fc4">
<div class="anim-controls">
<input id="_anim_sliderb4135144bc3a46949bf9cdbacf747757" type="range" class="anim-slider"
<input id="_anim_slider7a4974bc1a2c464db1b957df46be6fc4" type="range" class="anim-slider"
name="points" min="0" max="1" step="1" value="0"
oninput="animb4135144bc3a46949bf9cdbacf747757.set_frame(parseInt(this.value));">
oninput="anim7a4974bc1a2c464db1b957df46be6fc4.set_frame(parseInt(this.value));">
<div class="anim-buttons">
<button title="Decrease speed" aria-label="Decrease speed" onclick="animb4135144bc3a46949bf9cdbacf747757.slower()">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim7a4974bc1a2c464db1b957df46be6fc4.slower()">
<i class="fa fa-minus"></i></button>
<button title="First frame" aria-label="First frame" onclick="animb4135144bc3a46949bf9cdbacf747757.first_frame()">
<button title="First frame" aria-label="First frame" onclick="anim7a4974bc1a2c464db1b957df46be6fc4.first_frame()">
<i class="fa fa-fast-backward"></i></button>
<button title="Previous frame" aria-label="Previous frame" onclick="animb4135144bc3a46949bf9cdbacf747757.previous_frame()">
<button title="Previous frame" aria-label="Previous frame" onclick="anim7a4974bc1a2c464db1b957df46be6fc4.previous_frame()">
<i class="fa fa-step-backward"></i></button>
<button title="Play backwards" aria-label="Play backwards" onclick="animb4135144bc3a46949bf9cdbacf747757.reverse_animation()">
<button title="Play backwards" aria-label="Play backwards" onclick="anim7a4974bc1a2c464db1b957df46be6fc4.reverse_animation()">
<i class="fa fa-play fa-flip-horizontal"></i></button>
<button title="Pause" aria-label="Pause" onclick="animb4135144bc3a46949bf9cdbacf747757.pause_animation()">
<button title="Pause" aria-label="Pause" onclick="anim7a4974bc1a2c464db1b957df46be6fc4.pause_animation()">
<i class="fa fa-pause"></i></button>
<button title="Play" aria-label="Play" onclick="animb4135144bc3a46949bf9cdbacf747757.play_animation()">
<button title="Play" aria-label="Play" onclick="anim7a4974bc1a2c464db1b957df46be6fc4.play_animation()">
<i class="fa fa-play"></i></button>
<button title="Next frame" aria-label="Next frame" onclick="animb4135144bc3a46949bf9cdbacf747757.next_frame()">
<button title="Next frame" aria-label="Next frame" onclick="anim7a4974bc1a2c464db1b957df46be6fc4.next_frame()">
<i class="fa fa-step-forward"></i></button>
<button title="Last frame" aria-label="Last frame" onclick="animb4135144bc3a46949bf9cdbacf747757.last_frame()">
<button title="Last frame" aria-label="Last frame" onclick="anim7a4974bc1a2c464db1b957df46be6fc4.last_frame()">
<i class="fa fa-fast-forward"></i></button>
<button title="Increase speed" aria-label="Increase speed" onclick="animb4135144bc3a46949bf9cdbacf747757.faster()">
<button title="Increase speed" aria-label="Increase speed" onclick="anim7a4974bc1a2c464db1b957df46be6fc4.faster()">
<i class="fa fa-plus"></i></button>
</div>
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_selectb4135144bc3a46949bf9cdbacf747757"
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select7a4974bc1a2c464db1b957df46be6fc4"
class="anim-state">
<input type="radio" name="state" value="once" id="_anim_radio1_b4135144bc3a46949bf9cdbacf747757"
<input type="radio" name="state" value="once" id="_anim_radio1_7a4974bc1a2c464db1b957df46be6fc4"
>
<label for="_anim_radio1_b4135144bc3a46949bf9cdbacf747757">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_b4135144bc3a46949bf9cdbacf747757"
<label for="_anim_radio1_7a4974bc1a2c464db1b957df46be6fc4">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_7a4974bc1a2c464db1b957df46be6fc4"
checked>
<label for="_anim_radio2_b4135144bc3a46949bf9cdbacf747757">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_b4135144bc3a46949bf9cdbacf747757"
<label for="_anim_radio2_7a4974bc1a2c464db1b957df46be6fc4">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_7a4974bc1a2c464db1b957df46be6fc4"
>
<label for="_anim_radio3_b4135144bc3a46949bf9cdbacf747757">Reflect</label>
<label for="_anim_radio3_7a4974bc1a2c464db1b957df46be6fc4">Reflect</label>
</form>
</div>
</div>
Expand All @@ -798,9 +798,9 @@ <h2>Mean and Eccentric Anomalies<a class="headerlink" href="#mean-and-eccentric-
/* Instantiate the Animation class. */
/* The IDs given should match those used in the template above. */
(function() {
var img_id = "_anim_imgb4135144bc3a46949bf9cdbacf747757";
var slider_id = "_anim_sliderb4135144bc3a46949bf9cdbacf747757";
var loop_select_id = "_anim_loop_selectb4135144bc3a46949bf9cdbacf747757";
var img_id = "_anim_img7a4974bc1a2c464db1b957df46be6fc4";
var slider_id = "_anim_slider7a4974bc1a2c464db1b957df46be6fc4";
var loop_select_id = "_anim_loop_select7a4974bc1a2c464db1b957df46be6fc4";
var frames = new Array(198);

frames[0] = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4QAAAOECAYAAAD5Tv87AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
Expand Down Expand Up @@ -272786,7 +272786,7 @@ <h2>Mean and Eccentric Anomalies<a class="headerlink" href="#mean-and-eccentric-
/* set a timeout to make sure all the above elements are created before
the object is initialized. */
setTimeout(function() {
animb4135144bc3a46949bf9cdbacf747757 = new Animation(frames, img_id, slider_id, 16.0,
anim7a4974bc1a2c464db1b957df46be6fc4 = new Animation(frames, img_id, slider_id, 16.0,
loop_select_id);
}, 0);
})()
Expand Down
Loading

0 comments on commit d0ca86f

Please sign in to comment.