Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
Y = 2e5;
S = 'kN/m^2';
y_correct = 2e8;
assert(isequal(convert_young(Y,S),y_correct))
|
2 | Pass |
%%
Y = 2e5;
S = 'N/m^2';
y_correct = 2e11;
assert(isequal(convert_young(Y,S),y_correct))
|
3 | Pass |
%%
Y = 2e5;
S = 'kN/mm^2';
y_correct = 2e2;
assert(isequal(convert_young(Y,S),y_correct))
|
4 | Pass |
%%
Y = 2e5;
S = 'N/mm^2';
y_correct = 2e5;
assert(isequal(convert_young(Y,S),y_correct))
|
5 | Pass |
%%
Y = 2e5;
S = 'kN/cm^2';
y_correct = 2e4;
assert(isequal(convert_young(Y,S),y_correct))
|
Who is the smartest MATLAB programmer?
561 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
Sum the numbers on the main diagonal
453 Solvers
321 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
298 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!