Commit 0ce3856c authored by Ibrahim Ahmed's avatar Ibrahim Ahmed
Browse files

Update Modelica in Jupyter.ipynb

parent b9eed96c
......@@ -22,11 +22,11 @@
%% Cell type:code id: tags:
``` OpenModelica
class Pendulum "Pendulum"
Real F=0; // External force tengential to motion
Real F; // Total force along pendulum string
constant Real PI=3.141592653589793;
parameter Real m=1, g=9.81, L=0.5;
output Real x(start=0.5),y(start=0);
output Real vx,vy; // x and y velocities
equation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment