Questions
solve the problem make sure to explain in words what you did with the problem and...

solve the problem make sure to explain in words what you did with the problem and state your conclusions in terms of the problem.

Part I: Choose to do one of the following: 1) Test the claim that the mean Unit 3 Test scores of data set 7176 is greater than the mean Unit 3 Test scores of data set 7178 at the .05 significance level

Class 7176 Class 7178
Unit Test 3 Course Grade Attendance Unit Test 3 Course Grade Attendance
238 63 96 291 95 100
208 55 48 301 91 83
258 89 96 261 68 87
264 84 96 0 53 91
324 98 100 0 23 44
0 62 44 284 93 96
0 56 66 307 77 78
274 87 96 0 44 70
274 83 96 208 72 57
0 0 18 0 56 78
179 71 100 0 73 91
268 86 100 0 28 39
241 60 87 231 64 91
0 8 26 307 87 100
278 84 96 301 87 96
307 89 87 228 52 74
294 87 100 255 73 70
175 76 74 304 85 83
129 66 87 0 37 44
284 82 100 0 60 48
297 90 79 0 25 35
255 74 74 0 37 48
268 88 100 0 67 100
215 77 39 301 94 87
146 71 87 284 71 57
304 88 100 321 87 100
311 91 96
274 83 96
307 97 100
278 92 91
0 52 91

In: Math

1. You are to write a simple program with two classes. One controller class and a class to hold your object definition.

1. You are to write a simple program with two classes. One controller class and a class to hold your object definition. (Similar to what we used in class) 2. Use a package in your project, the package name should be xxxprojectname. xxx is your initials taken from the first three characters of your Cal Poly email address. 3. Read in the following from the JOptionPane input window: a. Customer First Name b. Customer Last Name c. Customer Phone Number (example: 9093873744) d. Number of Vehicles to be manufactured (example: 5) e. Number of fuel tanks to be mounted on the vehicle. 4. Make sure the following is entered correctly, otherwise display an error message and close the program: California State Polytechnic University, Pomona Computer Information Systems Department Introduction to Object-Oriented Programming with Java a. The first name of the customer is not blank b. The last name of the customer is not blank c. The phone number of the customer is not blank and is 10 characters d. The number of vehicles is between 1 and 10 (includes 1 and 10) e. The number of fuel tanks can only be (2,4,8,10, 15,20) 5. Compute the cost for manufacturing vehicles using the price of $500.19 per vehicle 6. Compute the cost for fuel tanks using the price of $2.15 per fuel cell. 7. For this project each vehicle tank holds 12 Fuel Cells and vehicles can have more than one tank. 8. Use the following formulas to perform the calculations: Cost for manufacturing = number of vehicles * manufacturing price Cost for fuel tanks = number of vehicles * number of tanks * number of fuel cells per tank * price of fuel cell 9. Then you are to test the program using the data listed below. In the case of the first customer enter the data that has errors as shown in the screenshots below. The program should prompt you to reenter the data until the data is valid. First Name Last Name Phone Number of Vehicles Number of Tanks Homer Simpson 9093429871 5 8 Bart Simpson 9093429872 2 2 Lisa Simpson 9093429873 4 15 Marge Simpson 9093429874 3 4 Make sure that you check that the data is valid when the user enters it, Note in the example below how some data entered is incorrect the program then asks you to enter it again.

USE these as start up code

package project2startup;

public class VehicleApp {

   public static void main(String[] args) {
      

   }

}

package project2startup;

public class VehicleFactory {
   //variables to hold our object properties
   private String name;
   private String phone;
   private int nbrVehicles =0;
   private int nbrTanks =0;
   private double manufactureCost =0;
   private double fuelTanksCost =0;
   private double subtotal =0;
   private double tax =0;
   private double total = 0;

   //constants to hold our pricing properties
   private final double VEHICLE_PRICE = 500.19;
   private final double FUELCELL_PRICE = 2.15;
  
   //you have to create a constant and store the tax rate in it
  
  
   public HayloFactory(String aName, String aPhone, int aNbrVehicles, int aNbrTanks){
       //add necessary code in here
  
   }
  
   //Add methods to perform your calculations here
   //for example you have to calculate the manufacturing cost and store it in manufactureCost
   public void calcManufacturingCost(){
      
   }
  
   //for example you have to calculate the fuel tanks cost and store it in fuelTankCost
   public void calcFuelTankCost(){
      
   }
  
   //add method to calculate the subtotal and store it in subtotal
   public void calcSubtotal(){
      
   }
  
   //add method to calculate the tax and store it in tax
   public void calcTax(){
      
   }
  
   //add method to calculate the total and store it in total
   public void calcTotal(){
      
   }
  
   //Add a method to return a summary for this object here
   public String getSummary(){
       //you have to build your summary and store it in the summary variable
      
       return null;
   }
}

In: Statistics and Probability

You are the quality assurance person working an assembly line at a TV manufacturing plant. They...

You are the quality assurance person working an assembly line at a TV manufacturing plant. They produce 1000 TV’s a day. IF THE TV’S ARE ALL THE SAME MODEL, WHAT PERCENTAGE (think about the cost of testing) WOULD YOU TEST (WHY?) AND HOW WOULD YOU SELECT THEM (Don’t just say “randomly” – How do you do it randomly?) If the inspector were lazy, how would they likely do it as a “convenience” sample? Lastly, if the 1000 TV’s were 4 different models, how would you sample then and what type of sampling would this be?

#2. You are going out to eat. There are three shopping malls nearby and each has up to five restaurants (these restaurants are all different styles: e.g., Italian, Chinese, French). Here are their customer SATISFACTION ratings on a scale of up to five +’s (highest satisfaction). WHAT ASSUMPTIONS ARE YOU MAKING REGARDING WHAT “SATISFACTION” MEANS? Mall 1 Mall 2 Mall 3 (a) ++++ (a) +++ (a) +++++ (b) ++++ (b) ++ (b) ++++ (c) ++++ (c) +++ (c) +++ (d) ++ (d) + (e) +++

#3. (a) What type of data and scale are involved here? (b) Which Mall Restaurant did you pick? WHY? (c) What issues could you encounter with your pick once you got there?

#4. What is a CONVENIENCE SAMPLE? Give an example of one and explain when it might be actually useful in giving a picture of the entire population, and what could be misleading about it.

#5. You can find 20 RANDOM NUMBERS in a Table or you can generate them with software like Excel. The Excel functions are “RAND” and “RANDBETWEEN”. With “Randbetween” you simply input how many numbers you want, the number of digits you want in your random number and the range of values you want those numbers to fall between. For example you may want twenty, 2-digit numbers that fall between 00 and 100 (like “34”).

TWO CONSIDERATIONS: (1) You must systematically use the random numbers in the Table or the ones generated. You don’t “skip around” because that could un-randomize the values. (2) Let’s say you want 1000 names from a 50 page phone book. You reach the end of the book with your systematic selection and only have 800 names. What do you do? Simple: start over in the book (loop). For example, if you were selecting names from every 15th page and you reached the end of the book after only 8 pages, then start over on page 7 of the same book.

One source of random numbers is the Greek symbol “π” and its numerical value used in geometry is 3.141592653589793238462643383. . . (ignore the decimal between 3 and 1) and you have THIS string of random numbers: 3141592653589793238462643383. USE THIS STRING (and loop it) to generate twenty, 3-digit (e.g. 314) random numbers AND EXPLAIN how you did it.

In: Statistics and Probability

1) Capital stocks and resource maintenance A fishery contains 5,000 tons of fish, and has a...

1) Capital stocks and resource maintenance

A fishery contains 5,000 tons of fish, and has a 3% annual replenishment rate (that is, 3% is its population growth rate). Assume that 200 tons of fish are harvested at the end of each year.

a) How many tons of fish will the fishery contain at the end of the first year? Show how you calculated this.
b) Draw a stock-flow diagram illustrating the change in the fishery stock from the start to the end of Year 1.

c) How many tons of fish will there be at the end of two years? (Calculate the 3% replenishment from the beginning of the year).
d) How many tons of fish will there be at the end of three years? Set up a table showing fishing activity through ten years, accounting both for natural growth and the annual harvest. How many tons remain after 10 years? [Hint: You might want to do this on an Excel spreadsheet].

e) How many years will it take to fully deplete the fishery? Clearly show how you calculated this.
f) Now assume that the annual harvest is only 100 tons. How many tons will be in the fishery after 10 years? Compare to 10 years of harvesting 200/year and discuss.
g) For the fish harvest to be sustainable, what is the largest number of tons of fish that can be harvested each year (starting with the first year)? Explain why this amount does not change.

In: Economics

Write the class MultiDimList according to the following requirements: 1. Each node contains 3 fields of...

Write the class MultiDimList according to the following requirements:

1. Each node contains 3 fields of data (Name, ID, Mark out of 100).
2. Each node will have two pointer: nextMark, nextName
3. The nodes can be sorted in an ascending way based on the Mark or the Name

The List will have the following:

FirstMark : a Pointer to point to the first node based on the Mark sorting scheme
FirstName: a Pointer to point to the first node based on the Name (alphabetical) scheme

Implement and test the following methods:

1. Add (input is a node).
2. Remove (using Name an input)
3. Display (displays the list in order by Name, Mark based on the user’s input)
4. countGrade (the input is the Grade (A,B,C or D) returns a count of the number of students who received the passedgrade. Use the following criteria: A (>= 90), B (80-89), C (70-80) or D (below 70))
5. printBelowAverage (displays a list of students who received below average mark).
6. replaceMark (input is ID and mark).

Input File:

Number of students

Name, ID, Mark separated by space

Testing:

1. Write a driver method that tests all the methods you wrote.
2. You could include a menu that gives the options for users to choose from.

Marking Scheme:

5 Marks/method.

5 Marks for the main method.

5 Marks creativity.

Total out of 40.

In: Advanced Math

Suppose in the month of June your bank granted a business a $5,000 loan with principal...

Suppose in the month of June your bank granted a business a $5,000 loan with principal plus interest (calculated at 12% per year) due to be repaid in 6 months. The transactions that business occurred during that month of operation were as follows:
- On June 1st, signed a 2-year contract to lease a food truck for $200 per month, with the first two months paid up front.

- On June 1st, purchased a freezer for $2,400 in cash with an estimated useful life is 20 years.

- On June 4th, purchased $800 worth of inventory from their supplier, put on their account.

- On June 5th, purchased $46 worth of gasoline for their business' truck.

- On June 5th, were charged $100 for booking fees.

- On June 10th, were charged $75 for booking fees.

- On June 12th, received a $40 gift of which was spent $24 on recreation.

- On June 15, purchased $55 worth of groceries

- On June 20th, were charged $300 for booking fees.

- On June 20th, purchased $36 worth gasoline for their business' truck.

- By June 30th, the company sold 250 products at $5 each.

The company is interested in acquiring another $5000 loan to expand. Prepare a financial report, and determine from the position of your bank should you grant the additional loan, refuse but continue business with the company, or recall the first loan.

In: Accounting

2. [2] What are three causes of banks losing their cost advantages in acquiring funds in...

2. [2] What are three causes of banks losing their cost advantages in acquiring funds in recent years?

3. [2] What are three reason banks have been losing income advantages on their assets in recent years

4. [1] Has the invention of the computer been a major factor behind the decline of the banking industry? Explain your answer.

5. [1] Why is loophole mining so prevalent in the banking industry in the United States?

6. [1] What role did the shadow banking system play in the decline of U.S. commercial banking?

7.[1] How do sweep accounts allow banks to avoid reserve requirements?

8. [1] How did commercial banks respond to their relative decline in traditional banking?

9. [2] Tyler Bank starts its first day of operations with $9 million in capital. A total of $130 million in checkable deposits is received. The bank makes a $25 million commercial loan and another $50 million in mortgages. Assume that required reserves are 8%. (a) What does the bank balance sheet look like? (b) How well capitalized is the bank? (c) Calculate the risk-weighted assets and risk-weighted capital ratio after the bank’s first day assuming reserves risk weights are 0%, mortgages rates are 50% and commercial loan rates are 100%.

Assets

Liabilities

In: Accounting

A company’s capital consists of 100 000 ordinary shares issued at $2 and paid to $1...

A company’s capital consists of 100 000 ordinary shares issued at $2 and paid to $1 per share. On 1 September, a first call of 50c was made on the ordinary shares. By 30 September, the call money received amounted to $45 000. No further payments were received, and on 31 October, the shares on which calls were outstanding were forfeited. On 15 November, the forfeited shares were reissued as paid to $1.20 for a payment of $1 per share. The appropriate cash amount from the reissue was received on 19 November. Costs of reissue amounted to $2 500. The company’s constitution provided for any surplus on resale, after satisfaction of unpaid calls, accrued interest and costs, to be returned to the shareholders whose shares were forfeited. The entry to record the forfeiture of shares is: isn this answar correct *a. Share capital Dr 25 000 First call — ordinary shares Cr 5 000 =10000*0.5 Forfeited shares Cr 20 000=10000* The entry to record the reissue of forfeited shares is: *a. Cash Dr 10 000 Forfeited shares Dr 2 000 Share capital — ordinary Cr 12 000 The amount of the surplus payable to the shareholders whose shares were forfeited is: a. $2 500 b. $5 000 *c. $5 500 d. $10 000

In: Accounting

The Jaguar Bank of Indianapolis (JBI) starts operations on January 1, 2020 issuing equity amounting $50....

The Jaguar Bank of Indianapolis (JBI) starts operations on January 1, 2020 issuing equity amounting $50. JBI advertises an annual interest of 1% for its savings deposits, paid annually, and free checking accounts (i.e., no maintenance fee). On the first day of operations, JBI receives a total of $500 as checking deposits and $450 as savings deposits. The bank lends $750 for an annual interest rate of 5%. It purchases treasury bonds worth $150 which earns 2% per annum. JBI maintains the required reserve (10% of checking deposit balances) at the Fed and keeps the remaining liquidity in cash reserves. Federal Reserve pays no interest on JBI’s reserve account. Nor does JBI on checking accounts of its customers. JBI’s operational expenses during its first year of operations is $20 and the corporate tax rate is 25%. Shareholders of JBI receive 12% dividends.

A customer defaults a loan amounting $250. The bank loses the principal amount as well as the expected interest income but repossess a property maintained as a collateral. The property is auctioned for $200 and $100 of the proceeds are used to purchase treasury bonds. Find the following.

  • Primary Reserves = $
  • Total Assets = $
  • Total Liabilities = $
  • Net Worth = $
  • Equity Ratio =  %
  • Interest Income = $
  • Net Profit Before Taxes = $

pleas answer this question because I posted before and the answers were wrong

In: Accounting

[PYTHON] Modify the examaverages.py program included with this assignment so it will also compute the overall...

[PYTHON] Modify the examaverages.py program included with this assignment so it will also compute the overall average test grade. E.g if there are 3 test each student must take and the user enters the following set of test scores for the two students…:

30, 40, 50 for the first student

50, 60, 70 for the second student

…then program will print the average for each student (i.e. 40 for the first student and 60 for the second student – the existing program already does this) and additionally will also print the overall average (i.e. (40 + 60) /2 = 50).

------------

this is the provided code from 'examaverages.py' :

##
#  This program computes the average grade for multiple students.
#

# Obtain the number of test grades per student.
numExams = int(input("How many grades does each student have? "))

# Initialize moreGrades to a non-sentinel value.
moreGrades = "Y"

# Compute average grades until the user wants to stop.
while moreGrades == "Y" :
   
   # Compute the average grade for one student.
   print("Enter the grades out of 100.")
   total = 0
   for i in range(1, numExams + 1) :
      score = int(input("test %d: " % i))   # Prompt for each test grade.
      total = total + score
      
   average = total / numExams
   print("The average is %.2f" % average)
   
   # Prompt as to whether the user wants to enter grades for another student.
   moreGrades = input("Enter grades for another student (Y/N)? ")
   moreGrades = moreGrades.upper()

In: Computer Science