I am new to machine learning. I am wondering how to get to know what Algo will be best for modelling the data. If the data has non-linear relationship ( either in parameters(coeff) or the Variable(x)), which algorithm will suit to model such relationship.

- Can Random Forest be used to model non linear relationship?
- Can Simple Regression will be suited to model non linear relationship (only in variable(x)/predictor like y=b0+b1
*X+b2*X^2)?