Questions
Your wastewater facility releases ~ 82,000 gallons per day and has a permit to release magnesium...

Your wastewater facility releases ~ 82,000 gallons per day and has a permit to release magnesium at a total load of 2700 kg/yr (6.0 kg/day maximum). The facility runs 5 days a week and 11 months per year. Random spot checks of your effluent reveal the following:

Based on the available data, how many days do you estimate you are in and out of attainment with your permit (extrapolate to cover the full 11-month operating period of the facility)? Will you exceed your permitted yearly load? Include calculations, plots, and a summary table to support your answer (also, for full credit).

Date

Conc. magnesium (mg/L)

12-Mar

29 980

17-Mar

15 005

22-Mar

2 268

27-Mar

19 502

11-Apr

12 067

16-Apr

44 047

22-Apr

1 320

29-Apr

13 481

10-May

6 925

17-May

7 856

20-May

10 863

30-May

21 233

4-Jun

13 726

11-Jun

91 340

17-Jun

8 112

23-Jun

37 301

28-Jun

42 649

1-Jul

9 785

5-Jul

36 198

9-Jul

17 721

20-Jul

29 564

6-Aug

63 866

12-Aug

57 050

1-Sep

3 455

10-Sep

51 532

In: Chemistry

In JAVA Implement the moveMinToFront method in IntSinglyLinkedList. The moveMinToFront method looks through the list to...

In JAVA Implement the moveMinToFront method in IntSinglyLinkedList. The moveMinToFront method looks through the list to find the element with the minimum value. It moves that element to the front of the list.

Before abstract view: [7, 3, 2]

After Abstract view: [2,7,3]

Before Abstract view: [4,1,7]

After Abstract view: [1,4,7]

public void moveMinToFront() {

}

Test:

package net.datastructures;

import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

import java.util.Random;

public class IntSinglyLinkedListTest {
    @Test
    public void moveMinToFrontTestEmpty() {
        IntSinglyLinkedList s = new IntSinglyLinkedList();
        s.moveMinToFront();
        assertTrue(s.isEmpty());
    }

    @Test
    public void moveMinToFrontTest1() {
        IntSinglyLinkedList s = new IntSinglyLinkedList();
        s.addLast(10);
        s.addLast(20);
        s.addLast(30);
        s.addLast(40);
        s.addLast(50);
        s.moveMinToFront();
        assertEquals(10, (int)s.first());
        assertEquals(5, (int)s.size());
        assertEquals(50, (int)s.last());
    }

    @Test
    public void moveMinToFrontTest2() {
        IntSinglyLinkedList s = new IntSinglyLinkedList();
        s.addLast(20);
        s.addLast(15);
        s.addLast(30);
        s.addLast(40);
        s.addLast(50);
        s.addLast(60);
        s.addLast(70);
        s.addLast(80);
        s.moveMinToFront();
        assertEquals(15, (int)s.first());
        assertEquals(8, (int)s.size());
        assertEquals(80, (int)s.last());
    }

    @Test
    public void moveMinToFrontTest3() {
        IntSinglyLinkedList s = new IntSinglyLinkedList();
        s.addFirst(10);
        s.addFirst(20);
        s.addFirst(30);
        s.addFirst(40);
        s.addFirst(50);
        s.moveMinToFront();
        assertEquals(10, (int)s.first());
        assertEquals(5, (int)s.size());
        assertEquals(20, (int)s.last());
    }

    @Test
    public void moveMinToFrontTest4() {
        IntSinglyLinkedList s = new IntSinglyLinkedList();
        s.addFirst(20);
        s.addFirst(15);
        s.addFirst(30);
        s.addFirst(40);
        s.addFirst(50);
        s.addFirst(60);
        s.addFirst(70);
        s.addFirst(80);
        s.moveMinToFront();
        assertEquals(15, (int)s.first());
        assertEquals(8, (int)s.size());
        assertEquals(20, (int)s.last());
    }

    @Test
    public void moveMinToFrontTest5() {
        IntSinglyLinkedList s = new IntSinglyLinkedList();
        Random r = new Random(111);
        int min = Integer.MAX_VALUE;
        int last = Integer.MAX_VALUE;
        final int lengthOfList = 100;
        for (int i=0; i<lengthOfList; i++) {
            int x = r.nextInt(2000);
            min = Math.min(x, min);
            s.addLast(x);
            last = x;
        }
        s.moveMinToFront();
        assertEquals(min, (int)s.first());
        assertEquals(lengthOfList, (int)s.size());
        assertEquals(last, (int)s.last());
    }
}

In: Computer Science

1. What are the three main multiplexing techniques used for bandwidth utilization? (Minimum 50 words) 2....

1. What are the three main multiplexing techniques used for bandwidth utilization? (Minimum 50 words)

2. Which of the three multiplexing techniques is (are) used to combine analog signals? Which of the three multiplexing techniques is (are) used to combine digital signals? (Minimum 50 words)

3. What are the two major categories of transmission media, explain (Minimum 50 words).

4. What is the purpose of cladding in an optical fiber?(Minimum 50 words)

5. What is the difference between omnidirectional waves and unidirectional waves? (Minimum 50 words)

6. What are the two approaches to packet switching? (Minimum 50 words)

7. List four major components of a packet switch and their functions.(Minimum 50 words) 8. Describe the need for switching and define a switch.(Minimum 50 words)

In: Computer Science

The accompanying table lists the ages of acting award winners matched by the years in which...

The accompanying table lists the ages of acting award winners matched by the years in which the awards were won. Construct a​ scatterplot, find the value of the linear correlation coefficient​ r, and find the​ P-value of r. Determine whether there is sufficient evidence to support a claim of linear correlation between the two variables. Should we expect that there would be a​ correlation? Use a significance level of

alphaαequals=0.05.the award winners.

Construct a scatterplot. A scatterplot has a horizontal axis labeled Best Actress in years from 20 to 70 in increments of 5 and a vertical axis labeled Best Actor in years from 20 to 70 in increments of 5. Twelve points are plotted with approximate coordinates as follows: (27, 44); (30, 39); (28, 40); (58, 47); (31, 50); (34, 49); (46, 56); (30, 47); (61, 39); (22, 55); (43, 44); (54, 34).

In: Math

Neutralization Reactions In a clean, small container (glass vial or small paper cup), place about ten...

Neutralization Reactions

In a clean, small container (glass vial or small paper cup), place about ten drops of an ammonia cleaner and two “squirts” of cabbage juice indicator.

Use a clean medicine dropper and count the number of drops of vinegar required to change the color of the solution from green to purple.

Repeat the above tasks with pickle juice or some solution that you found to have an acid pH slightly higher than vinegar.

Create a data table that summarizes your results of the two titrations.

Neutralization Reactions – comparison of two acid solutions neutralizing a base cabbage juice + ammonia solution

Insert Table Here

Drops of Ammonia

Vinegar

Pickle juice

10

6

8

10

7

7

10

6

8

In the titration of ammonia solution with vinegar, and with another acid solution with a slightly higher pH value, how did the amounts needed for the neutralization of the ammonia (signaled by the change from green to purple in the solution containing the ammonia and cabbage juice) compare? How does this comparison match the differences in pH values? What is the basis of any correlation between starting pH values of the two acids and amount required to neutralize the same amount of vinegar solution? Provide explanations for each for the three questions.

In: Chemistry

Sales Mix and Break-Even Sales New Wave Technology Inc. manufactures and sells two products, MP3 players...

Sales Mix and Break-Even Sales New Wave Technology Inc. manufactures and sells two products, MP3 players and satellite radios. The fixed costs are $216,000, and the sales mix is 80% MP3 players and 20% satellite radios. The unit selling price and the unit variable cost for each product are as follows: Products Unit Selling Price Unit Variable Cost MP3 players $50 $40 Satellite radios 130 80

a. Compute the break-even sales (units) for both products combined.

b. How many units of each product, MP3 players and satellite radios, would be sold at the break-even point? MP3 players units Satellite radios units

In: Accounting

Java language Exercise #2: Design a Lotto class with one array instance variable to hold three...

Java language

Exercise #2:
Design a Lotto class with one array instance variable to hold three random integer values (from 1 to 9). Include a constructor that randomly populates the array for a lotto object. Also, include a method in the class to return the array.
Use this class in the driver class (LottoTest.java) to simulate a simple lotto game in which the user chooses a number between 3 and 27. The user runs the lotto up to 5 times ( by creating an object of Lotto class each time and with that three random integer values will be stored in objects’s array instance variable) and each time the sum of lotto numbers (sum of three random integers values) is calculated. If the number chosen by the user matches the sum, the user wins and the game ends. If the number does not match the sum within five rolls, the computer wins.


Exercise #3:
Write a Java class that implements a static method – SortNumbers(int… numbers) with variable number of arguments. The method should be called with different numbers of parameters and does arrange the numbers in descending order. Call the method within main method of the driver classand display the results.

In: Computer Science

Please Use the ECLIPSE AND FOLLOW THESE RULES Apply the naming conventions for variables, methods, classes,...

Please Use the ECLIPSE AND FOLLOW THESE RULES

Apply the naming conventions for variables, methods, classes, and packages:

- variable names start with a lowercase character

- classes start with an uppercase character

- packages use only lowercase characters

methods start with a lowercase character

question1:

Design a Lotto class with one array instance variable to hold three random integer values (from 1 to 9). Include a constructor that randomly populates the array for a lotto object. Also, include a method in the class to return the array.

Use this class to simulate a simple lotto game in which the user chooses a number between 3 and 27. The user runs the lotto up to 5 times and each time the sum of lotto numbers is calculated. If the number chosen by the user matches the sum, the user wins and the game ends. If the number does not match the sum within five rolls, the computer wins.

question2:

Write a Java class that implements a set of three overloaded static methods. The methods should have different set of parameters and perform similar functionalities. Call the methods within main method and display the results.

eclipse...

In: Computer Science

Emerging evidence suggests that younger maternal age may increase the rate of stroke within 6 weeks...

Emerging evidence suggests that younger maternal age may increase the rate of stroke within 6 weeks of delivery. Let’s use the following HYPOTHETICAL dataset to explore this association (Table 1). Women were classified as aged 16-19 years, 20-34 or 35-44 at the time of delivery. Within each maternal age category, person-time accrued until a woman either had a stroke within 6 weeks of delivery, was lost to follow-up or died of other causes, or was no longer at risk (beyond 6 weeks post-delivery).

Table 1: Association between maternal age and stroke within 6 weeks of delivery

Aged 16-19

Aged 20-34

Aged 35-44

Total

Stroke

23

281

45

349

No Stroke

229,692

3,097,513

539,844

3,867,049

Total Person-Weeks

1,378,159

18,585,546

3,239,006

23,202,711

a.      Calculate the incidence rate ratio for the association between maternal age 16-19, relative to maternal age 35-44, and stroke within 6 weeks of delivery. Round to two decimal places. (3 points)

b.      Calculate the excess incidence rate ratio for the association between maternal age 20-34, relative to maternal age 35-44, and stroke within 6 weeks of delivery. Round to two decimal places. (3.5 points)

In: Statistics and Probability

TASK A: In the context of the impact of a change on an organization, How would...

TASK A:

In the context of the impact of a change on an organization, How would you characterize the following changes?

Adding electronic scoreboards to a cricket grounds.

A Telco consolidating call centres in one country.

A Telco installing fibre-to-the-home to replace copper wires.

A Telco launching a TV service.

TASK B: Discuss the factors that may influence the decision to consider implementing an application software package, developing the solution in-house or outsourcing the development to an offshore company.

TASK C: The organizers of a local comedy show plan to implement a software package that can take requests for bookings as well as print tickets for the various shows. 1. Describe two other benefits of this application to the organizers.

2. Explain two factors that could cause this package not to function properly

In: Operations Management