Find the computational cost of the following algorithm. Do not consider the square root.
n= length (x) ; for k=1:nr=(L(k,k)⁽²⁾+x(k)⁽²⁾);c=(r)/(L)(k,k) ; s=x(k)/(L)(k,k) ; L(k,k)=r;