I'm trying to determine how to solve for constants in a system of equations with specified conditions. Please see the below forumlaic explanation. I've explored using "solve", but am unsure how to set the condition values as seed for the solution. FYI, this is for solving a cantilever beam deflection with varying cross section (changing area moment of inertia). This is a simplistic representation of the problem by solving for only two distinct sections, but in practice there would be many more depending on the considered sampling length.
Thank you for any feedback or hints for functions to explore.
P, L, E1 & E2 are all known values
at x=0 s1=0 and v1=0
at x=L/2 s1=s2, and v1=v2