function [LL]=HW11_Solution_SlopeLogL(Theta,Sigma_Noise,Volts,T)

%HW11_Solution_SlopeLogL Log Likelihood of slope parameter

A=Theta;
Model=A*T;
Data=Volts;

%This is the negative log-likehood of the Normal distribution  
LL=sum((Data-Model).^2/(2*Sigma_Noise^2)+1/2*log(2*pi*Sigma_Noise^2));

end 