Problem: Matlab MATHWORKS
Consider the cosine rule
c^2 = a^2 + b^2 - 2ab cos θ
a) Write an anonymous function that takes as input a, b, and θ (in degrees) and returns the value of c.
b) Write a different anonymous function that takes as input a, b, and c and returns the value of θ (in degrees).