DblPend
Loading...
Searching...
No Matches
Calculations.hpp File Reference

Provides functions for calculating the outputs. More...

#include <vector>
#include "ODE.hpp"
#include "Populate.hpp"

Go to the source code of this file.

Functions

vector< vector< double > > func_theta (double m_1, double m_2, double L_2, double L_1)
 Calculates dependent variables (rad).

Detailed Description

Provides functions for calculating the outputs.

Author
Dong Chen
Note
Generated by Drasil v0.1-alpha

Function Documentation

◆ func_theta()

vector< vector< double > > func_theta ( double m_1,
double m_2,
double L_2,
double L_1 )

Calculates dependent variables (rad).

Parameters
m_1mass of the first object (kg)
m_2mass of the second object (kg)
L_2length of the second rod (m)
L_1length of the first rod (m)
Returns
dependent variables (rad)