I just managed to "solve" the problem, but now I'm pretending to interact with the program so the user can add values as the mass or the length of the string; (All those values were taken as the unit in this example) as well as the initial conditions to solve the differential equations to get particular solutions.
I'll be looking for any advice or suggestion. Thanks so much.