1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
weeeeeb [17]
3 years ago
15

Write an expression that evaluates to true if the value of variable lastName is greater than the string Dexter.

Engineering
1 answer:
gregori [183]3 years ago
4 0

Answer:

lastName.compareTo("Dexter")>0

Explanation:

The expression that evaluates to true if the value of variable lastName is greater than the string Dexter is; lastName.compareTo("Dexter")>0.

You might be interested in
An existing building is suffering from cracks in the exterior walls. The investigating engineer wants to ensure that the foundat
jek_recluse [69]

Answer:

18 ft^{2}

Explanation:

Soil bearing pressure=\frac {Load}{Area}

Since we're given pressure of 2500 psf and load of 45000 pounds

The area=\frac {45000}{2500}=18

Therefore, the smallest area of safe footings should not be less than 18 ft^{2}

6 0
3 years ago
3–102 One of the common procedures in fitness programs is to determine the fat-to-muscle ratio of the body. This is based on the
gayaneshka [121]

Answer:

x_fat = [ 0.5*(Wsa + Wsw) -  p_muscle*V ] / V*( p_fat - p_muscle )

Explanation:

Given:

- The total volume of body = V

- The average density of the body = p_avg

- The density of muscle = p_muscle

- The density of fat = p_fat

Find:

Obtain a relation for the volume fraction of body fat x_fat

Solution:

- The volume of the fat is given by:

                          V_fat = x_fat*V

- The volume of the muscle is given by:

                          V_muscle = V - V_fat

                                            = V - x_fat*V

                                            =V*( 1 - x_fat )

- We will use the conservation of mass for the body related as:

                         mass_fat + mass_muscle = Total average mass

                         p_fat*V_fat + p_muscle*V_muscle = p_avg*V

                         p_fat*x_fat*V + p_muscle*V*( 1 - x_fat ) = p_avg*V

                         p_fat*x_fat + p_muscle*( 1 - x_fat ) = p_avg

- To determine p_1 we weigh the body in air:

                         Weight reading (Wsa) = m = p_1*V

                         p_1 = Wsa / V*g

- To determine p_2 we weigh the body in water:

                         Weight reading (Wsw) = m - p_w*V= p_1*V - p_w*V

                         Weight reading (Wsw) = V*(p_1 - p_w) = V*(p_2)

                         Where, p_2 = p_1 - p_water

                         p_2 = Wsw / V

- The average density p_avg:

                         p_avg = 0.5*(p_1 + p_2)  

                         p_avg = 0.5*(Wsa / V + Wsw / V)  

                         p_avg = 0.5*(Wsa + Wsw) / V                      

- Plug in the mass equation:

                         p_fat*x_fat + p_muscle*( 1 - x_fat ) = 0.5*(Wsa + Wsw) / V

                         x_fat*( p_fat - p_muscle ) = 0.5*(Wsa + Wsw) / V - p_muscle

                   x_fat = [ 0.5*(Wsa + Wsw) -  p_muscle*V ] / V*( p_fat - p_muscle )

                         

6 0
4 years ago
A 3.5-m3 rigid tank initially contains air whose density is 2 kg/m3 . The tank is connected to a high-pressure supply line throu
Mumz [18]

Answer:

Explanation:

First, we find the mass of the air originally in the tank.

Density is given as mass divided by volume. It is given as:

Density = \frac{mass}{volume}

Therefore, mass is:

mass = denisty *volume

Density of air = 2 kg/m^3; Volume of the tank =  3.5 m^3

=> Mass = 3.5 * 2 = 7 kg

The mass of the air initially in the tank is 7 kg.

After air is allowed to enter, the mass changes.

New density = 6.5 kg/m^3

The new mass will be:

Mass = 6.5 * 3.5 = 22.75 kg

We can now find the mass of air that has entered the tank:

Mass of air that entered tank = New mass of air - Original mass of air

M = 22.75 - 7.0 = 15.75 kg

The mass of air that entered the tank is 15.75 kg.

6 0
3 years ago
Calculate the molar heat capacity of a monatomic non-metallic solid at 500K which is characterized by an Einstein temperature of
aleksandr82 [10.1K]

Answer:

Explanation:

Given

Temperature of solid T=500\ K

Einstein Temperature T_E=300\ K

Heat Capacity in the Einstein model is given by

C_v=3R\left [ \frac{T_E}{T}\right ]^2\frac{e^{\frac{T_E}{T}}}{\left ( e^{\frac{T_E}{T}}-1\right )^2}

e^{\frac{3}{5}}=1.822

Substitute the values

C_v=3R\times (\frac{300}{500})^2\times (\frac{1.822}{(1.822-1)^2})

C_v=3R\times \frac{9}{25}\times \frac{1.822}{(0.822)^2}

C_v=0.97\times (3R)            

6 0
3 years ago
How does java achieve portable
sergejj [24]

Answer:

Java is called portable because you can compile a java code which will spew out a byte-code, and then you run that code with Java Virtual Machine. Java Virtual Machine is like an interpreter, which reads the compiled byte-code and runs it. So first of all, you need to install the JVM on the system you want.

Explanation:

5 0
3 years ago
Other questions:
  • What will happen in a wire drawing operation when the cross-sectional area has a reduction of 60% in a single pass?
    10·1 answer
  • A frustum of cone is filled with ice cream such that the portion above the cone is a hemisphere. Define the variables di=1.25 in
    9·1 answer
  • With increases in magnification, which of the following occur? a. The field of view decreases. b. The ambient illumination decre
    9·1 answer
  • Find the equivalent impedance Zeq seen by the source when Vs = 2 cos (5t) v, C = 0.2 F, R = 1 Ω and L = 0.1 H. (Give angles in d
    12·1 answer
  • 2. In the above figure, what type of cylinder arrangement is shown in the figure above?
    9·2 answers
  • Compute the electrical resistivity of a cylindrical silicon specimen 7.0 mm (0.28 in.) diameter and 57 mm (2.25 in.) in length i
    9·1 answer
  • Can someone help plz?!?
    5·2 answers
  • The displacement of a certain object is described by y(t) = 23 sin 5t, where t is measured in seconds. Compute its period and it
    9·1 answer
  • Me ayudas plis noce ​
    14·1 answer
  • which type of irrigation fluid is typically used for endoscopic procedures using monopolar electrosurgery
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!