Skip to content

Commit

Permalink
Changed code handout to reference to github repo (#47)
Browse files Browse the repository at this point in the history
* Changed code handout to reference to github repo

* Fix typo

---------

Co-authored-by: Tord <[email protected]>
  • Loading branch information
TheBjorn98 and tordnat authored Feb 7, 2025
1 parent c1a75a0 commit ab1eead
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 744 deletions.
9 changes: 7 additions & 2 deletions docs/assignments/assignment-4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ This assignment is about the Newton-Euler method for developing a dynamic model
Problem 1 - Satellite
===========================

.. note::

This problem contains a programming exercise.
Template code is available as a Jupyter notebook at `<https://github.com/TTK4130/code-handouts>`_.
The relevant notebook is `assignment-4-satellite.ipynb`.

In this task, we will consider a satellite orbiting Earth. We define an inertial reference frame with its origin at Earth's center and with an arbitrary and fixed orientation.

We will consider two cases:
Expand Down Expand Up @@ -86,8 +92,7 @@ Where :math:`\mathbf{v}_c^i` is the velocity of the center of mass given in the
.. hint::
:class: dropdown

You will find the Python code template in :ref:`Code handout - Assignment 4 - Satellite` or on Blackboard.
It can be downloaded from the website as a Jupyter notebook, further hints are given there.
You will find the Python code template in the `code handout repository <https://github.com/TTK4130/code-handouts>`_ or on Blackboard.

.. admonition:: Tasks

Expand Down
8 changes: 7 additions & 1 deletion docs/assignments/assignment-5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ In this assignment we will study the modeling of complex mechanical systems base
Problem 1 - Ball on a Beam
==========================

.. note::

This problem contains a programming exercise.
Template code is available as a Jupyter notebook at `<https://github.com/TTK4130/code-handouts>`_.
The relevant notebook is `assingment-5-ball-and-beam.ipynb`.

We consider here a solid ball on a beam system as depicted in :numref:`bob`.
The ball rolls without slipping (pure rotation) on a beam that is articulated without friction in the middle.
A torque :math:`T` acts on the beam joint.
Expand Down Expand Up @@ -48,7 +54,7 @@ Here, we will use the generalized coordinates :math:`\mathbf{q} = [x,\,\theta]^T

What is the expression for the kinetic energy of the beam?

e) Complete the Jupyter notebook :ref:`Code handout - Assignment 5 - Ball and Beam` by doing the following tasks:
e) Complete the Jupyter notebook `assingment-5-ball-and-beam.ipynb` (found in the `code handout repository <https://github.com/TTK4130/code-handouts>`_) by doing the following tasks:

- Define the generalized coordinates :math:`\mathbf{q} = [x,\,\theta]^T` as a symbolic variable.
- Define a symbolic variable for the derivative of the generalized coordinates.
Expand Down
6 changes: 6 additions & 0 deletions docs/assignments/code-handout.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
==============
Code handouts
==============

Code handouts can be found in the `code handout repository <https://github.com/TTK4130/code-handouts>`_ on GitHub.
Feel free to ask us questions if there are any issues.
314 changes: 0 additions & 314 deletions docs/assignments/code/assignment-4-satellite.ipynb

This file was deleted.

Loading

0 comments on commit ab1eead

Please sign in to comment.