Double pendulum analysis in matlab
Objective: divergence is a vector operator in scalar field .it represent the volume density. gradienr is a single variable for several functions curl it represent vector in three dimensional system rank of a matrix is defined in making the diagonal elements to non-zero and rest to zero