Cody

Problem 45391. Calculate the sphericity of a Raschig ring

Solution 2754466

Submitted on 29 Jul 2020 by Hyun Woo Kim
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))

y = 0.5724

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

y = 0.3121

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

y = 0.7379

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

y = 0.5898

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

y = 0.7246

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

y = 0.5408

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

y = 0.6827

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

y = 0.2694

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

y = 0.3272

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

y = 0.3667

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

y = 0.2859

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

y = 0.4666

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

y = 0.3213

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

y = 0.3313

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

y = 0.6329

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

y = 0.2318

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

y = 0.6679

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

y = 0.3673

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

y = 0.2113

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

y = 0.7495

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

y = 0.6098

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

y = 0.4155

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

y = 0.1877

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

y = 0.6520

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

y = 0.3453

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

y = 0.1379

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

y = 0.3876

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

y = 0.6518

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

y = 0.6590

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

y = 0.2314

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

y = 0.1451

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

y = 0.3154

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

y = 0.2549

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

y = 0.5087

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

y = 0.2686

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

y = 0.4706

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

y = 0.2058

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

y = 0.6148

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

y = 0.5608

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

y = 0.4456

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

y = 0.1034

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

y = 0.0633

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

y = 0.2297

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

y = 0.1649

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

y = 0.6685

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

y = 0.5909

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

y = 0.5923

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

y = 0.2461

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

y = 0.2450

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

y = 0.5528

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

y = 0.0673

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

y = 0.1097

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

y = 0.0993

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

y = 0.4265

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

y = 0.5499

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

y = 0.5534

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

y = 0.7062

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

y = 0.3518

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

y = 0.7725

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

y = 0.7745

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

y = 0.4810

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

y = 0.6015

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

y = 0.3825

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

y = 0.4733

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

y = 0.0674

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

y = 0.7321

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

y = 0.1229

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

y = 0.1419

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

y = 0.5745

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

y = 0.3322

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

y = 0.5501

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

y = 0.4429

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

y = 0.1183

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

y = 0.3144

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

y = 0.1995

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

y = 0.2976

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

y = 0.4243

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

y = 0.1764

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

y = 0.3670

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

y = 0.5889

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

y = 0.3707

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

y = 0.3923

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

y = 0.6207

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

y = 0.1125

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

y = 0.4545

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

y = 0.6133

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

y = 0.7096

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

y = 0.3730

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

y = 0.3663

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

y = 0.3962

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

y = 0.0730

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

y = 0.5765

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

y = 0.4465

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

y = 0.3154

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

y = 0.7642

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

y = 0.2270

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

y = 0.5982

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

y = 0.8440

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

y = 0.4158

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

y = 0.7230

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

y = 0.4007

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

y = 0.0909

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

y = 0.5209

Suggested Problems

More from this Author19

Community Treasure Hunt

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

Start Hunting!