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
Find the toughness (or energy to cause fracture) for a metal that experiences both elastic and plastic deformation. Assume Equat
PtichkaEL [24]

Answer:

Detailed solution is attached below in three simple steps the problem is solved.

7 0
3 years ago
For the given network, if R = 0.8 [Ω], the natural response of i in(t) is:
11111nata11111 [884]

Answer:

Iin(t) =1.3 × (-0.8/1.56) e^-t/1.56 A

Explanation:

In physics, the determination of the term " natural response" simply means that we want to know what happens in a circuit when the value of t = 0, that is to say after the circuit has been disconnected. Hence, the value of the voltage and the current can then be determined or Calculated;

For the the natural response of i in(t) we will be using the formula below;

I(t) = Vo × t/ R = Vo/R × e^-t/h.

Where h = 1/RC = time constant.

For t= 0^- = 0.8 × 1= 0.8 V.

1/Ctotal = 1/ 2 + 1/3 = 6/5

For t = 0^+;

h =( 0.8 + 0.5) × 6/5 = 1.56 seconds.

Hence, we will have;

Vin(t) = 0.8 × e^-t/1.56.

Iin(t) =1.3 × (-0.8/1.56) e^-t/1.56

6 0
3 years ago
A common procedure for measuring the velocity of an air stream involves insertion of an electrically heated wire (called a hot-w
timurjin [86]

Answer:

V = 6.33 m/s

Explanation:

Given:

- The length of the wire L = 0.02 m

- The diameter of the wire D = 0.0005 m

- The calibration expression V = 0.0000625*h^2

- Environment temperature T_inf = 298 K

- Surface temperature T_s = 348 K

- The voltage drop dV = 5 V

- The electric current I = 0.1 A

Find:

- the velocity of Air

Solution:

- Calculate the surface area of the wire:

                             A = pi*D*L

                             A = pi*(0.0005)*(0.02) = 0.00003142 m^2

- The rate of energy in the wire P:

                             P = I*dV = 0.1*5 = 0.5 W

- Apply Newton's Law of Cooling:

                            P = h*A*(T_s - T_inf)

                            h =  P /A*(T_s - T_inf)

Plug in the values:

                             h= 0.5/ 0.00003142*(348 - 298)

                             h = 318.27 W /m^2K

- Using the calibration relationship given, compute the velocity of air:

                             V = 6.25*10^-5 * h^2

                             V = 6.25*10^-5 * (318.27)^2

                             V = 6.33 m/s

5 0
3 years ago
A local zoo wants to keep track of how many pounds of food each of its three monkeys eats each day during a typical week. Write
Kryger [21]

Answer:

#include<iostream>

using namespace std;

int main()

{

  double data[3][5],avg,least,most,total;

  int leastNum,mostNum;

  for(int i=0;i<3;i++)

  {

      cout<<"Enter quantity of food for monkey "<<i+1<<":\n";

      for(int j=0;j<5;j++)

      {

          cout<<"Day "<<j+1<<": ";

          cin>>data[i][j];

      }

  }

  least = data[0][0];

  most = data[0][0];

  for(int i = 0;i<3;i++)

  {

      for(int j = 0;j<5;j++)

      {

          total+=data[i][j];

          if(data[i][j]>most)

          {

              most=data[i][j];

              mostNum=i+1;    

          }

          if(data[i][j]<least)

          {

              least=data[i][j];

              leastNum=i+1;

             

          }

      }

  }

  avg=total/5.0;

  cout<<"Average food eaten in a day by all the 3 monkeys: "<<avg<<endl;

  cout<<"Most amount of food eaten in a day: "<<most<<" by monkey: "<<mostNum<<endl;

  cout<<"Least amount of food eaten in a day: "<<least<<" by monkey: "<<leastNum<<endl;

  return 0;

}

6 0
4 years ago
Can someone tell me if i got this write
Katen [24]

Answer:

yes you got it correct

Explanation:

hope you have a good day and stay positive ❤️

6 0
3 years ago
Other questions:
  • . A storm sewer is carrying snow melt containing 1.200 g/L of sodium chloride into a small stream. The stream has a naturally oc
    8·1 answer
  • True or false? Don't break or crush mercury-containing lamps because mercury powder may be released.
    8·1 answer
  • The Canadair CL-215T amphibious aircraft is specially designed to fight fires. It is the only production aircraft that can scoop
    7·1 answer
  • A pressure gage at the inlet to a gas compressor indicates that the gage pressure is 40.0 kPa. Atmospheric pressure is 1.01 bar.
    5·1 answer
  • Technician A says that the original equipment manufacturer (OEM) offer scan tools to service their specific line of vehicles. Te
    15·2 answers
  • 4 main causes of erosion
    12·1 answer
  • what is an example of an innovative solution to an engineering problem? Explain briefly why you chose this answer.
    14·1 answer
  • Who was the American founder and leader of the Shakers in the 1770’s who advocated equality, individual responsibility, and peac
    11·2 answers
  • While playing a game of catch on the quadrangle, you throw a ball at an initial velocity of 17.6 m/s (approximately 39.4 mi/hr),
    8·2 answers
  • From the list of problems below, check all that are known to be NP-complete. You do not need to justify your answer. (Set cover)
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!