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
lys-0071 [83]
3 years ago
7

Extra Credit: The Linc (parking lot and stadium)In celebration of the upcoming Super Bowl, for a maximum 10 points of extra cred

it, you may try to reproduce the ASCII Art shown below of Lincoln Stadium, home of the Philadelphia Eagles. You should still include a class constant for the SIZE; in Dr. Yates' implementation, the SIZE value that produces the picture below is 4, and works for any size >= 2. You must include loops and nested loops to make this work correctly; you CANNOT simply include a separate println statement for each line of the drawing. You will get the full extra credit points only if you duplicate the drawing EXACTLY. (Note: this is a fairly tricky figure to do right.) The parking lot alone is worth a maximum of 2 points.
Engineering
1 answer:
Sidana [21]3 years ago
8 0

Answer:

Explanation:

// Below is the code to draw parking lot only , i have also put the o/p of code.

import java.util.*;

import java.lang.*;

import java.io.*;

public class Linc

{

static int size=4;

static int numBoxes = 1; // one row.

static int height =(int) Math.pow(size, 2); //Just how many | will it have.

static int width = 2; // two boxes in a row

public static void main (String[] args) throws java.lang.Exception

{

top();

printHeight();

}

  public static void top(){

  for(int i = 0; i <= numBoxes*width;i++)

  {

  if(i%width == 0) {//When this happens we're in a new box.

      System.out.print(" ");

      System.out.print("____________");

  }

  else

  System.out.print(" ");

  }

  System.out.println(); //Move to next line.

 

  }

  public static void printHeight(){

  for(int j = 0; j < height;j++){

  for(int i = 0; i <= numBoxes*width;i++)

  {

  if(i%width == 0) {

  System.out.print("|"); //Whenever this happens we're in a new box.

  System.out.print("____________");

     

  }

  else

  System.out.print(" ");

 

  }

  System.out.print("|");

  System.out.println(); //Move to next line.

  }

  }

}

You might be interested in
Argon is compressed in a polytropic process with n = 1.2 from 100 kPa and 30°C to 1200 kPa in a piston–cylinder device. Determin
gulaghasi [49]

Answer:

<em>181 °C</em>

<em></em>

Explanation:

Initial pressure P_{1} = 100 kPa

Initial temperature T_{1} = 30 °C = 30 + 273 K = 303 K

Final pressure P_{2} = 1200 kPa

Final temperature T_{2} = ?

n = 1.2

For a polytropic process, we use the relationship

(T_{2}/T_{1} ) = (P_{2}/P_{1})^γ

where γ = (n-1)/n

γ = (1.2-1)/1.2 = 0.1667

substituting into the equation, we have

(T_{2}/303) = (1200/100)^0.1667

T_{2}/303 = 12^0.1667

T_{2}/303 = 1.513

T_{2} = 300 x 1.513 = 453.9 K

==> 453.9 - 273 = 180.9 ≅ <em>181 °C</em>

5 0
3 years ago
Thermal energy measured by?
Harlamova29_29 [7]

Answer:

Thermal energy is measured using a thermometer denominated in Fahrenheit, Celsius and Kelvin

3 0
2 years ago
Find the value of P(-1.5≤Z≤2)
Vladimir [108]

Answer:

  0.9104

Explanation:

Suitable technology can tell you the probability.

P(-1.5≤Z≤2) ≈ 0.9104

__

A phone app gives the probability as 0.9104426667829628.

7 0
3 years ago
The idling engines of a landing turbojet produce forward thrust when operating in a normal manner, but they can produce reverse
sertanlavr [38]

Answer:

T = 5416.67 N

T = -2083.5 N

T = 0

Explanation:

Forward thrust has positive values and reverse thrust has negative values.

part a

Flight speed u = ( 150 km / h ) / 3.6 = 41.67 km / s

The thrust force represents the horizontal or x-component of momentum equation:

T = flow(m_{exhaust})*(u_{exhaust} - u_{flight} )\\T = (50 kg/s ) * (150 - 41.67)\\\\T = 5416.67 N

Answer: The thrust force T = 5416.67 N

part b

Now the exhaust velocity is now vertical due to reverse thrust application, then it has a zero horizontal component, thus thrust equation is:

T = flow(m_{exhaust})*(u_{exhaust} - u_{flight} )\\T = (50 kg/s ) * (0 - 41.67)\\\\T = -2083.5 N

Answer: The thrust force T = -2083.5 N reverse direction

part c

Now the exhaust velocity and flight velocity is zero, then it has a zero horizontal component, thus thrust is also zero as there is no difference in two velocities in x direction.

Answer: T = 0 N

5 0
3 years ago
A pumping test was made in pervious gravels and sands extending to a depth of 50 ft. ,where a bed of clay was encountered. The n
Vikki [24]

Answer:per minute from the pumping well, a steady state was attained in about 24 hr. The draw-down at a distance of 10 ft. was 5.5 ft. and at 25 ft. was 1.21 ft.

Explanation:

6 0
2 years ago
Other questions:
  • Compare automation and autonomous
    12·1 answer
  • PLZ HURRY IM ON A TIMER
    6·1 answer
  • A hydrogen-filled balloon to be used in high altitude atmosphere studies will eventually be 100 ft in diameter. At 150,000 ft, t
    7·1 answer
  • A series R-L circuit is given. Circuit is connected to an AC voltage generator. a) Derive equations for magnitude and phase of c
    13·1 answer
  • Given the circuit at the right in which the following values are used: R1 = 20 kΩ, R2 = 12 kΩ, C = 10 µ F, and ε = 25 V. You clo
    11·1 answer
  • Is a street the same as a avenue
    10·2 answers
  • Defination of rolling
    13·1 answer
  • A golfer and her caddy see lightning nearby. the golfer is about to take his shot with a metal club, while her caddy is holding
    12·1 answer
  • A solid steel shaft ABCDE turns freely in bearings at points A and E. The shaft is driven by the gear at C, which applies a torq
    14·1 answer
  • CNG is a readily available alternative to _________.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!