how to model create fexible pipe by equation

how to model create fexible pipe by equation