Cody

Problem 45391. Calculate the sphericity of a Raschig ring

Solution 2530614

Submitted on 12 Jun 2020 by Antoni Prus
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))

A = 37.6991 V = 9.4248 R = 1.3104 Asph = 21.5774 y = 0.5724

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

A = 735.1327 V = 326.7256 R = 4.2727 Asph = 229.4068 y = 0.3121

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

A = 439.8230 V = 549.7787 R = 5.0820 Asph = 324.5459 y = 0.7379

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

A = 7.7421e+04 V = 9.1756e+05 R = 60.2812 Asph = 4.5664e+04 y = 0.5898

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

A = 5.2439e+04 V = 6.9642e+05 R = 54.9870 Asph = 3.7995e+04 y = 0.7246

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

A = 1.0294e+05 V = 1.2353e+06 R = 66.5627 Asph = 5.5676e+04 y = 0.5408

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

A = 6.8964e+04 V = 9.6057e+05 R = 61.2088 Asph = 4.7080e+04 y = 0.6827

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

A = 2.0980e+04 V = 3.9961e+04 R = 21.2088 Asph = 5.6525e+03 y = 0.2694

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

A = 2.3876e+04 V = 6.4943e+04 R = 24.9353 Asph = 7.8134e+03 y = 0.3272

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

A = 2.2733e+04 V = 7.1565e+04 R = 25.7556 Asph = 8.3359e+03 y = 0.3667

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

A = 3.7385e+04 V = 1.0391e+05 R = 29.1644 Asph = 1.0689e+04 y = 0.2859

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

A = 1.8033e+04 V = 7.2571e+04 R = 25.8756 Asph = 8.4138e+03 y = 0.4666

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

A = 8.1487e+04 V = 3.9838e+05 R = 45.6460 Asph = 2.6183e+04 y = 0.3213

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

A = 5.5223e+04 V = 2.3264e+05 R = 38.1534 Asph = 1.8293e+04 y = 0.3313

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

A = 5.1334e+04 V = 5.5064e+05 R = 50.8464 Asph = 3.2489e+04 y = 0.6329

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

A = 2.4328e+04 V = 3.9810e+04 R = 21.1821 Asph = 5.6383e+03 y = 0.2318

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

A = 1.1699e+04 V = 6.4943e+04 R = 24.9353 Asph = 7.8134e+03 y = 0.6679

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

A = 7.9853e+04 V = 4.7237e+05 R = 48.3131 Asph = 2.9332e+04 y = 0.3673

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

A = 2.2431e+04 V = 3.0678e+04 R = 19.4198 Asph = 4.7391e+03 y = 0.2113

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

A = 4.5955e+04 V = 6.0110e+05 R = 52.3544 Asph = 3.4444e+04 y = 0.7495

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

A = 5.0888e+04 V = 5.1402e+05 R = 49.6933 Asph = 3.1032e+04 y = 0.6098

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

A = 4.8707e+04 V = 2.7076e+05 R = 40.1325 Asph = 2.0240e+04 y = 0.4155

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

A = 6.1443e+04 V = 1.1650e+05 R = 30.2981 Asph = 1.1536e+04 y = 0.1877

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

A = 8.0676e+04 V = 1.1345e+06 R = 64.7003 Asph = 5.2604e+04 y = 0.6520

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

A = 7.9734e+03 V = 1.3584e+04 R = 14.8018 Asph = 2.7532e+03 y = 0.3453

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

A = 8.9843e+04 V = 1.2965e+05 R = 31.3972 Asph = 1.2388e+04 y = 0.1379

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

A = 9.8344e+04 V = 6.9985e+05 R = 55.0771 Asph = 3.8120e+04 y = 0.3876

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

A = 1.2476e+05 V = 2.1807e+06 R = 80.4458 Asph = 8.1324e+04 y = 0.6518

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

A = 2.6389e+04 V = 2.1564e+05 R = 37.2003 Asph = 1.7390e+04 y = 0.6590

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

A = 9.2162e+04 V = 2.9286e+05 R = 41.1960 Asph = 2.1327e+04 y = 0.2314

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

A = 7.5606e+04 V = 1.0801e+05 R = 29.5431 Asph = 1.0968e+04 y = 0.1451

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

A = 3.1667e+03 V = 2.9688e+03 R = 8.9159 Asph = 998.9381 y = 0.3154

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

A = 5.3759e+04 V = 1.5087e+05 R = 33.0248 Asph = 1.3705e+04 y = 0.2549

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

A = 1.2661e+04 V = 4.8600e+04 R = 22.6387 Asph = 6.4404e+03 y = 0.5087

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

A = 9.7113e+04 V = 3.9604e+05 R = 45.5564 Asph = 2.6080e+04 y = 0.2686

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

A = 5.3658e+04 V = 3.7737e+05 R = 44.8290 Asph = 2.5254e+04 y = 0.4706

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

A = 4.1544e+04 V = 7.4343e+04 R = 26.0845 Asph = 8.5502e+03 y = 0.2058

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

A = 1.0254e+05 V = 1.4884e+06 R = 70.8283 Asph = 6.3041e+04 y = 0.6148

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

A = 7.3890e+04 V = 7.9309e+05 R = 57.4219 Asph = 4.1435e+04 y = 0.5608

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

A = 7.3042e+04 V = 5.5220e+05 R = 50.8942 Asph = 3.2550e+04 y = 0.4456

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

A = 9.7038e+04 V = 9.4549e+04 R = 28.2612 Asph = 1.0037e+04 y = 0.1034

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

A = 1.0878e+05 V = 5.3765e+04 R = 23.4137 Asph = 6.8889e+03 y = 0.0633

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

A = 7.2634e+03 V = 6.4088e+03 R = 11.5230 Asph = 1.6685e+03 y = 0.2297

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

A = 9.0201e+04 V = 1.7065e+05 R = 34.4091 Asph = 1.4878e+04 y = 0.1649

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

A = 4.3128e+04 V = 4.6031e+05 R = 47.8982 Asph = 2.8830e+04 y = 0.6685

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

A = 9.0176e+04 V = 1.1567e+06 R = 65.1192 Asph = 5.3288e+04 y = 0.5909

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

A = 6.8870e+04 V = 7.7464e+05 R = 56.9731 Asph = 4.0790e+04 y = 0.5923

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

A = 5.7655e+04 V = 1.5894e+05 R = 33.6032 Asph = 1.4190e+04 y = 0.2461

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

A = 6.3586e+03 V = 5.7805e+03 R = 11.1334 Asph = 1.5576e+03 y = 0.2450

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

A = 8.8442e+04 V = 1.0166e+06 R = 62.3765 Asph = 4.8894e+04 y = 0.5528

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

A = 9.0358e+04 V = 4.4560e+04 R = 21.9931 Asph = 6.0783e+03 y = 0.0673

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

A = 8.0450e+04 V = 7.8012e+04 R = 26.5068 Asph = 8.8293e+03 y = 0.1097

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

A = 1.1092e+05 V = 1.0864e+05 R = 29.6003 Asph = 1.1010e+04 y = 0.0993

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

A = 2.3468e+04 V = 9.4154e+04 R = 28.2217 Asph = 1.0009e+04 y = 0.4265

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

A = 3.4985e+04 V = 2.5093e+05 R = 39.1278 Asph = 1.9239e+04 y = 0.5499

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

A = 5.5380e+04 V = 5.0445e+05 R = 49.3831 Asph = 3.0645e+04 y = 0.5534

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

A = 3.3452e+04 V = 3.4143e+05 R = 43.3581 Asph = 2.3624e+04 y = 0.7062

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

A = 8.3692e+04 V = 4.7501e+05 R = 48.4029 Asph = 2.9441e+04 y = 0.3518

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

A = 5.5499e+04 V = 8.3478e+05 R = 58.4111 Asph = 4.2875e+04 y = 0.7725

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

A = 3.5890e+04 V = 4.3580e+05 R = 47.0327 Asph = 2.7798e+04 y = 0.7745

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

A = 2.8752e+04 V = 1.5291e+05 R = 33.1726 Asph = 1.3828e+04 y = 0.4810

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

A = 3.2798e+04 V = 2.6055e+05 R = 39.6217 Asph = 1.9728e+04 y = 0.6015

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

A = 9.3242e+04 V = 6.3335e+05 R = 53.2742 Asph = 3.5665e+04 y = 0.3825

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

A = 6.0771e+04 V = 4.5872e+05 R = 47.8432 Asph = 2.8764e+04 y = 0.4733

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

A = 9.0007e+04 V = 4.4403e+04 R = 21.9672 Asph = 6.0640e+03 y = 0.0674

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

A = 5.1120e+04 V = 6.8085e+05 R = 54.5741 Asph = 3.7427e+04 y = 0.7321

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

A = 5.8019e+04 V = 5.6586e+04 R = 23.8163 Asph = 7.1279e+03 y = 0.1229

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

A = 2.4756e+03 V = 618.8938 R = 5.2866 Asph = 351.2057 y = 0.1419

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

A = 7.2420e+04 V = 7.9790e+05 R = 57.5378 Asph = 4.1602e+04 y = 0.5745

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

A = 2.2946e+04 V = 6.2581e+04 R = 24.6292 Asph = 7.6227e+03 y = 0.3322

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

A = 3.9477e+04 V = 3.0093e+05 R = 41.5713 Asph = 2.1717e+04 y = 0.5501

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

A = 6.5754e+04 V = 4.6736e+05 R = 48.1415 Asph = 2.9124e+04 y = 0.4429

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

A = 1.6311e+04 V = 7.9702e+03 R = 12.3916 Asph = 1.9296e+03 y = 0.1183

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

A = 9.8395e+04 V = 5.1165e+05 R = 49.6168 Asph = 3.0936e+04 y = 0.3144

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

A = 4.6370e+04 V = 8.3692e+04 R = 27.1351 Asph = 9.2528e+03 y = 0.1995

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

A = 3.0247e+04 V = 8.0312e+04 R = 26.7648 Asph = 9.0019e+03 y = 0.2976

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

A = 1.2425e+05 V = 1.1380e+06 R = 64.7674 Asph = 5.2714e+04 y = 0.4243

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

A = 7.1427e+04 V = 1.3300e+05 R = 31.6658 Asph = 1.2601e+04 y = 0.1764

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

A = 7.8188e+04 V = 4.5705e+05 R = 47.7852 Asph = 2.8694e+04 y = 0.3670

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

A = 1.1281e+05 V = 1.6103e+06 R = 72.7124 Asph = 6.6439e+04 y = 0.5889

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

A = 1.2667e+05 V = 9.5680e+05 R = 61.1286 Asph = 4.6957e+04 y = 0.3707

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

A = 7.1289e+04 V = 4.3981e+05 R = 47.1764 Asph = 2.7968e+04 y = 0.3923

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

A = 6.8600e+04 V = 8.2611e+05 R = 58.2081 Asph = 4.2577e+04 y = 0.6207

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

A = 7.4355e+04 V = 7.1917e+04 R = 25.7977 Asph = 8.3632e+03 y = 0.1125

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

A = 5.8408e+04 V = 4.0677e+05 R = 45.9644 Asph = 2.6549e+04 y = 0.4545

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

A = 5.9112e+04 V = 6.4900e+05 R = 53.7097 Asph = 3.6251e+04 y = 0.6133

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

A = 4.2977e+04 V = 5.0080e+05 R = 49.2633 Asph = 3.0497e+04 y = 0.7096

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

A = 7.9470e+04 V = 4.7993e+05 R = 48.5696 Asph = 2.9644e+04 y = 0.3730

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

A = 1.1765e+05 V = 8.4116e+05 R = 58.5594 Asph = 4.3093e+04 y = 0.3663

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

A = 5.8584e+04 V = 3.3251e+05 R = 42.9771 Asph = 2.3210e+04 y = 0.3962

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

A = 7.0020e+04 V = 3.4385e+04 R = 20.1725 Asph = 5.1136e+03 y = 0.0730

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

A = 9.1609e+04 V = 1.1413e+06 R = 64.8290 Asph = 5.2814e+04 y = 0.5765

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

A = 1.0933e+04 V = 3.2069e+04 R = 19.7091 Asph = 4.8814e+03 y = 0.4465

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

A = 9.4914e+04 V = 4.8715e+05 R = 48.8117 Asph = 2.9940e+04 y = 0.3154

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

A = 5.2892e+04 V = 7.6411e+05 R = 56.7139 Asph = 4.0419e+04 y = 0.7642

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

A = 1.0116e+05 V = 3.2712e+05 R = 42.7437 Asph = 2.2959e+04 y = 0.2270

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

A = 4.8651e+04 V = 4.6683e+05 R = 48.1234 Asph = 2.9102e+04 y = 0.5982

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

A = 2.7093e+04 V = 3.2512e+05 R = 42.6564 Asph = 2.2865e+04 y = 0.8440

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

A = 6.9272e+04 V = 4.5962e+05 R = 47.8742 Asph = 2.8801e+04 y = 0.4158

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

A = 5.5983e+04 V = 7.6570e+05 R = 56.7531 Asph = 4.0475e+04 y = 0.7230

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

A = 5.3495e+04 V = 2.9516e+05 R = 41.3036 Asph = 2.1438e+04 y = 0.4007

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

A = 3.5010e+04 V = 1.6880e+04 R = 15.9133 Asph = 3.1822e+03 y = 0.0909

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

A = 1.1151e+05 V = 1.3165e+06 R = 67.9905 Asph = 5.8091e+04 y = 0.5209