Cody

# Problem 45411. Compute the missing quantity among P, V, T for an ideal gas

Solution 2573325

Submitted on 17 Jun 2020
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   Fail
assert(isequal(idealgas([233424.06 NaN 435.02]),'1.55 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.550000e+00 97'

Assertion failed.

2   Fail
assert(isequal(idealgas([294119.71 NaN 317.25]),'0.90 m^3'))

tf = 1×3 logical array 0 1 0 y = '9.000000e-01 97'

Assertion failed.

3   Fail
assert(isequal(idealgas([173530.58 2.85 NaN]),'594.85 K'))

tf = 1×3 logical array 0 0 1 y = '5.948500e+02 109'

Assertion failed.

4   Fail
assert(isequal(idealgas([NaN 4.49 410.36]),'75985.15 Pa'))

tf = 1×3 logical array 1 0 0 y = '7.598515e+04 80'

Assertion failed.

5   Fail
assert(isequal(idealgas([228388.12 5.36 NaN]),'1472.41 K'))

tf = 1×3 logical array 0 0 1 y = '1.472410e+03 109'

Assertion failed.

6   Fail
assert(isequal(idealgas([120121.26 NaN 347.47]),'2.40 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.400000e+00 97'

Assertion failed.

7   Fail
assert(isequal(idealgas([NaN 4.65 320.97]),'57388.06 Pa'))

tf = 1×3 logical array 1 0 0 y = '5.738806e+04 80'

Assertion failed.

8   Fail
assert(isequal(idealgas([256885.58 3.62 NaN]),'1118.51 K'))

tf = 1×3 logical array 0 0 1 y = '1.118510e+03 109'

Assertion failed.

9   Fail
assert(isequal(idealgas([186497.00 NaN 451.62]),'2.01 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.010000e+00 97'

Assertion failed.

10   Fail
assert(isequal(idealgas([NaN 1.99 486.75]),'203358.77 Pa'))

tf = 1×3 logical array 1 0 0 y = '2.033588e+05 80'

Assertion failed.

11   Fail
assert(isequal(idealgas([153235.77 8.18 NaN]),'1507.66 K'))

tf = 1×3 logical array 0 0 1 y = '1.507660e+03 109'

Assertion failed.

12   Fail
assert(isequal(idealgas([179201.35 3.46 NaN]),'745.77 K'))

tf = 1×3 logical array 0 0 1 y = '7.457700e+02 109'

Assertion failed.

13   Fail
assert(isequal(idealgas([NaN 5.07 421.97]),'69196.42 Pa'))

tf = 1×3 logical array 1 0 0 y = '6.919642e+04 80'

Assertion failed.

14   Fail
assert(isequal(idealgas([NaN 7.95 439.29]),'45940.34 Pa'))

tf = 1×3 logical array 1 0 0 y = '4.594034e+04 80'

Assertion failed.

15   Fail
assert(isequal(idealgas([126030.29 NaN 301.56]),'1.99 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.990000e+00 97'

Assertion failed.

16   Fail
assert(isequal(idealgas([NaN 7.51 406.24]),'44973.09 Pa'))

tf = 1×3 logical array 1 0 0 y = '4.497309e+04 80'

Assertion failed.

17   Fail
assert(isequal(idealgas([NaN 2.14 326.86]),'126986.64 Pa'))

tf = 1×3 logical array 1 0 0 y = '1.269866e+05 80'

Assertion failed.

18   Fail
assert(isequal(idealgas([NaN 2.51 339.25]),'112371.49 Pa'))

tf = 1×3 logical array 1 0 0 y = '1.123715e+05 80'

Assertion failed.

19   Fail
assert(isequal(idealgas([163285.80 2.96 NaN]),'581.34 K'))

tf = 1×3 logical array 0 0 1 y = '5.813400e+02 109'

Assertion failed.

20   Fail
assert(isequal(idealgas([NaN 6.00 336.89]),'46681.72 Pa'))

tf = 1×3 logical array 1 0 0 y = '4.668172e+04 80'

Assertion failed.

21   Fail
assert(isequal(idealgas([115469.36 NaN 441.34]),'3.18 m^3'))

tf = 1×3 logical array 0 1 0 y = '3.180000e+00 97'

Assertion failed.

22   Fail
assert(isequal(idealgas([162685.80 2.50 NaN]),'489.19 K'))

tf = 1×3 logical array 0 0 1 y = '4.891900e+02 109'

Assertion failed.

23   Fail
assert(isequal(idealgas([NaN 3.32 379.36]),'94999.97 Pa'))

tf = 1×3 logical array 1 0 0 y = '9.499997e+04 80'

Assertion failed.

24   Fail
assert(isequal(idealgas([236819.21 NaN 496.57]),'1.74 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.740000e+00 97'

Assertion failed.

25   Fail
assert(isequal(idealgas([NaN 2.39 376.27]),'130891.58 Pa'))

tf = 1×3 logical array 1 0 0 y = '1.308916e+05 80'

Assertion failed.

26   Fail
assert(isequal(idealgas([251622.49 8.84 NaN]),'2675.42 K'))

tf = 1×3 logical array 0 0 1 y = '2.675420e+03 109'

Assertion failed.

27   Fail
assert(isequal(idealgas([158829.73 NaN 466.48]),'2.44 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.440000e+00 97'

Assertion failed.

28   Fail
assert(isequal(idealgas([167062.27 NaN 390.52]),'1.94 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.940000e+00 97'

Assertion failed.

29   Fail
assert(isequal(idealgas([171921.26 NaN 448.51]),'2.17 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.170000e+00 97'

Assertion failed.

30   Fail
assert(isequal(idealgas([NaN 2.12 304.89]),'119568.65 Pa'))

tf = 1×3 logical array 1 0 0 y = '1.195686e+05 80'

Assertion failed.

31   Fail
assert(isequal(idealgas([163504.12 6.88 NaN]),'1353.03 K'))

tf = 1×3 logical array 0 0 1 y = '1.353030e+03 109'

Assertion failed.

32   Fail
assert(isequal(idealgas([191577.27 3.16 NaN]),'728.15 K'))

tf = 1×3 logical array 0 0 1 y = '7.281500e+02 109'

Assertion failed.

33   Fail
assert(isequal(idealgas([248129.61 7.69 NaN]),'2295.06 K'))

tf = 1×3 logical array 0 0 1 y = '2.295060e+03 109'

Assertion failed.

34   Fail
assert(isequal(idealgas([192652.12 2.91 NaN]),'674.31 K'))

tf = 1×3 logical array 0 0 1 y = '6.743100e+02 109'

Assertion failed.

35   Fail
assert(isequal(idealgas([135001.95 2.47 NaN]),'401.08 K'))

tf = 1×3 logical array 0 0 1 y = '4.010800e+02 109'

Assertion failed.

36   Fail
assert(isequal(idealgas([203311.64 7.32 NaN]),'1790.04 K'))

tf = 1×3 logical array 0 0 1 y = '1.790040e+03 109'

Assertion failed.

37   Fail
assert(isequal(idealgas([208176.82 7.12 NaN]),'1782.80 K'))

tf = 1×3 logical array 0 0 1 y = '1.782800e+03 109'

Assertion failed.

38   Fail
assert(isequal(idealgas([NaN 2.08 405.01]),'161887.17 Pa'))

tf = 1×3 logical array 1 0 0 y = '1.618872e+05 80'

Assertion failed.

39   Fail
assert(isequal(idealgas([NaN 4.59 383.02]),'69377.52 Pa'))

tf = 1×3 logical array 1 0 0 y = '6.937752e+04 80'

Assertion failed.

40   Fail
assert(isequal(idealgas([151077.35 NaN 484.74]),'2.67 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.670000e+00 97'

Assertion failed.

41   Fail
assert(isequal(idealgas([286522.71 2.47 NaN]),'851.23 K'))

tf = 1×3 logical array 0 0 1 y = '8.512300e+02 109'

Assertion failed.

42   Fail
assert(isequal(idealgas([215478.84 4.96 NaN]),'1285.51 K'))

tf = 1×3 logical array 0 0 1 y = '1.285510e+03 109'

Assertion failed.

43   Fail
assert(isequal(idealgas([145733.90 1.58 NaN]),'276.95 K'))

tf = 1×3 logical array 0 0 1 y = '2.769500e+02 109'

Assertion failed.

44   Fail
assert(isequal(idealgas([243042.50 NaN 383.81]),'1.31 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.310000e+00 97'

Assertion failed.

45   Fail
assert(isequal(idealgas([263228.02 3.86 NaN]),'1222.11 K'))

tf = 1×3 logical array 0 0 1 y = '1.222110e+03 109'

Assertion failed.

46   Fail
assert(isequal(idealgas([270452.78 5.55 NaN]),'1805.40 K'))

tf = 1×3 logical array 0 0 1 y = '1.805400e+03 109'

Assertion failed.

47   Fail
assert(isequal(idealgas([188792.83 NaN 473.35]),'2.08 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.080000e+00 97'

Assertion failed.

48   Fail
assert(isequal(idealgas([171014.73 NaN 344.83]),'1.68 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.680000e+00 97'

Assertion failed.

49   Fail
assert(isequal(idealgas([NaN 4.49 328.44]),'60816.26 Pa'))

tf = 1×3 logical array 1 0 0 y = '6.081626e+04 80'

Assertion failed.

50   Fail
assert(isequal(idealgas([184222.45 NaN 445.16]),'2.01 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.010000e+00 97'

Assertion failed.

51   Fail
assert(isequal(idealgas([NaN 7.61 414.21]),'45252.85 Pa'))

tf = 1×3 logical array 1 0 0 y = '4.525285e+04 80'

Assertion failed.

52   Fail
assert(isequal(idealgas([NaN 3.39 484.92]),'118926.99 Pa'))

tf = 1×3 logical array 1 0 0 y = '1.189270e+05 80'

Assertion failed.

53   Fail
assert(isequal(idealgas([NaN 1.79 428.02]),'198802.14 Pa'))

tf = 1×3 logical array 1 0 0 y = '1.988021e+05 80'

Assertion failed.

54   Fail
assert(isequal(idealgas([109010.22 NaN 369.49]),'2.82 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.820000e+00 97'

Assertion failed.

55   Fail
assert(isequal(idealgas([176773.72 6.65 NaN]),'1413.93 K'))

tf = 1×3 logical array 0 0 1 y = '1.413930e+03 109'

Assertion failed.

56   Fail
assert(isequal(idealgas([260111.73 NaN 462.62]),'1.48 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.480000e+00 97'

Assertion failed.

57   Fail
assert(isequal(idealgas([NaN 6.18 406.01]),'54620.83 Pa'))

tf = 1×3 logical array 1 0 0 y = '5.462083e+04 80'

Assertion failed.

58   Fail
assert(isequal(idealgas([149725.79 5.06 NaN]),'911.25 K'))

tf = 1×3 logical array 0 0 1 y = '9.112500e+02 109'

Assertion failed.

59   Fail
assert(isequal(idealgas([NaN 1.27 407.13]),'266525.89 Pa'))

tf = 1×3 logical array 1 0 0 y = '2.665259e+05 80'

Assertion failed.

60   Fail
assert(isequal(idealgas([260418.29 9.90 NaN]),'3100.96 K'))

tf = 1×3 logical array 0 0 1 y = '3.100960e+03 109'

Assertion failed.

61   Fail
assert(isequal(idealgas([103635.51 NaN 456.75]),'3.66 m^3'))

tf = 1×3 logical array 0 1 0 y = '3.660000e+00 97'

Assertion failed.

62   Fail
assert(isequal(idealgas([NaN 9.09 425.19]),'38889.22 Pa'))

tf = 1×3 logical array 1 0 0 y = '3.888922e+04 80'

Assertion failed.

63   Fail
assert(isequal(idealgas([NaN 2.64 308.36]),'97110.04 Pa'))

tf = 1×3 logical array 1 0 0 y = '9.711004e+04 80'

Assertion failed.

64   Fail
assert(isequal(idealgas([223288.70 NaN 370.89]),'1.38 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.380000e+00 97'

Assertion failed.

65   Fail
assert(isequal(idealgas([296869.88 9.51 NaN]),'3395.76 K'))

tf = 1×3 logical array 0 0 1 y = '3.395760e+03 109'

Assertion failed.

66   Fail
assert(isequal(idealgas([NaN 4.03 432.48]),'89221.80 Pa'))

tf = 1×3 logical array 1 0 0 y = '8.922180e+04 80'

Assertion failed.

67   Fail
assert(isequal(idealgas([159101.45 NaN 405.57]),'2.12 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.120000e+00 97'

Assertion failed.

68   Fail
assert(isequal(idealgas([220527.64 NaN 416.71]),'1.57 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.570000e+00 97'

Assertion failed.

69   Fail
assert(isequal(idealgas([216714.12 5.61 NaN]),'1462.31 K'))

tf = 1×3 logical array 0 0 1 y = '1.462310e+03 109'

Assertion failed.

70   Fail
assert(isequal(idealgas([299231.22 NaN 494.25]),'1.37 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.370000e+00 97'

Assertion failed.

71   Fail
assert(isequal(idealgas([NaN 5.09 382.69]),'62508.54 Pa'))

tf = 1×3 logical array 1 0 0 y = '6.250854e+04 80'

Assertion failed.

72   Fail
assert(isequal(idealgas([125130.92 3.78 NaN]),'568.91 K'))

tf = 1×3 logical array 0 0 1 y = '5.689100e+02 109'

Assertion failed.

73   Fail
assert(isequal(idealgas([238757.52 1.09 NaN]),'313.02 K'))

tf = 1×3 logical array 0 0 1 y = '3.130200e+02 109'

Assertion failed.

74   Fail
assert(isequal(idealgas([254190.84 1.38 NaN]),'421.92 K'))

tf = 1×3 logical array 0 0 1 y = '4.219200e+02 109'

Assertion failed.

75   Fail
assert(isequal(idealgas([245902.61 3.02 NaN]),'893.22 K'))

tf = 1×3 logical array 0 0 1 y = '8.932200e+02 109'

Assertion failed.

76   Fail
assert(isequal(idealgas([NaN 6.61 347.29]),'43681.83 Pa'))

tf = 1×3 logical array 1 0 0 y = '4.368183e+04 80'

Assertion failed.

77   Fail
assert(isequal(idealgas([NaN 7.90 486.90]),'51241.60 Pa'))

tf = 1×3 logical array 1 0 0 y = '5.124160e+04 80'

Assertion failed.

78   Fail
assert(isequal(idealgas([NaN 1.89 397.95]),'175055.89 Pa'))

tf = 1×3 logical array 1 0 0 y = '1.750559e+05 80'

Assertion failed.

79   Fail
assert(isequal(idealgas([279178.31 NaN 308.83]),'0.92 m^3'))

tf = 1×3 logical array 0 1 0 y = '9.200000e-01 97'

Assertion failed.

80   Fail
assert(isequal(idealgas([254499.01 NaN 335.80]),'1.10 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.100000e+00 97'

Assertion failed.

81   Fail
assert(isequal(idealgas([142029.13 NaN 481.27]),'2.82 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.820000e+00 97'

Assertion failed.

82   Fail
assert(isequal(idealgas([120306.78 NaN 310.92]),'2.15 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.150000e+00 97'

Assertion failed.

83   Fail
assert(isequal(idealgas([186344.23 NaN 462.32]),'2.06 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.060000e+00 97'

Assertion failed.

84   Fail
assert(isequal(idealgas([278889.55 2.24 NaN]),'751.40 K'))

tf = 1×3 logical array 0 0 1 y = '7.514000e+02 109'

Assertion failed.

85   Fail
assert(isequal(idealgas([283498.77 NaN 423.67]),'1.24 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.240000e+00 97'

Assertion failed.

86   Fail
assert(isequal(idealgas([287205.47 NaN 446.12]),'1.29 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.290000e+00 97'

Assertion failed.

87   Fail
assert(isequal(idealgas([266630.40 4.58 NaN]),'1468.81 K'))

tf = 1×3 logical array 0 0 1 y = '1.468810e+03 109'

Assertion failed.

88   Fail
assert(isequal(idealgas([164492.08 NaN 495.83]),'2.51 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.510000e+00 97'

Assertion failed.

89   Fail
assert(isequal(idealgas([166084.72 6.58 NaN]),'1314.45 K'))

tf = 1×3 logical array 0 0 1 y = '1.314450e+03 109'

Assertion failed.

90   Fail
assert(isequal(idealgas([182780.15 5.43 NaN]),'1193.76 K'))

tf = 1×3 logical array 0 0 1 y = '1.193760e+03 109'

Assertion failed.

91   Fail
assert(isequal(idealgas([165550.99 8.54 NaN]),'1700.51 K'))

tf = 1×3 logical array 0 0 1 y = '1.700510e+03 109'

Assertion failed.

92   Fail
assert(isequal(idealgas([NaN 4.21 432.53]),'85416.97 Pa'))

tf = 1×3 logical array 1 0 0 y = '8.541697e+04 80'

Assertion failed.

93   Fail
assert(isequal(idealgas([146076.61 NaN 424.91]),'2.42 m^3'))

tf = 1×3 logical array 0 1 0 y = '2.420000e+00 97'

Assertion failed.

94   Fail
assert(isequal(idealgas([232087.59 NaN 369.76]),'1.32 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.320000e+00 97'

Assertion failed.

95   Fail
assert(isequal(idealgas([NaN 7.44 471.24]),'52659.80 Pa'))

tf = 1×3 logical array 1 0 0 y = '5.265980e+04 80'

Assertion failed.

96   Fail
assert(isequal(idealgas([NaN 2.24 467.34]),'173458.25 Pa'))

tf = 1×3 logical array 1 0 0 y = '1.734582e+05 80'

Assertion failed.

97   Fail
assert(isequal(idealgas([217641.88 NaN 461.35]),'1.76 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.760000e+00 97'

Assertion failed.

98   Fail
assert(isequal(idealgas([197918.87 NaN 370.63]),'1.56 m^3'))

tf = 1×3 logical array 0 1 0 y = '1.560000e+00 97'

Assertion failed.

99   Fail
assert(isequal(idealgas([NaN 1.38 494.59]),'297972.56 Pa'))

tf = 1×3 logical array 1 0 0 y = '2.979726e+05 80'

Assertion failed.