Below is a program written in the Julia language that calculates \(\theta_0\) and \(\theta_1\) from the data set used in the interactive linear regression: