- Lecturer: dr. Emil Žagar
- Assistant: dr. Tadej Kanduč
Some helper functions or function outlines/function docstrings (to use as a starting point) were provided to us along with the instructions by the staff
My solutions for exercise problems, quizzes and the exam in MATLAB.
Similarly to Buffon's needle problem, I was modelling the toss of a coin with radius r and an equilateral triangle with side a. I wrote a program that models the toss of a coin and a triangle, and compared the numerical calculation of the probability with the analytical calculation.