Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowed.
Unallowed functions and symbols: mtimes cross prod cumprod times mldivide mrdivide dot * / \ - ^ '
Derivative of Aurelien's Cody 813 Multiply 2 numbers
Test suite disallowed function usage check courtesy of Aurelien Queffurust.
Example : h= 5; x= 3;
output = 4 since y=(h^2-x^2)^0.5
Fun problem!
I think minus() and power() must be forbidden
Really enjoyed tackling this problem, thanks!
Oh no, I thought sqrt was also not allowed. Made it harder than it needed to be.
Good problem!
Determine whether a vector is monotonically increasing
9269 Solvers
1965 Solvers
156 Solvers
134 Solvers
136 Solvers