I have absolutely no clue what to do.
I don’t even know if this is a good place to ask this or if it exists at all, but I was wanting to make a specific function to fit points. It would need to stay at the same value for specific x values and at the end of those values, have the y-values between it and the next set of x values become smaller over time.