Browse Source

exercises done

Claudio Gomes 6 years ago
parent
commit
32abf7ba66

+ 1 - 0
materials/generate_exercises.ps1

@@ -2,5 +2,6 @@
 & C:\Anaconda3\python.exe .\generate_exercises.py .\notebooks\2-StationaryAction\StationaryAction.ipynb
 & C:\Anaconda3\python.exe .\generate_exercises.py .\notebooks\3-BondGraphs\BondGraphs.ipynb
 & C:\Anaconda3\python.exe .\generate_exercises.py .\notebooks\4-Modelica\Modelica.ipynb
+& C:\Anaconda3\python.exe .\generate_exercises.py .\notebooks\5-CBDModeling\CBDModelling.ipynb
 
 pause

+ 4 - 8
materials/notebooks/1-NewtonsLaws/NewtonsLaws_exercises.ipynb

@@ -4,7 +4,7 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "# Exercise: Mass-Spring System Derivation"
+    "# Exercise 1: Mass-Spring System Derivation"
    ]
   },
   {
@@ -71,9 +71,7 @@
   {
    "cell_type": "code",
    "execution_count": 3,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "data": {
@@ -196,9 +194,7 @@
   {
    "cell_type": "code",
    "execution_count": 9,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "data": {
@@ -270,7 +266,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.6.8"
+   "version": "3.7.3"
   }
  },
  "nbformat": 4,

+ 11 - 24
materials/notebooks/4-Modelica/Modelica_exercises.ipynb

@@ -49,9 +49,7 @@
   {
    "cell_type": "code",
    "execution_count": 1,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "# Import required libraries and setup matplot lib to use AGG backend.\n",
@@ -66,9 +64,7 @@
   {
    "cell_type": "code",
    "execution_count": 2,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "name": "stdout",
@@ -133,9 +129,7 @@
   {
    "cell_type": "code",
    "execution_count": 3,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "name": "stdout",
@@ -179,7 +173,6 @@
    "cell_type": "code",
    "execution_count": 4,
    "metadata": {
-    "collapsed": false,
     "scrolled": true
    },
    "outputs": [
@@ -230,9 +223,7 @@
   {
    "cell_type": "code",
    "execution_count": 5,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "name": "stdout",
@@ -267,9 +258,7 @@
   {
    "cell_type": "code",
    "execution_count": 6,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "name": "stdout",
@@ -315,9 +304,7 @@
   {
    "cell_type": "code",
    "execution_count": 7,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "data": {
@@ -343,21 +330,21 @@
  ],
  "metadata": {
   "kernelspec": {
-   "display_name": "Python 2",
+   "display_name": "Python 3",
    "language": "python",
-   "name": "python2"
+   "name": "python3"
   },
   "language_info": {
    "codemirror_mode": {
     "name": "ipython",
-    "version": 2
+    "version": 3
    },
    "file_extension": ".py",
    "mimetype": "text/x-python",
    "name": "python",
    "nbconvert_exporter": "python",
-   "pygments_lexer": "ipython2",
-   "version": "2.7.6"
+   "pygments_lexer": "ipython3",
+   "version": "3.7.3"
   }
  },
  "nbformat": 4,

File diff suppressed because it is too large
+ 2641 - 0
materials/notebooks/5-CBDModeling/CBDModelling_exercises.ipynb