Cody

# Problem 45391. Calculate the sphericity of a Raschig ring

Solution 3383248

Submitted on 25 Oct 2020 by cokakola
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))

VK = 9.4248

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

VK = 326.7256

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

VK = 549.7787

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

VK = 9.1756e+05

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

VK = 6.9642e+05

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

VK = 1.2353e+06

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

VK = 9.6057e+05

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

VK = 3.9961e+04

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

VK = 6.4943e+04

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

VK = 7.1565e+04

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

VK = 1.0391e+05

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

VK = 7.2571e+04

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

VK = 3.9838e+05

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

VK = 2.3264e+05

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

VK = 5.5064e+05

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

VK = 3.9810e+04

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

VK = 6.4943e+04

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

VK = 4.7237e+05

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

VK = 3.0678e+04

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

VK = 6.0110e+05

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

VK = 5.1402e+05

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

VK = 2.7076e+05

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

VK = 1.1650e+05

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

VK = 1.1345e+06

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

VK = 1.3584e+04

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

VK = 1.2965e+05

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

VK = 6.9985e+05

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

VK = 2.1807e+06

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

VK = 2.1564e+05

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

VK = 2.9286e+05

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

VK = 1.0801e+05

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

VK = 2.9688e+03

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

VK = 1.5087e+05

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

VK = 4.8600e+04

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

VK = 3.9604e+05

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

VK = 3.7737e+05

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

VK = 7.4343e+04

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

VK = 1.4884e+06

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

VK = 7.9309e+05

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

VK = 5.5220e+05

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

VK = 9.4549e+04

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

VK = 5.3765e+04

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

VK = 6.4088e+03

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

VK = 1.7065e+05

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

VK = 4.6031e+05

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

VK = 1.1567e+06

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

VK = 7.7464e+05

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

VK = 1.5894e+05

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

VK = 5.7805e+03

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

VK = 1.0166e+06

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

VK = 4.4560e+04

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

VK = 7.8012e+04

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

VK = 1.0864e+05

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

VK = 9.4154e+04

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

VK = 2.5093e+05

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

VK = 5.0445e+05

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

VK = 3.4143e+05

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

VK = 4.7501e+05

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

VK = 8.3478e+05

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

VK = 4.3580e+05

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

VK = 1.5291e+05

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

VK = 2.6055e+05

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

VK = 6.3335e+05

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

VK = 4.5872e+05

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

VK = 4.4403e+04

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

VK = 6.8085e+05

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

VK = 5.6586e+04

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

VK = 618.8938

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

VK = 7.9790e+05

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

VK = 6.2581e+04

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

VK = 3.0093e+05

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

VK = 4.6736e+05

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

VK = 7.9702e+03

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

VK = 5.1165e+05

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

VK = 8.3692e+04

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

VK = 8.0312e+04

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

VK = 1.1380e+06

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

VK = 1.3300e+05

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

VK = 4.5705e+05

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

VK = 1.6103e+06

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

VK = 9.5680e+05

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

VK = 4.3981e+05

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

VK = 8.2611e+05

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

VK = 7.1917e+04

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

VK = 4.0677e+05

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

VK = 6.4900e+05

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

VK = 5.0080e+05

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

VK = 4.7993e+05

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

VK = 8.4116e+05

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

VK = 3.3251e+05

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

VK = 3.4385e+04

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

VK = 1.1413e+06

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

VK = 3.2069e+04

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

VK = 4.8715e+05

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

VK = 7.6411e+05

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

VK = 3.2712e+05

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

VK = 4.6683e+05

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

VK = 3.2512e+05

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

VK = 4.5962e+05

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

VK = 7.6570e+05

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

VK = 2.9516e+05

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

VK = 1.6880e+04

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

VK = 1.3165e+06

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!