Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
D = 180;
R_correct = pi;
assert(isequal(DEG2RAD(D),R_correct))
R =
3.1416
|
2 | Pass |
D = 360;
R_correct = 2*pi;
assert(isequal(DEG2RAD(D),R_correct))
R =
6.2832
|
3 | Pass |
D = 90;
R_correct = pi/2;
assert(isequal(DEG2RAD(D),R_correct))
R =
1.5708
|
4 | Pass |
D = 540;
R_correct = 3*pi;
assert(isequal(DEG2RAD(D),R_correct))
R =
9.4248
|
Flip the main diagonal of a matrix
426 Solvers
309 Solvers
Area of an equilateral triangle
1706 Solvers
Find the area of a rectangle if length of the diagonal is given.
95 Solvers
Element by element multiplication of two vectors
201 Solvers