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
If you are interested only in the temperature range of 20° to 40°C and the ADC has a 0 to 3V input range, design a signal condit
mario62 [17]

Explanation:

Temperature range → 0 to 80'c

respective voltage output → 0.2v to 0.5v

required temperature range 20'c to 40'c

Where T = 20'c respective voltage

\begin{aligned}v_{20} &=0.2+\frac{0.5-0.8}{80} \times 20 \\&=0.2+\frac{0.3}{80} \times 20 \\V_{20} &=0.275 v\end{aligned}

\begin{aligned}\text { when } T=40^{\circ} C & \text { . } \\v_{40} &=0.2+\frac{0.5-0.2}{80} \times 40 \\&=0.35 V\end{aligned}

Therefore, Sensor output changes from 0.275v to 0.35volts for the ADC the required i/p should cover the dynamic range of ADC (ie - 0v to 3v)

so we have to design a circuit which transfers input voltage 0.275volts - 0.35v to 0 - 3v

Therefore, the formula for the circuit will be

\begin{array}{l}v_{0}=\left(v_{i n}-0.275\right) G \\\sigma=\ldots \frac{3-0}{0.35-0.275}=3 / 0.075=40 \\v_{0}=\left(v_{i n}-0.275\right) 40\end{array}

The simplest circuit will be a op-amp

NOTE: Refer the figure attached

Vs is sensor output

Vr is the reference volt, Vr = 0.275v

\begin{aligned}v_{0}=& v_{s}-v_{v}\left(1+\frac{R_{2}}{R_{1}}\right) \\\Rightarrow & \frac{1+\frac{R_{2}}{R_{1}}}{2}=40 \\& \frac{R_{2}}{R_{1}}=39 \quad \Rightarrow\end{aligned}

choose R2, R1 such that it will maintain required  ratio

The output Vo can be connected to voltage buffer if you required better isolation.

3 0
3 years ago
Teresa is emotionally volatile, particularly with friends and boyfriends. She is extremely dramatic about even the smallest disa
Ilia_Sergeevich [38]

Answer: Borderline personality Disorder.

Explanation: This is a type of mental disorder which could affects mood, behavior and relationships.

Its symptoms includes unstable emotions, sense of insecurity, worthlessness, and impulsivity.

This condition can not be cured, but treatments such as therapies, medication (in some cases) could help.

4 0
4 years ago
A motor is mounted on a platform that is observed to vibrate excessively at an operating speed of 6000 rpm producing a 250-N for
vichka [17]

Answer:

The amplitude of the absorbed mass can be found

for ka:

X_{a} =0.002m=\frac{F_{0} }{K_{a} } =\frac{250}{K_{a} } =125000N/m

now

w^2=\frac{K_{a} }{m_{a} } \\m_{a} =\frac{K_{a} }{w^2} =\frac{125000}{[6000*2\pi /60]^2} =0.317kg

4 0
3 years ago
A 600 MW power plant has an efficiency of 36 percent with 15
ololo11 [35]

Answer:

401.3 kg/s

Explanation:

The power plant has an efficiency of 36%. This means 64% of the heat form the source (q1) will become waste heat. Of the waste heat, 85% will be taken away by water (qw).

qw = 0.85 * q2

q2 = 0.64 * q1

p = 0.36 * q1

q1 = p /0.36

q2 = 0.64/0.36 * p

qw = 0.85 *0.64/0.36 * p

qw = 0.85 *0.64/0.36 * 600 = 907 MW

In evaporation water becomes vapor absorbing heat without going to the boiling point (similar to how sweating takes heat from the human body)

The latent heat for the vaporization of water is:

SLH = 2.26 MJ/kg

So, to dissipate 907 MW

G = qw * SLH = 907 / 2.26 = 401.3 kg/s

8 0
3 years ago
Read 2 more answers
(d) Arches NP is known for its spectacular arches that develop in the jointed areas of the park. Placemark Problem 2d flies you
Whitepunk [10]

Answer:

☐ NE-SW

Explanation:

Based on the description, the rock direction is North East - South West (NE-SW). Rocks generally can expand or compress depending on the type and magnitude of stress applied on the rocks. However, if the applied stress is sufficiently high, cracks and fractures will be created on the rock and it can ultimately lead to the formation of particles.

8 0
3 years ago
Other questions:
  • Are you able to text without looking at your phone?
    10·1 answer
  • A 3-phase, 50 Hz, 110 KV overhead line has conductors placed in a horizontal plane 3 m apart. Conductor diameter is 2.5 cm. If t
    6·1 answer
  • Use the method of cylindrical shells to find the volume generated by rotating the region bounded by the given curves about the y
    7·1 answer
  • An open vat in a food processing plant contains 500 L of water at 20°C and atmospheric pressure. If the water is heated to 80°C,
    9·1 answer
  • 1. Using the formula above, complete this task.
    9·1 answer
  • Which is not required when working in a manufacturing facility?
    10·1 answer
  • A rigid insulated tank is divided into 2 equal compartments by a thin rigid partition. One of the compartments contains air, ass
    5·1 answer
  • The van der Waals equation is a modification of the ideal gas equation. What two factors does this equation account for? A. (1)
    6·1 answer
  • What happens to the electrolyte, during discharging?
    9·1 answer
  • Can you help me with this task/homework.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!