Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(isequal(round(sphere_distance(100,10,50,-20,14)*10000)/10000,75.9097));
ans =
75.9097
|
2 | Pass |
assert(isequal(round(sphere_distance(6371e3,-97.7430608,30.267153,-74.0244265,40.6081588)*10000)/10000,2426004.8394));
ans =
2.4260e+06
|
3 | Pass |
assert(isequal(round(sphere_distance(6371e3,-97.7430608,31.267153,-74.0244265,40.6081588)*10000)/10000,2364307.7819));
ans =
2.3643e+06
|
135 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
196 Solvers
Find the maximum number of decimal places in a set of numbers
156 Solvers
How many trades represent all the profit?
460 Solvers
Implement a bubble sort technique and output the number of swaps required
81 Solvers