As you can see, the critical spot of the new dataset looks sometimes like this:
And now I need to find out, if the new curve is smooth or looks like above. It would be perfect if the code would give me a result which looks something like this:
new_dataset_1 = false ("not differentiable")
new_dataset_2 = true ("differentiable")
new_dataset_3 = true
new_dataset_4 = false...