How to change Float curve or Color ramp through inputs?

Interesting! But how would you go about interpolation?

In an example picture below and this topic, I’m not sure how I should approach interpolation with this.

Do you have an idea how?

image