Cody

Solution 1086604

Submitted on 21 Dec 2016 by Jared Candelaria
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
H = 7; P_correct = 70661.43; assert(isequal(PRESSDEPTH(H),P_correct))

2   Pass
H = 10; P_correct = 100944.9; assert(isequal(PRESSDEPTH(H),P_correct))

3   Pass
H = 49; P_correct = 494630.01; assert(isequal(PRESSDEPTH(H),P_correct))

4   Pass
H = 343; P_correct = 3462410.07; assert(isequal(PRESSDEPTH(H),P_correct))

5   Pass
H = 2401; P_correct = 24236870.49; assert(isequal(PRESSDEPTH(H),P_correct))

6   Pass
H = 8848; P_correct = 89316047.52; assert(isequal(PRESSDEPTH(H),P_correct))