The spray characteristics of a highly toxic liquid fuel, especially particle their diameter is required. In the examination, the particle diameter dp, spray outlet rate U, liquid viscosity µ, surface tension Y, density ρ and spray it is suggested that the spray injector is connected to the outlet diameter D and is safe it is suggested that an experiment can be carried out with water, design and state the requirements for the creation of this experiment and obtain how to use your data for prototype fuel in mathematical terms If necessary, write with dimensionless numbers.
In: Mechanical Engineering
1- What is the difference between energy and intensity as far as light waves are concerned? How would you change the energy? How would you change the intensity? Are these changes independent of one another? Why or why not?
a- Discuss what changes you might expect to see if the energy of the light wave was changed for the double slit experiment. Why?
b- Discuss what changes you might expect to see if the intensity of the light wave was changed for the double slit experiment. Why?
In: Physics
1 Explain the stanford prison social experiment, and explain whether you believe if attitude influenced behavior, or vice versa.
2 Define attitude and behavior according to the book.
3 In your opinion, do you believe that attitude influences
behavior, or vice versa? Explain.
4 Do you believe that one can predict their behavior? Explain your
answer.
5 Explain the Stanford Prison Social experiment, and explain
whether you believe if attitude influenced behavior, or vice
versa.
In: Psychology
Well our Data Structures and Algorithms professor had the incorrect date set for this assignment (was November 7, 2019 and now is October 7, 2019) so I was putting it off until the end of this month, now I have two days to complete it which is going to be near impossible with the assignments I have for C Programming, Calculus II and Anthropology also all due on Monday, so I need some help. I have the general outline for this program from the last assignment we did but I am unsure how to implement the new methods we were shown Thursday.
I. General Description
In this assignment, you will create a Java program to read undergraduate and graduate students from an input file, shuffle them, and write them to an output file.
1. The input file name and the output file name are passed in as the first and second arguments at command line, respectively. For example, assume your package name is FuAssignment4 and your main class name is FuMain, and your executable files are in “C:\Users\2734848\eclipse-workspace\CIS 265 Assignments\bin”. The following command line will read from a local file “students.txt” and write to a local file “students_shuffled.txt”: C:\Users\2734848\eclipse-workspace\CIS 265 Assignments\bin > java FuAssignment4.FuMain students.txt students_shuffled.txt
2. If the program is run with incorrect number of arguments, your program must print an error message and exit. The error message must show correct format to run your program, e.g., “Usage: FuAssignment4.FuMain input_file output_file” where FuAssignment4 is the package and FuMain is the main class.
3. Each line in the input file represents a student. There are 5 fields in each line: name, id, gpa, “graduate” or “undergraduate”, isTransfer (for undergraduate) or college (for graduate). The fields are separated by comma, “,”. For example, the input file students.txt file may contain: Michelle Chang,200224,3.3,graduate,Cleveland State University Tayer Smoke,249843,2.4,undergraduate,false David Jones,265334,2.7,undergraduate,true Abby Wasch,294830,3.6,graduate,West Virginia
4. The program will read the lines and create undergraduate students or graduate students accordingly. The students are added to an ArrayList.
5. The program then shuffles the ArrayList, and write the shuffled list of students to the output file.
6. Given the previous input file students.txt, a possible output file, students_shuffled.txt, maybe like this: Abby Wasch,294830,3.6,graduate,West Virginia Michelle Chang,200224,3.3,graduate,Cleveland State University David Jones,265334,2.7,undergraduate,true Tayer Smoke,249843,2.4,undergraduate,false
II. Implementation Requirements
The program must implement a main class and three student classes (Student, UndergradStudent, GradStudent).
• You may reuse the code from previous assignments. You may use my code posted on Blackboard for previous assignments.
• However, the Student class must be declared as an abstract class now. It must also have an overloaded printStudent(PrintWriter output) method. The method will write student’s information to the file using the output PrintWriter.
• Accordingly, the UnderGradStudent and GradStudent classes must also have an overloaded printStudent(PrintWriter output) method. They must use the superclass’ method to write student’s information. The UnderGradStudent’s printStudent(PrintWriter output) writes “undergraduate” and 2 isTransfer after that. The GradStudent’s printStudent(PrintWriter output) writes “graduate” and college after that. • The UML class diagram should be as follows:
| Student | ||
| -name: String | ||
| -id: int | ||
| -gpa: float | ||
| +Student() | ||
| +Student(name,id,gpa) | ||
| +printStudent():void | ||
| +printStudent(PrintWriter output:void | ||
| UndergradStudent | GradStudent | |
| -boolean: isTransfer | -college:String | |
|
+UndergradStudent(name,id,gpa,isTransfer) |
+GradStudent(name,id,gpa,college) | |
|
+printStudent():void +printStudent(PrintWriter output):void |
+printStudent():void +printStudent(PrintWriter output):void |
• All classes must be in the same package. The package name must start with your last name. For example, if your last name is “Trump”, your package name must start with “Trump” such as “TrumpCIS265AS3”, “TrumpAS3”, etc.
• You main class file name must start with your last name. For example, if your last name is “Spiderman”, your main class file name must start with “Spiderman” such as “Spiderman3.java”, “SpidermanAssign3.java”, etc.
• Since I/O exceptions are checked exceptions, your program must handle exceptions. You may use the try/catch or throw IOException. To throw exceptions, you declare it as: public static void main(String[] args) throws IOException {
• You must create an ArrayList of Students in the main class: import java.util.ArrayList; ArrayList students = new ArrayList<>();
• The ArrayList variable will store all Student objects created, both undergraduate students and graduate students.
• The Student class must have a constructor that takes a name, an id, and a gpa, to create a Student object.
• The UndergradStudent class must have a constructor that takes a name, an id, a gpa, and a transfer status to create an UndergradStudent object. The constructor must call the Student’s constructor using super.
• The GradStudent class should must a constructor that takes a name, an id, a gpa, and a college to create an GradStudent object. The constructor must call the Student’s constructor using super.
• The Student class must have a public method printStudent(PrintWriter output) that writes the student’s name, id, and gpa to the PrintWriter output.
• The UndergradStudent class must override the printStudent(PrintWriter output) method. It must write the student’s name, id, gpa, and transfer status to the PrintWriter output. It should call the Student’s printStudent(PrintWriter output) to write student’s name, id, and gpa.
• The gradStudent class must override the printStudent(PrintWriter output) method. It must write the student’s name, id, gpa, and college to the PrintWriter output. It should call the Student’s printStudent(PrintWriter output) to write student’s name, id, and gpa.
• To shuffle the ArrayList, you need to use the Collections’s shuffle method: import java.util.Collections; Collections.shuffle(students); //assume students is an ArrayList of Students
• The printing of students should use dynamic binding: for (Student s: students) //students is an ArrayList of Students s.printStudent(output); // output is a PrintWriter for output file
• Your program must close both input and output files after they are done.
• You can assume that input file has the correct format. You will earn bonus points for handling incorrect input formats.
V. Bonus features (optional)
If a line in the input file has incorrect format, your program should skip the line and continue. The following are possible formatting errors your program can handle:
1. (2 points) if the line does not have 5 fields;
2. (2 points) if the id is not an integer;
3. (2 points) if the gpa is not a float;
4. (2 points) if the 4th field is not “undergraduate” or “graduate”;
5. (2 points) if the 5th field for an undergraduate student is not true or false.
In: Computer Science
Verizon Communications financial leverage the last 3 years.
Debt to Assets Ratio: 2016= 91% 2017= 83% 2018=80%
Debt to Equity Ratio: 2016=4.68% 2017= 2.64% 2018=1.99%
Interest Coverage Ratio: 2016=5.80% 2017=5.35% 2018= 5.06%
How is Verizon financing it's assets? Discuss how much risk is associated with the bonds issued by the company? How can this risk be measured? Please Explain.
In: Finance
What will you tell your grandchildren? You have the following facts: CPI in 2016 was 240. CPI in 2060 is 2400. The price of gasoline in 2016 is $2.00 per gallon. The price of gasoline in 2060 is $15 per gallon. How many dollars would you need in 2060 to buy what $2.00 would buy in 2016?
Enter your answer as a number, rounded to two decimal places. Don't enter a dollar sign.
In: Economics
1.Historical cost of equipment in Medical Services Division
2.Salaries earned during 2016
3.Unfunded pension obligation that company expects to fully fund in 2017
4.Fees earned for providing HR consulting services to client in 2016
5.Recruiting brochures in HR’s storeroom
6.Amount spent in 2016 to place job ads in Wall Street Journal
7.Wages owed to employees for work done in 2016 that will not be paid until early 2017
8.2016 profits put back in the company and not paid as dividends
9.Principal on loan due in 2020
Need help on identifying which ones are assets, which ones are liability, and which ones are equity
In: Accounting
IST analyzes the fish population of coastal alaska waters. each year they sample 100 fish and measure their weight. the table shows the mean fish weights for 2016, 2017, 2018. Assume a population standard deviation of 5lb. alpha = .05
Year. Mean salmon weight lb
2016: 18
2017: 19
2018: 23
A.) is the increase from 2016 to 2017 statistically significant. state test statistic and p-value, then answer the question.
B) is the increase from 2017 to 2018 statistically significant. state test statistic and p-value, then answer the question.
C) is the increase from 2016 to 2018 statistically significant. state test statistic and p value, then answer the question.
In: Statistics and Probability
| On January 1st 2016 the Hail Company purchased a tractor for $120,000. This tractor is expected to last 12 years and have a $2400 salvage value | |||||||||||||
| Hail expects to drive the tractor 470400 miles . | |||||||||||||
| In 2016 Hail drove the tractor 80,000 miles; in 2017 Hail drove the tractor 127,000 miles | |||||||||||||
| Part 1: fill in the following table | |||||||||||||
| 2016 | 2017 | 2016 | 2017 | ||||||||||
| dep exp | dep exp | book value | book value | ||||||||||
| straight line depreciation | |||||||||||||
| double declining depreciation | |||||||||||||
| units of activity depreciation | |||||||||||||
| Part 2: On January 1st 2018 Hail sold the tractor for $62,000. | |||||||||||||
| If Hail was using double declining balance depreciation, what gain or loss do they show on the sale? | |||||||||||||
In: Accounting
On October 1, 2016, Ball Company issued 7% bonds dated October 1, 2016, with a face amount of $310,000. The bonds mature in 12 years. Interest is paid semiannually on March 31 and September 30. The proceeds from the bond issuance were $320,168.62 to yield 6.60%. Ball Company has a December 31 fiscal year-end and does not use reversing entries.
Required:
| 1. | Prepare journal entries to record the issuance of the bonds and the interest payments for 2016 and 2017 using the effective interest method. |
| 2. | Prepare journal entries to record the issuance of the bonds and the interest payments for 2016 and 2017 using the straight-line method. |
Please explain solution. Thank you
In: Accounting