powered by
getCosine(v1, v2)
## See what happens to vectors with 45 degree angle v1=c(1,1) v2=c(1,0) getCosine(v1,v2)
Run the code above in your browser using DataLab