Skip to content

Commit eee3755

Browse files
Update Source.cpp
1 parent 4355693 commit eee3755

File tree

1 file changed

+1
-1
lines changed
  • double pendulum simulation (RK4)/Cpp version/DoublePendulum

1 file changed

+1
-1
lines changed

double pendulum simulation (RK4)/Cpp version/DoublePendulum/Source.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Updated on Mon Jul 20 2020
1717
#include <string>
1818
#include "Array.h"
1919

20-
// these should be moved inside main()
20+
// These should be moved inside main() and the functions should be modified accordingly
2121
const double m1{ 1.0 }; //mass of the 1st pendulum
2222
const double m2{ 1.0 }; //mass of the 2nd pendulum
2323
const double g{ 10.0 }; //gravity

0 commit comments

Comments
 (0)