![jaliyahskt510](/avatars/26791.jpg)
jaliyahskt510
18.10.2019 •
Engineering
Analyze the following code:
double array = { 1, 2, 3); arraylist«double> list = new arraylist◇(arrays.aslist(array)) system.out printn(list); tem.out.printnlist
a. the code is correct and displays [1.0, 2.0, 3.0].
b. the code has a compile error because aslist(array) requires that the array elements are objects.
c. the code is correct and displays [1, 2, 3].
d. the code has a compile error because an integer such as 1 is automatically converted into an integer object, but the array element type is double.
Solved
Show answers
More tips
- S Society and Politics What If There s War Tomorrow, What If We Go to War?...
- S Sport How to Do a Jumping Split...
- A Animals and plants What Do Terriers Eat?...
- F Food and Cooking Discover the Benefits and Properties of Dates...
- C Computers and Internet Dynamically Assigned IP Address: What Is It and How Does It Work?...
- S Style and Beauty How to Get Rid of Acne: Scientifically Proven Methods...
- H Health and Medicine Simple Ways to Lower Cholesterol in the Blood: Tips and Tricks...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
Ответ:
temperature -15.6 C, quality x=0.646, enthalpy h=667.20 KJ, volume of vapor phase Vg= 79.8 L
Explanation:
property table for R-134a
https://www.ohio.edu/mechanical/thermo/property_tables/R134a/R134a_PresSat.html
at 160 KPa , temperature = -15.66 C
quality x=mass of vapour/ total mass of liq-vap mixture
alternaternately: x=(v-vf)/(vg-vf)
v=total volume i.e. volume of container"80L" 80L=0.08 cubic meter
vf=vol of liquid phase vg=vol of vapor phase vf, vg values at 160Kpa
x=(0.08-0.0007437)/(0.1235-0.0007437)=0.646
enthalpy
h=hf+xhfg hf, hfg values at 160Kpa
h=hf+xhfg=31.2+0.646(209.9)=166.80 KJ/Kg
for 4Kg R-134a h=m(166.80 KJ/Kg )=667.20 KJ
volume of vapor phase
vg at 160Kpa=0.1235 cubic meter for quality=1.
in this case quality=0.646 , so it will occupy 64.6% space of the vapor phase at quality=1.
vol. of vapor phase=0.646*0.1235=0.0798 cubic meter=79.8 L