Given a cable (totally flexible) fixed at both ends, subjected to a vertical force $f(x)$ in his plane, with variable area $A(x)$, and variable elasticity $E(x)$ I want to find the differential equation of the vertical displacement $y(x)$ in his equilibrium position.
I think the differential equation is: $$\frac{d}{dx}\left( E(x)A(x)\frac{dy(x)}{dx} \right) = f(x)$$ But I can't get to that or something similar.
I have tried the following: The tension of the cable will be $\vec{T} = T\vec{u}$ where $\vec{u}$ is the vector tangent to the cable. Setting equilibrium in the direction of the cable we get: $$ \vec T(s+\Delta s) - \vec T (s) + \vec f(x) = 0$$ so: $$ \frac{d \vec T(s)}{ds} + \vec {f} (x) = 0 $$ For the basic equations of elasticity we know that $$ T = A(x)E(x)\epsilon $$ But I don't know how to combine this information to get an equation with $x$ as an independent variable and $y$ as the dependent one.