Cody

Solution 2269839

Submitted on 11 May 2020 by Asif Newaz
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
assert(isequal(raschig_sphericity(1,1,2),0.5724))

ssa = 21.5774 csa = 37.6991

2   Pass
assert(isequal(raschig_sphericity(8,6,7),0.3121))

ssa = 229.4068 csa = 735.1327

3   Pass
assert(isequal(raschig_sphericity(5,1,6),0.7379))

ssa = 324.5459 csa = 439.8230

4   Pass
assert(isequal(raschig_sphericity(63,42,80),0.5898))

ssa = 4.5664e+04 csa = 7.7421e+04

5   Pass
assert(isequal(raschig_sphericity(49,10,68),0.7246))

ssa = 3.7995e+04 csa = 5.2439e+04

6   Pass
assert(isequal(raschig_sphericity(96,48,80),0.5408))

ssa = 5.5676e+04 csa = 1.0294e+05

7   Pass
assert(isequal(raschig_sphericity(60,23,75),0.6827))

ssa = 4.7080e+04 csa = 6.8964e+04

8   Pass
assert(isequal(raschig_sphericity(16,77,82),0.2694))

ssa = 5.6525e+03 csa = 2.0980e+04

9   Pass
assert(isequal(raschig_sphericity(17,72,80),0.3272))

ssa = 7.8134e+03 csa = 2.3876e+04

10   Pass
assert(isequal(raschig_sphericity(17,62,72),0.3667))

ssa = 8.3359e+03 csa = 2.2733e+04

11   Pass
assert(isequal(raschig_sphericity(27,84,91),0.2859))

ssa = 1.0689e+04 csa = 3.7385e+04

12   Pass
assert(isequal(raschig_sphericity(11,20,50),0.4666))

ssa = 8.4138e+03 csa = 1.8033e+04

13   Pass
assert(isequal(raschig_sphericity(88,60,71),0.3213))

ssa = 2.6183e+04 csa = 8.1487e+04

14   Pass
assert(isequal(raschig_sphericity(36,88,99),0.3313))

ssa = 1.8293e+04 csa = 5.5223e+04

15   Pass
assert(isequal(raschig_sphericity(45,27,68),0.6329))

ssa = 3.2489e+04 csa = 5.1334e+04

16   Pass
assert(isequal(raschig_sphericity(18,86,90),0.2318))

ssa = 5.6383e+03 csa = 2.4328e+04

17   Pass
assert(isequal(raschig_sphericity(17,3,35),0.6679))

ssa = 7.8134e+03 csa = 1.1699e+04

18   Pass
assert(isequal(raschig_sphericity(56,82,97),0.3673))

ssa = 2.9332e+04 csa = 7.9853e+04

19   Pass
assert(isequal(raschig_sphericity(3,37,68),0.2113))

ssa = 4.7391e+03 csa = 2.2431e+04

20   Pass
assert(isequal(raschig_sphericity(47,5,64),0.7495))

ssa = 3.4444e+04 csa = 4.5955e+04

21   Pass
assert(isequal(raschig_sphericity(58,30,61),0.6098))

ssa = 3.1032e+04 csa = 5.0888e+04

22   Pass
assert(isequal(raschig_sphericity(14,30,84),0.4155))

ssa = 2.0240e+04 csa = 4.8707e+04

23   Pass
assert(isequal(raschig_sphericity(4,27,100),0.1877))

ssa = 1.1536e+04 csa = 6.1443e+04

24   Pass
assert(isequal(raschig_sphericity(45,16,91),0.6520))

ssa = 5.2604e+04 csa = 8.0676e+04

25   Pass
assert(isequal(raschig_sphericity(4,12,35),0.3453))

ssa = 2.7532e+03 csa = 7.9734e+03

26   Pass
assert(isequal(raschig_sphericity(76,89,92),0.1379))

ssa = 1.2388e+04 csa = 8.9843e+04

27   Pass
assert(isequal(raschig_sphericity(68,82,100),0.3876))

ssa = 3.8120e+04 csa = 9.8344e+04

28   Pass
assert(isequal(raschig_sphericity(88,39,97),0.6518))

ssa = 8.1324e+04 csa = 1.2476e+05

29   Pass
assert(isequal(raschig_sphericity(44,17,43),0.6590))

ssa = 1.7390e+04 csa = 2.6389e+04

30   Pass
assert(isequal(raschig_sphericity(69,93,100),0.2314))

ssa = 2.1327e+04 csa = 9.2162e+04

31   Pass
assert(isequal(raschig_sphericity(60,94,97),0.1451))

ssa = 1.0968e+04 csa = 7.5606e+04

32   Pass
assert(isequal(raschig_sphericity(5,30,33),0.3154))

ssa = 998.9381 csa = 3.1667e+03

33   Pass
assert(isequal(raschig_sphericity(87,43,49),0.2549))

ssa = 1.3705e+04 csa = 5.3759e+04

34   Pass
assert(isequal(raschig_sphericity(14,24,41),0.5087))

ssa = 6.4404e+03 csa = 1.2661e+04

35   Pass
assert(isequal(raschig_sphericity(87,76,85),0.2686))

ssa = 2.6080e+04 csa = 9.7113e+04

36   Pass
assert(isequal(raschig_sphericity(39,59,81),0.4706))

ssa = 2.5254e+04 csa = 5.3658e+04

37   Pass
assert(isequal(raschig_sphericity(34,85,89),0.2058))

ssa = 8.5502e+03 csa = 4.1544e+04

38   Pass
assert(isequal(raschig_sphericity(94,39,81),0.6148))

ssa = 6.3041e+04 csa = 1.0254e+05

39   Pass
assert(isequal(raschig_sphericity(28,3,95),0.5608))

ssa = 4.1435e+04 csa = 7.3890e+04

40   Pass
assert(isequal(raschig_sphericity(54,67,88),0.4456))

ssa = 3.2550e+04 csa = 7.3042e+04

41   Pass
assert(isequal(raschig_sphericity(76,98,100),0.1034))

ssa = 1.0037e+04 csa = 9.7038e+04

42   Pass
assert(isequal(raschig_sphericity(86,99,100),0.0633))

ssa = 6.8889e+03 csa = 1.0878e+05

43   Pass
assert(isequal(raschig_sphericity(15,33,35),0.2297))

ssa = 1.6685e+03 csa = 7.2634e+03

44   Pass
assert(isequal(raschig_sphericity(70,95,99),0.1649))

ssa = 1.4878e+04 csa = 9.0201e+04

45   Pass
assert(isequal(raschig_sphericity(74,18,48),0.6685))

ssa = 2.8830e+04 csa = 4.3128e+04

46   Pass
assert(isequal(raschig_sphericity(58,46,92),0.5909))

ssa = 5.3288e+04 csa = 9.0176e+04

47   Pass
assert(isequal(raschig_sphericity(82,33,64),0.5923))

ssa = 4.0790e+04 csa = 6.8870e+04

48   Pass
assert(isequal(raschig_sphericity(68,59,65),0.2461))

ssa = 1.4190e+04 csa = 5.7655e+04

49   Pass
assert(isequal(raschig_sphericity(2,13,33),0.2450))

ssa = 1.5576e+03 csa = 6.3586e+03

50   Pass
assert(isequal(raschig_sphericity(45,53,100),0.5528))

ssa = 4.8894e+04 csa = 8.8442e+04

51   Pass
assert(isequal(raschig_sphericity(72,98,99),0.0673))

ssa = 6.0783e+03 csa = 9.0358e+04

52   Pass
assert(isequal(raschig_sphericity(64,96,98),0.1097))

ssa = 8.8293e+03 csa = 8.0450e+04

53   Pass
assert(isequal(raschig_sphericity(95,90,92),0.0993))

ssa = 1.1010e+04 csa = 1.1092e+05

54   Pass
assert(isequal(raschig_sphericity(74,18,27),0.4265))

ssa = 1.0009e+04 csa = 2.3468e+04

55   Pass
assert(isequal(raschig_sphericity(32,35,61),0.5499))

ssa = 1.9239e+04 csa = 3.4985e+04

56   Pass
assert(isequal(raschig_sphericity(29,32,81),0.5534))

ssa = 3.0645e+04 csa = 5.5380e+04

57   Pass
assert(isequal(raschig_sphericity(95,9,35),0.7062))

ssa = 2.3624e+04 csa = 3.3452e+04

58   Pass
assert(isequal(raschig_sphericity(60,83,97),0.3518))

ssa = 2.9441e+04 csa = 8.3692e+04

59   Pass
assert(isequal(raschig_sphericity(56,4,69),0.7725))

ssa = 4.2875e+04 csa = 5.5499e+04

60   Pass
assert(isequal(raschig_sphericity(85,7,41),0.7745))

ssa = 2.7798e+04 csa = 3.5890e+04

61   Pass
assert(isequal(raschig_sphericity(26,43,61),0.4810))

ssa = 1.3828e+04 csa = 2.8752e+04

62   Pass
assert(isequal(raschig_sphericity(97,13,32),0.6015))

ssa = 1.9728e+04 csa = 3.2798e+04

63   Pass
assert(isequal(raschig_sphericity(90,62,78),0.3825))

ssa = 3.5665e+04 csa = 9.3242e+04

64   Pass
assert(isequal(raschig_sphericity(36,65,91),0.4733))

ssa = 2.8764e+04 csa = 6.0771e+04

65   Pass
assert(isequal(raschig_sphericity(74,95,96),0.0674))

ssa = 6.0640e+03 csa = 9.0007e+04

66   Pass
assert(isequal(raschig_sphericity(43,1,71),0.7321))

ssa = 3.7427e+04 csa = 5.1120e+04

67   Pass
assert(isequal(raschig_sphericity(79,56,58),0.1229))

ssa = 7.1279e+03 csa = 5.8019e+04

68   Pass
assert(isequal(raschig_sphericity(1,98,99),0.1419))

ssa = 351.2057 csa = 2.4756e+03

69   Pass
assert(isequal(raschig_sphericity(83,36,66),0.5745))

ssa = 4.1602e+04 csa = 7.2420e+04

70   Pass
assert(isequal(raschig_sphericity(12,78,88),0.3322))

ssa = 7.6227e+03 csa = 2.2946e+04

71   Pass
assert(isequal(raschig_sphericity(30,36,67),0.5501))

ssa = 2.1717e+04 csa = 3.9477e+04

72   Pass
assert(isequal(raschig_sphericity(44,70,91),0.4429))

ssa = 2.9124e+04 csa = 6.5754e+04

73   Pass
assert(isequal(raschig_sphericity(1,8,51),0.1183))

ssa = 1.9296e+03 csa = 1.6311e+04

74   Pass
assert(isequal(raschig_sphericity(78,81,93),0.3144))

ssa = 3.0936e+04 csa = 9.8395e+04

75   Pass
assert(isequal(raschig_sphericity(37,88,92),0.1995))

ssa = 9.2528e+03 csa = 4.6370e+04

76   Pass
assert(isequal(raschig_sphericity(7,72,94),0.2976))

ssa = 9.0019e+03 csa = 3.0247e+04

77   Pass
assert(isequal(raschig_sphericity(90,76,99),0.4243))

ssa = 5.2714e+04 csa = 1.2425e+05

78   Pass
assert(isequal(raschig_sphericity(54,96,100),0.1764))

ssa = 1.2601e+04 csa = 7.1427e+04

79   Pass
assert(isequal(raschig_sphericity(53,84,99),0.3670))

ssa = 2.8694e+04 csa = 7.8188e+04

80   Pass
assert(isequal(raschig_sphericity(94,46,87),0.5889))

ssa = 6.6439e+04 csa = 1.1281e+05

81   Pass
assert(isequal(raschig_sphericity(94,81,99),0.3707))

ssa = 4.6957e+04 csa = 1.2667e+05

82   Pass
assert(isequal(raschig_sphericity(45,83,100),0.3923))

ssa = 2.7968e+04 csa = 7.1289e+04

83   Pass
assert(isequal(raschig_sphericity(37,17,86),0.6207))

ssa = 4.2577e+04 csa = 6.8600e+04

84   Pass
assert(isequal(raschig_sphericity(59,96,98),0.1125))

ssa = 8.3632e+03 csa = 7.4355e+04

85   Pass
assert(isequal(raschig_sphericity(26,68,98),0.4545))

ssa = 2.6549e+04 csa = 5.8408e+04

86   Pass
assert(isequal(raschig_sphericity(62,32,66),0.6133))

ssa = 3.6251e+04 csa = 5.9112e+04

87   Pass
assert(isequal(raschig_sphericity(41,9,63),0.7096))

ssa = 3.0497e+04 csa = 4.2977e+04

88   Pass
assert(isequal(raschig_sphericity(88,55,69),0.3730))

ssa = 2.9644e+04 csa = 7.9470e+04

89   Pass
assert(isequal(raschig_sphericity(90,79,96),0.3663))

ssa = 4.3093e+04 csa = 1.1765e+05

90   Pass
assert(isequal(raschig_sphericity(60,56,70),0.3962))

ssa = 2.3210e+04 csa = 5.8584e+04

91   Pass
assert(isequal(raschig_sphericity(55,99,100),0.0730))

ssa = 5.1136e+03 csa = 7.0020e+04

92   Pass
assert(isequal(raschig_sphericity(69,48,87),0.5765))

ssa = 5.2814e+04 csa = 9.1609e+04

93   Pass
assert(isequal(raschig_sphericity(22,25,33),0.4465))

ssa = 4.8814e+03 csa = 1.0933e+04

94   Pass
assert(isequal(raschig_sphericity(71,85,97),0.3154))

ssa = 2.9940e+04 csa = 9.4914e+04

95   Pass
assert(isequal(raschig_sphericity(75,11,58),0.7642))

ssa = 4.0419e+04 csa = 5.2892e+04

96   Pass
assert(isequal(raschig_sphericity(85,84,91),0.2270))

ssa = 2.2959e+04 csa = 1.0116e+05

97   Pass
assert(isequal(raschig_sphericity(28,13,74),0.5982))

ssa = 2.9102e+04 csa = 4.8651e+04

98   Pass
assert(isequal(raschig_sphericity(56,1,43),0.8440))

ssa = 2.2865e+04 csa = 2.7093e+04

99   Pass
assert(isequal(raschig_sphericity(44,78,97),0.4158))

ssa = 2.8801e+04 csa = 6.9272e+04

100   Pass
assert(isequal(raschig_sphericity(59,15,66),0.7230))

ssa = 4.0475e+04 csa = 5.5983e+04

101   Pass
assert(isequal(raschig_sphericity(73,43,56),0.4007))

ssa = 2.1438e+04 csa = 5.3495e+04

102   Pass
assert(isequal(raschig_sphericity(27,99,100),0.0909))

ssa = 3.1822e+03 csa = 3.5010e+04

103   Pass
assert(isequal(raschig_sphericity(83,60,93),0.5209))

ssa = 5.8091e+04 csa = 1.1151e+05