I needed to fit a curve to some non-linear data. I simply pasted the data into ChatGPT and asked it to write code to fit the data. I lucked out on the first attempt when it suggested I try a 2 deg polynomial, which was the correct fit.