Cody

Problem 45909. Convert Angstrom to Meters

Solution 2542143

Submitted on 13 Jun 2020 by Atsushi Ueno
  • Size: 10
  • This is the leading solution.
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
A = 1; m_correct = 10^-10; assert(isequal(conv_fcn_met(A),m_correct))

2   Pass
A = 0; m_correct = 0; assert(isequal(conv_fcn_met(A),m_correct))

3   Pass
A = 10; m_correct = 10^-9; assert(isequal(conv_fcn_met(A),m_correct))

4   Pass
A = 400; m_correct = 4*10^-8 ; assert(isequal(conv_fcn_met(A),m_correct))

5   Pass
A = 30000; m_correct = 3*10^-6; assert(isequal(conv_fcn_met(A),m_correct))