Problem 43886. Degrees to Radian

Solution 3792698

Submitted on 23 Nov 2020 by Soobok
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
D = 180; R_correct = pi; assert(isequal(DEG2RAD(D),R_correct))

2   Pass
D = 360; R_correct = 2*pi; assert(isequal(DEG2RAD(D),R_correct))

3   Pass
D = 90; R_correct = pi/2; assert(isequal(DEG2RAD(D),R_correct))

4   Pass
D = 540; R_correct = 3*pi; assert(isequal(DEG2RAD(D),R_correct))

Suggested Problems

More from this Author7

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!