## Use the “BEER” data set to answer the following

Use the “BEER” data set to answer the following question.(data below, able to be copy/pasted into excel) The data set includes 30 observations on beer consumption and related data. The variables included are as follows:

q             = quantity of beer purchased (in liters)

pB           = price of beer (in dollars)

pL           = price of other liquor (in dollars)

pR           = price of remaining (non-alcoholic) goods & services (in dollars)

m            = income (in dollars)

1.Suppose that beer industry representatives hypothesize that the marginal propensity to buy beer out of an additional dollar of income is \$0.01. Conduct a hypothesis test to determine if there is any validity to their conjecture. Use a = 1%.

2.Conduct a hypothesis test to determine if the regressors are jointly significant in explaining the quantity of beer purchased. Be sure to state the null and alternative hypotheses formally.

 obs q pB pL pR m 1 81.7 1.78 6.95 1.11 25088 2 56.9 2.27 7.32 0.67 26561 3 64.1 2.21 6.96 0.83 25510 4 65.4 2.15 7.18 0.75 27158 5 64.1 2.26 7.46 1.06 27162 6 58.1 2.49 7.47 1.1 27583 7 61.7 2.52 7.88 1.09 28235 8 65.3 2.46 7.88 1.18 29413 9 57.8 2.54 7.97 0.88 28713 10 63.5 2.72 7.96 1.3 30000 11 65.9 2.6 8.09 1.17 30533 12 48.3 2.87 8.24 0.94 30373 13 55.6 3 7.96 0.91 31107 14 47.9 3.23 8.34 1.1 31126 15 57 3.11 8.1 1.5 32506 16 51.6 3.11 8.43 1.17 32408 17 54.2 3.09 8.72 1.18 33423 18 51.7 3.34 8.87 1.37 33904 19 55.9 3.31 8.82 1.52 34528 20 52.1 3.42 8.59 1.15 36019 21 52.5 3.61 8.83 1.39 34807 22 44.3 3.55 8.86 1.6 35943 23 57.7 3.72 8.97 1.73 37323 24 51.6 3.72 9.13 1.35 36682 25 53.8 3.7 8.98 1.37 38054 26 50 3.81 9.25 1.41 36707 27 46.3 3.86 9.33 1.62 38411 28 46.8 3.99 9.47 1.69 38823 29 51.7 3.89 9.49 1.71 38361 30 49.9 4.07 9.52 1.69 41593

## Design a sequence counter with operation as mentioned below

Design a sequence counter with operation as mentioned below using JK FF

7 – 3 – 1 – 2 – 5 – 4 – 6 – 7….. So on.

The steps for designing is

1) State diagram

2) State transition table of JK FF

3) State table of the sequence counter

4) Kmaps for all JK FF inputs

5) Final circuit diagram indicating the outputs and flops

6) Specify the modulo number for the following sequence counter and how flops are needed to build the final circuit.

## Design a sequential circuit using SR and T flip flop

Design a sequential circuit using SR and T flip flop inputs equation given below along with output equation as

RA = QA QB’

SA = QA’ . (QB’ + X)

TB = (X QA + X’ QB’ QA’)

Output equation Y = QA QB’ + QB X’

A) State table based on the circuit diagram

B) State diagram for the following circuit.

C) State whether it is melay or moore machine and explain why

D) Draw the final circuit diagram of the sequential circuit for the given equations

Kindly answer the questions in sequential manner and please provide all the sub parts. Thanks in adance

## Design a sequential circuit using JK flip flop inputs

Design a sequential circuit using JK flip flop inputs equation given below along with output equation as

JA = A y

KA = x’

JB = A’ x

KB = X B’

Output equation Z = A x + B y’

A) Circuit diagram of the above given equation

B) State table based on the circuit diagram

C) Kmaps and equation for next state from the state table

D) State diagram for the following circuit.

Kindly answer the questions in sequential manner and please provide all the sub parts. Thanks in adance

## A laboratory technician in a medical research centre is

A laboratory technician in a medical research centre is asked to formulate a diet from two commercially packaged foods, food A and food B, for a group of animals. Each kg of food A contains 8 units of fat, 16 units of carbohydrates, and 2 units of protein. Each Kg of food B contains 4 units of fat, 32 units of carbohydrate and 8 units of protein. The minimum daily requirements are 176 units of fat, 1024 units of carbohydrate, and 384 units of protein. If food A costs 5Rs per Kg and food B costs 5Rs per Kg, how many kilograms of each food should be used to meet the minimum daily requirements at the least cost? What is the cost of this amount?

a) Create LPP statements. b) Find optimal solution graphically.

## Hullabaloo Party Supplies (HPS) has hired you, a Systems

Hullabaloo Party Supplies (HPS) has hired you, a Systems Analyst, to help them design an online customer ordering system.

The system will need to:

• Allow the customer to order online; the customer must be able to order multiple different items, as well as choose different quantities
• Obtain complete customer information
• Allow the customer to create an account
• Calculate order cost including tax
• Offer payment via credit card or PayPal
• Debit the ordered items from inventory
• Offer multiple choices for shipping

Assume the following costs associated with the system:

• Assuming monetary benefits of customer ordering at \$185,000 per year, one-time costs of \$275,000, recurring costs of \$85,000 per year, a discount rate of 12 percent, and a five-year time horizon,
• calculate the net present value of these costs and benefits of an information system.

For the first phase of the project, you will do the following:

• Create a detailed requirements list; and
• Conduct an economic feasibility analysis
• Calculate the return on investment
• Calculate the breakeven point
• Recommend the development methodology you will utilize, providing justification for that choice.

Your paper should be a minimum of 3 pages in length, not including title and reference pages, and must fully address the assignment requirements. It should conform to the CSU Global Writing Center (Links to an external site.). Include at least two credible references in addition to the course textbook. The CSU Global Library is a good place to find these references.

## Develop a polymorphic banking app using the Account

Develop a polymorphic banking app using the Account hierarchy. Create an array of Account references to Savings-Account and Checking Account objects. For each Account in the array, allow the user to specify an amount of money to withdraw from the Account using method Debit and an amount of money to deposit into the Account using method Credit. As you process each Account, determine its type. If an Account is a Savings-Account, calculate the amount of interest owed to the Account using method Calculate Interest, then add the interest to the account balance using method Credit. After processing an Account, display the updated account balance obtained by using base class property Balance.rn

## Create a class called SoccerPlayer Create 4 protected

Create a class called SoccerPlayer

Create 4 protected attributes: First Name, Last Name, Games and Start Date. Start Date should be of type CustomDate1.

Have one constructor in SoccerPlayer

Accepts input of first name, last name, games and start date.

Create get and set methods for each of the first three attributes and a toString method.

Create 3 additional classes that extends SoccerPlayer. These three classes should be called Forward, Defense and Goalie. Each of these classes needs their own constructor that calls the Superclass constructor as well as fills in the new protected attributes for the class.

Class Forward should include two additional protected attributes for Goals Scored and Average Goals per game.

Create get and set method for goals

Create a method that calculates the average number of goals scored per game.

This method checks for zero games played:

If there are zero played, display an error and set average to 0;

If greater than zero, do the math and set average to result of calculation

Create a toString method that displays all of the inherited info, the number of total goals scored and the average number of goals per game displayed to one decimal place.

Class Goalie should include two additional protected attributes for Saves Made and Average Saves per game.

Create get and set method for Saves Made

Create a method that calculates the average number of saves per game.

This method checks for zero games played:

If there are zero played, display an error and set average to 0;

If greater than zero, do the math and set average to result of calculation

Create a toString method that displays all of the inherited info, the number of total saves and the average number of saves per game displayed to one decimal place.

Class Defense should include two additional protected attributes for total number of tackles and if the player has a red card (which should be a Boolean).

Create get and set method for both attributes

Create a toString method that displays all of the inherited info, the number of tackles and displays a message stating if the player is playing or is suspended due to a red card.

Create a test program called SoccerPlayerTest.

Create four instances of players.

The first should be a forward

The second should be a goalie

The third should be a defenseman who does not have a red card

The fourth should be a defensemen who does have a red card

Display the info about the players by calling the appropriate toString() methods.

Output:

## Naruto is a Genin (beginner Ninja) in the Hidden Leaf

Naruto is a Genin (beginner Ninja) in the Hidden Leaf village. He dreams of one day becoming the Hokage of the village (highest ranked Ninja). For that to happen, he has to train day and night. Most importantly, he has to practice various Ninja techniques. Ninja techniques can be divided into four elemental types: – Fire-based (Katon) techniques – Water-based (Suiton) techniques – Wind-based (Futon) techniques – Light-based (Raiton) techniques However, Naruto can only perform the first three types only (he cannot do Light-based techniques). Whenever Naruto performs a technique, his Chakra (inner energy) is consumed a little. Naruto’s Mentor (Jiraya-Sama �) is taking Naruto for a training camp. The camp will last for N days. On each training day i (where i ranges from 1 to N), Naruto is allowed to perform one Ninja technique only. Each technique consumes a different amount of chakra on different days. For example, a Fire-based technique might consume 10 chakra points on day 1 but could consume 15 chakra points on day 3 or 8 chakra points on day 4 and so on. Naruto is allowed to perform any technique he likes in any training day, however, JirayaSama doesn’t allow him to perform two techniques of the same type in two successive days. For example, If on day 1 Naruto performs a Wind-based technique, then on day 2 he is allowed to perform Water-based technique or Fire-based technique but not a Wind-based technique, because that would mean he performed two Wind-based techniques in a row which will make Jiraya-Sama angry. Find the minimum amount of Chakra needed by Naruto to finish the training camp.(SOLVE IT IN C++ OR JAVA)

## Coastal Fuel Oil is a distributor of fuel-oil products in

Coastal Fuel Oil is a distributor of fuel-oil products in the Northeast. It contracts with shippers for deliveries of home heating oil and distributes product in its own trucks. Since its
storage capacity is limited, and purchasing storage for fuel oil it cannot store itself is expensive, accurate demand forecasts are valuable. Monthly data covering the past 10 years are given in the table below.
a. Develop an appropriate forecast using a moving-average approach.
b. Develop an appropriate forecast using a simple exponential smoothing approach.
c. Develop an appropriate forecast using exponential smoothing with a trend (Holt’s method).
d. Develop an appropriate forecast using exponential smoothing with trend and cyclicality (Holt-Winters method).
e. Which of the four forecasts developed above would you recommend using?