Implement a class LoginForm that simulates a login form that you find on many webpages. Supply methodspublic void input(String text)public void click(String button)public boolean loggedIn()The first input is the user name, the second input is the password. The click methodcan be called with arguments "Submit" and "Reset". Once a user has been successfullylogged in, by supplying the user name, password, and clicking on the submit button,the loggedIn method returns true and further input has no effect. When a user tries tolog in with an invalid user name and password, the form is reset.Supply a constructor with the expected user name and password.

Answers

Answer 1

Here is an implementation of the LoginForm class with the required methods and constructor:

```
public class LoginForm {
   private String expectedUsername;
   private String expectedPassword;
   private String enteredUsername;
   private String enteredPassword;
   private boolean isLoggedIn;

   public LoginForm(String expectedUsername, String expectedPassword) {
       this.expectedUsername = expectedUsername;
       this.expectedPassword = expectedPassword;
       this.enteredUsername = "";
       this.enteredPassword = "";
       this.isLoggedIn = false;
   }

   public void input(String text) {
       if (!isLoggedIn) {
           if (enteredUsername.equals("")) {
               enteredUsername = text;
           } else {
               enteredPassword = text;
           }
       }
   }

   public void click(String button) {
       if (!isLoggedIn) {
           if (button.equals("Submit")) {
               if (enteredUsername.equals(expectedUsername) && enteredPassword.equals(expectedPassword)) {
                   isLoggedIn = true;
               } else {
                   enteredUsername = "";
                   enteredPassword = "";
               }
           } else if (button.equals("Reset")) {
               enteredUsername = "";
               enteredPassword = "";
           }
       }
   }

   public boolean loggedIn() {
       return isLoggedIn;
   }
}
```

In this implementation, we use instance variables to keep track of the expected username and password, as well as the entered username and password. We also have a boolean flag to keep track of whether the user is logged in or not.

The `input` method takes a String argument and assigns it to the appropriate field (username or password), but only if the user is not already logged in.

The `click` method takes a String argument that specifies which button was clicked (Submit or Reset). If the user is not already logged in, we check which button was clicked and take appropriate action. If the Submit button was clicked, we check if the entered username and password match the expected values. If they do, we set the isLoggedIn flag to true. If they don't, we reset the form by clearing the entered username and password fields. If the Reset button was clicked, we simply clear the entered username and password fields.

The `loggedIn` method simply returns the value of the isLoggedIn flag.

Learn more about methods here:

https://brainly.com/question/14868839

#SPJ11


Related Questions

What is the benefit of theories? they are easily disproven they are written by famous people they were applying every circumstance they can provide some explanation for signs

Answers

Answer:

A scientific theory is an explanation of an aspect of the natural world and universe that has been repeatedly tested and verified in accordance with the scientific method, using accepted protocols of observation, measurement, and evaluation of results. Where possible, theories are tested under controlled conditions in an experiment. In circumstances not amenable to experimental testing, theories are evaluated through principles of abductive reasoning. Established scientific theories have withstood rigorous scrutiny and embody scientific knowledge.

A scientific theory differs from a scientific fact or scientific law in that a theory explains "why" or "how": a fact is a simple, basic observation, whereas a law is a statement (often a mathematical equation) about a relationship between facts. For example, Newton’s Law of Gravity is a mathematical equation that can be used to predict the attraction between bodies, but it is not a theory to explain how gravity works. Stephen Jay Gould wrote that "...facts and theories are different things, not rungs in a hierarchy of increasing certainty. Facts are the world's data. Theories are structures of ideas that explain and interpret facts.

mark me as brainlist

Compute the convolution y(n)=x (n) *h(n) of the following pairs of signals. x(n) = { 0,5 -2 4 1.5 1} with pointer at n= 2 h(n) = u(n + 1) - u(n - 4) with pointer n= 0.

Answers

The convolution y(n) of x(n) and h(n) is {0, 5, -2, 4.5, 0.5, 0, 0, 0} with pointer at n = 2.

To compute the convolution, we need to flip the h(n) signal and slide it over x(n) while multiplying the corresponding values. The given x(n) has 6 elements, and h(n) has a length of 6 as well.

For n = 0: y(0) = 0 * (0 + 1) = 0

For n = 1: y(1) = 5 * (0 + 1) + 0 * (1 + 1) = 5

For n = 2: y(2) = -2 * (0 + 1) + 5 * (1 + 1) + 0 * (0 + 1) = -2 + 10 = 8

For n = 3: y(3) = 4 * (0 + 1) - 2 * (1 + 1) + 5 * (0 + 1) = 4 - 4 + 5 = 5

For n = 4: y(4) = 1.5 * (0 + 1) + 4 * (1 + 1) - 2 * (0 + 1) = 1.5 + 8 - 2 = 7.5

For n = 5: y(5) = 1 * (0 + 1) + 1.5 * (1 + 1) + 4 * (0 + 1) = 1 + 3 + 4 = 8

For n = 6 to 8: y(n) = 0, as h(n) has no overlap with x(n)

Hence, the convolution y(n) is {0, 5, -2, 4.5, 0.5, 0, 0, 0} with the pointer at n = 2.

learn more about convolution here:

https://brainly.com/question/32097418

#SPJ11

Engineers need to look for non-technological systems, as well as technological problems, to solve problems. true or false

Answers

true


explanation: just makes sense

what happens when the cl is greater than the cl max?

Answers

The airflow over the airfoil gets turbulent when the CL (lift coefficient) is higher than the maximum lift coefficient (CLmax), which results in a stall in lift and a loss of control over the aircraft.

The flow over the airfoil gets turbulent and separates from the surface when the coefficient of lift (CL) exceeds the maximum coefficient of lift (CLmax), which results in an abrupt reduction in lift and an increase in drag. A stall is the name for this occurrence. Beyond the stall angle, increasing the angle of attack results in a loss of lift airflow and an increase in drag force, which might cause a crash. In order to avoid and recover from a stall, pilots must be aware of the stall characteristics of the aircraft they are flying.

learn more about airflow here:

https://brainly.com/question/30229165

#SPJ4

if they will be hot held foods previously prepared and refrigerated should be reheated to

Answers

If previously prepared and refrigerated foods are going to be hot held, they should be reheated before serving to ensure food safety. When it comes to hot holding prepared and refrigerated foods, reheating is essential to maintain food safety standards.

Reheating the food thoroughly helps kill any potential bacteria that might have grown during refrigeration and prevents foodborne illnesses. The reheating process should be done properly to ensure the food reaches a safe internal temperature, usually around 165°F (74°C), throughout. This temperature kills harmful bacteria and ensures that the food is safe to consume. It is important to follow proper reheating procedures, such as using appropriate heating equipment and ensuring even heating throughout the food, to avoid any hot or cold spots where bacteria can survive. By reheating previously prepared and refrigerated foods before hot holding, you can minimize the risk of foodborne illnesses and provide safe and enjoyable meals to your customers.

Learn more about food safety here: brainly.com/question/4226085

#SPJ11

The current standard for recovery only equipment is sae

Answers

Explanation:

I think is SAE standard J2810

the partner who can lose only what he or she has invested in business is the

Answers

Answer:

partner itself

Explanation:

Answer:

limited partner

hope this answer correct :)

What major financial flop led to the end of the Sega Dreamcast and ultimately caused Sega to stop making game consoles altogether?

1: The founder and CEO of Sega was found to be secretly skimming money off of the top of profits, leading to widespread distrust by the public and a sharp decline in sales until they ultimately had to shut down due to making no profit.

2: A small group of employees found a way to drain all of the Sega Corporation funding accounts and flee the country with all of the money, never to be heard from again.

3: A game called Shenmue, that cost more than $70 million to make, meant that everyone who owned a Dreamcast needed to buy two copies of the game just for Sega to make back the money they had spent to develop it-which didn't happen.

4: A game called Katamari Damacy that carried a virus that would infect any console that it was played on forced Sega to spend millions of dollars in refunds and bankrupted the company.​

Answers

Answer:

The major financial flop that led to the end of the Sega Dreamcast and ultimately caused Sega to stop making game consoles altogether is:

3: A game called Shenmue, that cost more than $70 million to make, meant that everyone who owned a Dreamcast needed to buy two copies of the game just for Sega to make back the money they had spent to develop it-which didn't happen.

Explanation:

Shenmue, released on December 29, 1999, was created for Dreamcast by Suzuki.  It was widely described as the most expensive video game ever produced.  It had an estimated production and marketing cost of between US$47 and $70 million, according to the latest available data.

The function of a brake drum or rotor is to act as______
a. A heat extinguisher
b. Heat sink
c. A friction element
d. All of the above
e. None of the above

Answers

The correct answer is option c: a friction element. The function of a brake drum or rotor is to act as a friction element.

Brake drums and rotors play a crucial role in the braking system of vehicles. When you press the brake pedal, the brake pads squeeze against the surface of the drum or rotor, creating friction. This friction converts the kinetic energy of the moving vehicle into thermal energy, or heat.

The main purpose of a brake drum or rotor is to provide a surface against which the brake pads can generate friction. As the brake pads press against the drum or rotor, the resulting friction slows down the rotation of the wheels, eventually bringing the vehicle to a stop.

In addition to acting as a friction element, brake drums and rotors also serve as heat sinks. The generated heat during braking is absorbed by the drum or rotor, and their design helps dissipate this heat into the surrounding air. This prevents the brake system from overheating and ensures optimal braking performance.

Therefore, the correct answer is option c: a friction element. Brake drums and rotors fulfill the critical function of creating friction between the brake pads and the wheels, allowing for effective braking and vehicle control.

Learn more about brake drums

brainly.com/question/14249791

#SPJ11

Hey guys can anyone list chemical engineering advancement that has been discovered within the past 20 years

Answers

Top 10 Emerging Technologies in Chemistry
Nanopesticides. The world population keeps growing. ...
Enantio selective organocatalysis. ...
Solid-state batteries. ...
Flow Chemistry. ...
Porous material for Water Harvesting. ...
Directed evolution of selective enzymes. ...
From plastics to monomers. ...

How did inventors like lee deforest and edwin howard armstrong fund their initial research and development ventures into radio technologies?.

Answers

The creation of a "supersonic heterodyne" radio receiver circuit, later abbreviated to "superheterodyne," was Armstrong's greatest achievement during this time. This circuit, which is still widely used today, increased the sensitivity and selectivity of radio receivers.

When was the radio invented by Edwin Armstrong?

1933

The superheterodyne circuit, which he developed in 1918, is a very selective method of capturing, converting, and significantly amplification relatively weak, high frequency electromagnetic waves. His greatest accomplishment, wide-band frequency modulation, or FM radio, was created in 1933.

Following this achievement, the Patent Office approved de Forest's two patents for the ultra-audion and the regenerative circuit. He subsequently filed a lawsuit against Armstrong for violating his ultra-audion patents. The Pennsylvanian court ruled in de Forest's favor.

To learn more about radio refer to:

https://brainly.com/question/69373

#SPJ4

Which of the following defines an array local variable consisting of 50 signed words?
A. LOCAL wArray[50]:SWORD
B. LOCAL wArray:SWORD[50]
C. LOCAL SWORD[50]:wArray
D LOCAL SWORD:wArray[50]

Answers

When declaring an array local variable, it is important to specify the variable name, data type, and array size in the correct order. In this case, option B follows the correct syntax and defines an array local variable consisting of 50 signed words.

The correct answer is B. This statement defines an array local variable consisting of 50 signed words. The syntax for declaring an array local variable is as follows: LOCAL :[]. In this case, the variable name is "wArray," the data type is "SWORD" (a signed word), and the array size is 50. Therefore, option B correctly defines an array local variable consisting of 50 signed words.

To know more about array visit:

brainly.com/question/13261246

#SPJ11

If the parent isotope has a half-life that equals 1.75 million years, how old is the rock?

Choose one:
A. 0.86 Ma
B. 5.25 Ma
C. 3.50 Ma
D. 3.06 Ma
E. 1.75 Ma

Answers

If the parent isotope has a half-life that equals 1.75 million years, The rocks is 1.75 Ma. old

What is meant by isotope ?

Atoms that have different numbers of neutrons but the same number of protons are called isotopes. They differ in mass, which affects their physical characteristics even if they have nearly identical chemical properties.

The name "isotope" refers to the fact that different isotopes of a single element occupy the same location on the periodic table. The term "isotope" is derived from the Greek words isos ("equal") and topos ("place"), which together indicate "the same place."

Atoms with varied proton numbers but the same neutron number are referred to as isotones.

Two atoms are different elements if they have differing quantities of protons. However, two atoms are said to be isotopes if they contain the same number of protons but differing numbers of neutrons. The words atomic number and mass number are used to describe nuclides (isotopes).

To learn more about isotope refer to :

brainly.com/question/14220416

#SPJ4

Questions: 1. How can this motherboard support 8 GB of RAM with only fout 2. CHAPT Memory What memory features, if any, are used? (Select a ply) I parity non-parity IECCI registered fully bulleredbultered I SVD What memory modules are needed the customer was 3 of dualche RAM ties and how many of each capacity are required) 3. What memory slots will be used to install the memory, based on the information provided 5. Using the Internet, a computer parts magazine, or a list of memory modules, determine the cast per numbers and quantities of memory modules you would buy. List them, along with the location when you obtained the information. 6. Will it matter if the motherboard has tin contacts in the memory slots? Why or why not? 7. Can DDR memory modules be used with this motherboard? How can you tell? 8. If this motherboard already has 1 GB of RAM installed in the DIMMO_ChanA slot and the customer would like to upgrade to 2 GB of dual-channel RAM, what memory modules are needed? (What ca pacities and how many of each capacity are required) . What suggestions, if any, would you make to the customer before researching prices? 0. What memory slots will be used to install the memory, based on the information provided? Using the Internet, a computer parts magazine, or a list of memory modules, determine the exact part numbers and quantities of memory modules that you would buy. List them, along with the location where you obtained the information. To be able to determine the correct amount and type of memory to imalna Refer to Figure 6.24 and Table 6.11 to answer the questions. This motherboard The desktop board supports either single-ordual-channel memory configuration. The board has four 240-pin DDR2 SDRAM DIMM connectors with gold-plated con provides support for unbuffered, non-registered single or double-sided Most Install a matched pair of DIMMs equal in speed and size in Follow the directions for two DIMMs and add another matched Install a matched pair of DIMMs equal in speed and size in and DIMM1 of Channel A. Install a DIMM equal in speed and total size of the DIMMs installed in Channel A in either DOM All other memory configurations result in single-channel menu Exercise 6.2 Configuring Memory on Paper Objective: Parts: Internet access or access to magazines or ads that show memory prices Procedure: the following memory configurations • Up to 2 GB utilizing 256 MB technology • Up to 4 GB utilizing 512 MB or 1 GB technology • Up to 8GB utilizing 1 GB technology DDR2 533/667/800 MHz memory, and (SPD) memory only. Motherboard with four memory slots DIMMO_Chana DIMM1_Chana DIMMO ChanB DIMM1_ChanB FIGURE 6.24 Motherboard with four memory slots and two channels TABLE 6.11 Motherboard single-/dual-channel guidelines Installed memory Guidelines 2 DIMMs dual-channel of both Channel A and Channel B. 4 DIMMs dual-channel of DIMMs in DIMM1 of both Channels A and B. 3 DIMMs dual-channel DIMM1 of Channel B. Single-channel operation.

Answers

1. The memory support capacity of the motherboard can be determined by the capacity of each individual RAM slot on the motherboard. In this case, the motherboard has four 240-pin DDR2 SDRAM DIMM connectors, which can accommodate up to 8GB of RAM. This means that each RAM slot can support up to 2GB of memory.

2. The memory features used in this motherboard are unbuffered, non-registered single or double-sided DDR2 533/667/800 MHz memory, and (SPD) memory only. The motherboard supports parity, non-parity, ECC, registered, and fully buffered memory.

3. The customer needs 3 dual-channel RAM kits, and each kit should consist of a matched pair of DIMMs equal in speed and size. Therefore, the customer needs a total of 6 DIMMs.

4. Based on the information provided, the memory slots that will be used to install the memory are DIMM0 and DIMM1 of Channel A, and DIMM0 and DIMM1 of Channel B.

5. The cost, part numbers, and quantities of the memory modules depend on the customer's requirements and budget. The information can be obtained from computer parts magazines or online stores that sell memory modules.

6. Tin contacts in the memory slots can cause connectivity issues and affect the performance of the memory modules. Therefore, it is important to ensure that the memory modules have proper connectivity with the motherboard.

7. Yes, DDR memory modules can be used with this motherboard. The motherboard supports DDR2 SDRAM memory, which is backward compatible with DDR SDRAM memory.

To know more about determined visit :

https://brainly.com/question/29898039

#SPJ11

During peak systole, the heart delivers to the aorta a blood flow that has a velocity of 90 cm/sec and a pressure of 120 mmHg. The aortic root diameter is 27mm. Determine the force (in Newtons) acting on the aortic arch if the conditions at the outlet
are a pressure of 115 mmHg and d2 = 22mm. (Neglect body forces, assume uniform and
steady flow)
V1 = 90 cm/s
P1g = 120 mmHg
P2g = 115 mmHg
Density blood = 1.057 g/cm3

During peak systole, the heart delivers to the aorta a blood flow that has a velocity of 90 cm/sec and

Answers

The force acting on the aortic arch is -1907.26 N as per the given data.

What is Bernoulli's equation?

The relationship between pressure, kinetic energy, and gravitational potential energy of a fluid in a container is known as Bernoulli's equation.

To determine the force acting on the aortic arch, we need to convert the units of velocity, pressure, and diameter to SI units (m/s, Pa, and m respectively).

Then, we can use the principle of continuity of flow and the equation of energy conservation (Bernoulli's equation) to calculate the force.

First, we'll convert the velocity, pressure, and diameter:

V1 = 90 cm/s = 0.9 m/s

P1g = 120 mmHg = 120 x 133.322 Pa = 16039.64 Pa

P2g = 115 mmHg = 115 x 133.322 Pa = 15345.83 Pa

d1 = 27 mm = 0.027 m

d2 = 22 mm = 0.022 m

Next, we'll use the principle of continuity of flow to calculate the velocity at the outlet (V2) and cross-sectional area (A2):

A1 x V1 = A2 x V2

\(V2 = V1 X (A1 / A2) = 0.9 x (\pi X (0.027^2) / 4) / (\pi X (0.022^2) / 4) = 1.33 m/s\)

Finally, we'll use Bernoulli's equation to calculate the pressure at the outlet (P2) and then calculate the force acting on the aortic arch:

\(P1g + (1/2) X \rho X V_1^2 = P2g + (1/2) \rho X V_2^2\)

\(P2 = P1g + (1/2) X \rho X V_1^2 - (1/2) X \rho X V_2^2 = 16039.64 + (1/2) X 1.057 X 0.9^2 - (1/2) X 1.057 X 1.33^2 = 14159.56 Pa\)

\(F = (P_2 - P_1g) X A1 = (14159.56 - 16039.64) X \pi X (0.027^2) / 4 = -1907.26 N\)

Thus, the force acting on the aortic arch is -1907.26 N. The negative sign indicates that the force is acting in the opposite direction to the flow, which is normal in fluid mechanics.

For more details regarding Bernoulli's equation, visit:

https://brainly.com/question/30504672

#SPJ9

A three phase signalized intersection has a sum of critical flow ratios of 0.6 and a lost time of 4 seconds per phase. If the critical intersection v/c ratio is 0.9, what optimum cycle length should be used for design purposes

Answers

The critical flow ratio (C) of an intersection is the percentage of saturation flow rate or discharge rate of a lane or group of lanes that results in the highest efficiency.

Saturation flow rate is the highest number of vehicles that can pass through an intersection in a given amount of time, typically expressed in vehicles per hour. When a road is fully loaded and congested, the number of vehicles that can move through it is known as the saturation flow rate.

The lost time is the time used by drivers to respond to the green signal, come to a stop at the intersection, and begin moving in the new direction once the signal changes. It is the time period between the end of the green phase and the start of the opposing traffic's green phase, when there are no vehicles crossing or turning left.

To know more about vehicles visit:

https://brainly.com/question/13390217  

#SPJ11

Where exactly is the fusible plug located?

Answers

The fusible plug is located in the crown sheet of a steam boiler.

The crown sheet is the top part of the firebox or combustion chamber of a boiler, and it is directly exposed to the heat and flames generated by the burning fuel. The fusible plug is inserted into a hole in the crown sheet and is designed to melt or rupture when the temperature of the crown sheet exceeds a certain threshold. This is a safety mechanism that helps prevent the boiler from exploding in the event of overheating or low water levels.

You can learn more about fusible plug at

https://brainly.com/question/31560038

#SPJ11

giúp em làm câu này với ạ em cám ơn em cần gấp lắm

gip em lm cu ny vi em cm n em cn gp lm

Answers

Answer:

the problem I see real people here to have that much respect that is not going in that direction or the best.

Consider a 400 mm × 400 mm window in an aircraft. For a temperature difference of 90°C from the inner to the outer surface of the window, calculate the heat loss rate through L = 12-mm-thick polycarbonate, soda lime glass, and aerogel windows, respectively. The thermal conductivities of the aerogel and polycarbonate are kag = 0.014 W/m ⋅ K and kpc = 0.21 W/m ⋅ K, respectively.
Evaluate the thermal conductivity of the soda lime glass at 300 K. If the aircraft has 130 windows and the cost to heat the cabin air is $1/kW ⋅ h, compare the costs associated with the heat loss through the windows for an 8-hour intercontinental fight.

Answers

Answer:

HEAT LOST

polycarbonate = 252 W

soda lime glass = 1680 W

aerogel = 16.8 W

COST associated with heat loss

polycarbonate = $ 262.08

soda lime glass =  $ 1,747.2

aerogel =  $ 17.472

The cost associated with heat loss is maximum in Soda Lime and minimum in Aerogel

Explanation:

Given that;

surface area for each window = 0.4m * 0.4m = 0.16m^2

DeltaT = 90°C, L = 12mm = 0.012m

thermal conductivity of soda line can be gotten from tables in FUNDAMENTALS OF HEAT AND MASS TRANSFER

so at 300K

KsL = 1.4 W/mK

Kag = 0.014 W/mK

Kpc = 0.21 W/mK

Now HEAT LOSS

for polycarbonate;

Qpc  = -KA dt/dx

NOTE (  heat flows from high temperature region to low temperature regions. so the second temperature would be smaller compared to the initial causing a negative in the change in temperature)

so Qag  = (0.21 * 0.16 * 90) / 0.012

= 252 W

for soda lime glass;

Qsl  = (1.4 * 0.16 * 90) / 0.012

= 1680 W

for aerogel

Qaq  = (0.014 * 0.16 * 90) / 0.012

= 16.8 W

Now for COST associated with heat lost

for polycarbonate;

cost = Qpc * 130 * 8 * 1/1000

= 252 * 130 * 8 * 1/1000

= $ 262.08

for soda lime glass;

cost = 1680 * 130 * 8 * 1/1000

= $ 1,747.2

for aerogel

cost = 16.8 * 130 * 8 * 1/1000

= $ 17.472

Therefore the cost associated with heat loss is maximum in Soda Lime and minimum in Aerogel

How can you calculate the total capacitance of a series combination of capacitors?.

Answers

The total capacitance of a series combination of capacitors can be calculated by using this formula: 1/(1/C₁ + 1/C₂ + 1/C₃ + 1/C₄).

The types of circuit.

Basically, the components of an electrical circuit can be connected or arranged in two forms and these are;

Series circuitParallel circuit

How to calculate the total capacitance of a series combination of capacitors?

Mathematically, the total (equivalent) capacitance (\(C_{eq}\)) of an electrical circuit containing capacitors which are connected in series can be calculated by using this formula:

1/Ceq = 1/C₁ + 1/C₂ + 1/C₃ + 1/C₄

Ceq = 1/(1/C₁ + 1/C₂ + 1/C₃ + 1/C₄).

Read more total capacitance here: https://brainly.com/question/16668646

#SPJ1

please help with my economics problem

please help with my economics problem

Answers

Answer:

You first get a new job, and make a new company and then by amazon to traumatize Jeff Bezos after his divorce

Explanation:

A 20cm-long rod with a diameter of 0.250 cm is loaded with a 5000 N weight. If the diameter of the bar is 0.490 at this load, determine: I. the engineering stress and strain, and [2] II. the true stress and strain

Answers

If the diameter of the bar is 0.490 at this load, determine I. the engineering stress and strain, and [2] II. the true stress and strain is 1561. 84 MPa.

What is strain?

Strain is a unitless degree of ways a great deal an item receives larger or smaller from an implemented load. Normal stress happens while the elongation of an item is in reaction to an everyday pressure (i.e. perpendicular to a surface), and is denoted via way of means of the Greek letter epsilon.

L = 20 cm d x 1 = 0.21 cmdx 2 = 0.25 cmF=5500 a) σ= F/A1= 5000/(π/4x(0.0025)^2)= 1018.5916 MPa lateral stress= Ad/d1= (0.0021-0.0025)/0.0025 = - 0.1 longitudinal stress (ɛ_l)= -lateral stress/v = -(-0.16)/0.3(assuming a poisson's ration of 0.3) ε_l=0.16/0.3 = 0.5333b) σ_true= σ(1+ ɛ_I)= 1018.5916(1+0.5333 = 1561.84 MPa.

Read more about the diameter :

https://brainly.com/question/358744

#SPJ1

Use the following clues to help fill in the chart on the next page. Put an X in the spaces that are INCORRECT and Highlight the
CORRECT
1 The wizard with the lavender wand is in Ravenel or Sparrowan, and earned 50 or 60 points
2. Gorgonscale earned 10 points less than Sparrowman
3 Lynn scored 20 points less than the wizard with the incense wand.
4. Timmy scored 70 or 80 points. He is in Gorgonscale or Hydraden
5. Among Bennie and the wizard from Sparrowan, one earned 70 points and the other has the lavender wand.
6. The mandragore wand belongs to Edward or to the House of Hydraden
7 Ravenel didn't earn 60 points and Edward is not among it's wizards
8. Bennie scored 10 points more than Edward
9. The wizard with the mandragore wand didn't earn 70 points.

Answers

The wizard with the lavender wand is in Ravenel or Sparrowan, and earned 50 or 60 points

An in-line four cylinder, four-stroke cycle, SI engine, operates at 3000 RPM. Calculate: (a) How often ignition occurs, in degrees of engine rotation. (b) How many power strokes per revolution. (c) How many power strokes per second.

Answers

There are 100 power strokes per second in this engine.
a) In a four-stroke cycle engine, ignition occurs once every two revolutions. Since there are 360 degrees in one revolution, ignition occurs every 720 degrees of engine rotation.
(b) In an in-line four-cylinder engine, there are four power strokes occurring, one in each cylinder. However, in a four-stroke cycle engine, each cylinder only has a power stroke once every two revolutions. So, there are 2 power strokes per revolution (one power stroke per two cylinders).
(c) To calculate the number of power strokes per second, first find the number of revolutions per second. Since the engine operates at 3000 RPM (revolutions per minute), divide by 60 to get revolutions per second:
3000 RPM ÷ 60 = 50 revolutions per second
Now, multiply the revolutions per second by the number of power strokes per revolution:
50 revolutions per second × 2 power strokes per revolution = 100 power strokes per second.
So, there are 100 power strokes per second in this engine.

To know more about number visit:

https://brainly.com/question/3589540

#SPJ11

What is the measurement

What is the measurement

Answers

Bahaiajkabaiiakqbqhja

please answer this question

please answer this question

Answers

The gas phase reaction of the C6H6(g) + Cl2(g) = C6H5Cl(g) + HCl(g)  will get the chlorobenzene and hydrogen chloride.

What is chlorobenzene?An aromatic organic compound with the chemical formula C₆H₅Cl is chlorobenzene. This volatile, colorless liquid is a common solvent and a crucial step in the production of other compounds.In the past, phenol and DDT were produced using chlorobenzene. It is still utilised today to create insecticides and other chemicals that either prevent or eliminate undesired pests. Car parts can also be greased with chlorobenzene. When chlorobenzene is released into the atmosphere, other chemicals and sunshine gradually break it down.Chlorobenzene is a common volatile organic compound (VOC) that is employed in many industrial contexts as a solvent, degreaser, and chemical intermediary.

Given data :

C6H6(g) + Cl2(g) = C6H5Cl(g) + HCl(g)

Change in Free Energy: ΔG(20C) = -125.7kJ (negative, so the reaction runs)

Change in Enthalpy: ΔH(20C) = -119.9kJ (negative, so the reaction is exothermic)

Learn more about chlorobenzene refer to ;

https://brainly.com/question/30266632

#SPJ1

Give me source code of Simple openGL project. ( without 3D or Animation) simple just.

Answers

Answer:

Use GitHub or stackoverflow for this answer

Explanation:

It helps with programming a lot

A horizontal force P is applied to a 130 kN box resting on a 33 incline. The line of action of P passes through the center of gravity of the box. The box is 5m wide x 5m tall, and the coefficient of static friction between the box and the surface is u=0.15. Determine the smallest magnitude of the force P that will cause the box to slip or tip first. Specify what will happen first, slipping or tipping.

A horizontal force P is applied to a 130 kN box resting on a 33 incline. The line of action of P passes

Answers

Answer:

SECTION LEARNING OBJECTIVES

By the end of this section, you will be able to do the following:

Distinguish between static friction and kinetic friction

Solve problems involving inclined planes

Section Key Terms

kinetic friction static friction

Static Friction and Kinetic Friction

Recall from the previous chapter that friction is a force that opposes motion, and is around us all the time. Friction allows us to move, which you have discovered if you have ever tried to walk on ice.

There are different types of friction—kinetic and static. Kinetic friction acts on an object in motion, while static friction acts on an object or system at rest. The maximum static friction is usually greater than the kinetic friction between the objects.

Imagine, for example, trying to slide a heavy crate across a concrete floor. You may push harder and harder on the crate and not move it at all. This means that the static friction responds to what you do—it increases to be equal to and in the opposite direction of your push. But if you finally push hard enough, the crate seems to slip suddenly and starts to move. Once in motion, it is easier to keep it in motion than it was to get it started because the kinetic friction force is less than the static friction force. If you were to add mass to the crate, (for example, by placing a box on top of it) you would need to push even harder to get it started and also to keep it moving. If, on the other hand, you oiled the concrete you would find it easier to get the crate started and keep it going.

Figure 5.33 shows how friction occurs at the interface between two objects. Magnifying these surfaces shows that they are rough on the microscopic level. So when you push to get an object moving (in this case, a crate), you must raise the object until it can skip along with just the tips of the surface hitting, break off the points, or do both. The harder the surfaces are pushed together (such as if another box is placed on the crate), the more force is needed to move them.

A circuit has two resistors in parallel, each resistor is 6 ohms. This circuit is connected to a single resistor of 6 ohms, to form a series-parallel circuit. What is the total resistance of the circuit?

Answers

The tatal resistance of the series-parallel circuit with two resistor connected in parallel which combination is connected in series to a single resistor is 9 ohms.

What is a resistance?

This can be defined as the opposition to current flow in a circuit.

To calculate the total resistance, first we need to find the total resistance of the parallel resistor.

For parallel,

R' = (R₁R₂)/(R₁+R₂)............Equation 1

Where:

R' = Total resistance of the parallel resistor.

From the question,

Given:

R₁ = 6 ohmsR₂ = 6 ohms

Substitute these values into equation 1

R' = (6×6)(6+6)R' = 3 ohms.

Finally, we combine the effective parallel resistance in series to the single resistance to the the total resistance of the circuit.

Rt = R'+R₃.................. Equation 2

Where:

Rt = Total resistance of the circuit.

From the question,

R' = 3 ohmsR₃ = 6 ohms

Substitute these values into equation 2

Rt = 3+6Rt = 9 ohms.

Hence, the total resistance of the circuit is 9 ohms.

Learn more about resistance here: https://brainly.com/question/28135236

#SPJ1

23. You are involved in site investigation for large-scale Concrete dam construction in a certain area. The site is characterized by rocks of different types. The main rock types at the dam site are limestones and dolomites and these rocks are highly jointed at the surface. The area is characterized by hot and humid climate and with heavy precipitation during summer. The site investigation included surface mapping, in- situ field-testing, drilling, and laboratory testing. The in-situ field test (plate load test) has a surface area 1m*1m while the cylindrical laboratory sample has a diameter of 54mm. a. The value of the strength from field and laboratory testing is different. Which value do you expect to be larger? Why? b. Which value (from field or from laboratory) do you recommend to be used in calculations for the dam foundation design? Why?​

Answers

A). It is generally expected that the laboratory test results will have a higher strength value compared to the field test results. This is because laboratory tests are conducted under controlled conditions with proper equipment and procedures, while field tests are subject to variability and influences from the site conditions such as weather, soil type, and compaction.

B) It is generally expected that the laboratory test results will have a higher strength value compared to the field test results. This is because laboratory tests are conducted under controlled conditions with proper equipment and procedures, while field tests are subject to variability and influences from the site conditions such as weather, soil type, and compaction.

What is the rationale for the above response?

The rationale for the above response is that laboratory tests provide a more accurate representation of rock strength compared to field tests due to the controlled conditions and proper equipment and procedures used in the laboratory.

Thus, laboratory test results are recommended for the foundation design of a dam.

Learn more about controlled conditions:

https://brainly.com/question/28275209

#SPJ1

From the bore-hole data (drilled to a depth of 50 m below the surface at the dam foundation) the Total Core Recovery (TCR) was found to be 65%. From this information what type of engineering problem do you expect for the construction of a concrete dam in this area?
Other Questions
Which of the following could be a rational number?Group of answer choicesthe sum of two irrational numbersthe sum of a rational number and an irrational numberthe product of a rational number and an irrational numberthe product of two irrational numbers a client asks the nurse about the purpose of beginning chemotherapy (ct) because the tumor is still very small. which information supports the explanation that the nurse should provide? Is a straight line an angle? Please respond ASAP! Thanks! I need help whats 9+10??? Please it an emergency and what yalls discord with number please!!! what is the beta of a portfolio which consists of the following? enter you answer accurate to two decimal places. security $ invested beta a $2,000 1.38 b $5,000 0.47 c $9,000 1.70 d $4,000 1.08 QUESTION 9 The attribute AGE is calculated from DATE_OF_BIRTH. The attribute DATE OF BIRTH is O A. Stored Attribute O B. Derived Attribute O C. Multivalued Attribute O D. Composite Attribute QUESTION 10 Which of the following is Not True regarding Weak Entity? O A. None of the given O B. Primary key derived from parent entity O C. Identifying relationship O D. Has an Existence dependency Who was the born Child in the Religion Colonies on Chapter 3? 5th grade math. correct answer will be marked brainliest . In group theory, you met the six-element abelian group Z2 Z3 = {(0,0),(0, 1), (0, 2), (1, 0), (1, 1), (1, 2)}with group operation given by component wise addition (mod 2 in the first component and mod 3 in the second component). In this question you are going to investigate ways in which this could be equipped with a multiplication making it into a ring.(a) Using the fact that (1, 0) + (1, 0) = (0, 0), show that (1, 0) (1, 0) is either(1, 0) or (0, 0).(b) What does the fact that (0, 1) +(0, 1) +(0, 1) = (0, 0) tell you about the possible values of (0, 1) (0, 1)?(c) What are the possible values of (1, 0) (0, 1)? (d) Does there exist a field with 6 elements? Which of the following are challenges facing direct marketers in global markets today?1. Countries with less reliable and secure mail systems.2. Countries with mandatory "opt-in" requirements.3. Lack of credit and credit cards in different parts of the world. H\&R Block is a tax preparation company. Based on the complexity of clients' tax situation they classify the clients into three groups. The data from previous years shows that on average this company has the following demand mix: Group 1(30% of cases), Group 2 (15\% of cases), Group 3 ( 55% of cases). In order to prepare the income tax statements, H\&R Block needs to go through several activities, and the processing time of each activity varies for different groups. The following table summarizes this information (all numbers are expresses in minutes per case): The activities are performed by four persons: - Robert, who is in charge of "Filing" - Daniela and Mary, who are in charge of "Initial meeting and Review". These two persons are cross-trained and work at the same speed. - Sam, who is in charge of "Preparation" Suppose that all four persons work eight hours per day and 25 days a month. Suppose that there are 50 cases (in total in all three groups) each month. a) What is the implied utilization of Robert? 13.54% b) What is the implied utilization of Mary? 7.45% c) What is the implied utilization of Sam? 60.83% d) Which resource is the bottleneck? Explain your answer your landscaping company can lease a truck for $8,800 a year (paid at year-end) for 5 years. it can instead buy the truck for $38,000. the truck will be valueless after 5 years. the interest rate your company can earn on its funds is 6%. what is the present value of the cost of leasing? a juvenile court could not hear a case involving a contract dispute because it lacks ____ jurisdiction.a.in personamb.in remc.quasi in remd.subject matte goes beyond the scope statement of the project and states in explicit terms the norms and values of the team is called? llusA block is on a surface with0.325. It takes 4.11 N tobreak it free from static friction.How much normal force actson the block?(Unit = N)Enter Find the equation of the line parallel to y=3x-2 that passes through the point (4,8) in slope-interceptform. One advantage of using dialogue in a narrative essay is to Please match the terms to the statements that most accurately describe them to the test your understanding of inoculation, media, and culture1. process of adding a microbe to a growth material2. the material which provides the nutrients for growth3. to cultivate (verb) or observable growth (noun) McGrath states that, while there are parallels to other ancient near Eastern literature, the creation account of the Old Testament shows some significant points of difference. What best represents the most important difference between the Old Testament and ancient near East literature? Discuss the similarities and differences between these biomolecules: - Amino acids - Lipids - Carbohydrates - Nucleotides