Questions
Consider the movie ticket and popcorn example discussed in Section 17.7. The theater sells two products,...

Consider the movie ticket and popcorn example discussed in Section 17.7. The theater sells two products, tickets and popcorn. Suppose the weekly demand for movie tickets is

          Qdtix=500−25Ptix−20Ppopcorn,

where Ptix and Ppopcorn are the prices of a ticket and a bag of popcorn, respectively. Suppose that each time a moviegoer buys a ticket, his demand for popcorn is

          Qdpopcorn=3−0.4Ppopcorn,

where Qdpopcorn is the number of bags of popcorn the moviegoer buys. Suppose further that the theater's marginal cost of a ticket is $2, while the marginal cost of popcorn is $3.

Instructions: Round your answer to 2 decimal places.

a. What is the profit-maximizing price of a movie ticket if a bag of popcorn sells for $5 a bag?

    $.

In: Advanced Math

*****IN JAVA**** Implement a theater seating chart  as a two-dimensional array of ticket prices, like this: {10,...

*****IN JAVA****

Implement a theater seating chart  as a two-dimensional array of ticket prices, like this:

{10, 10, 10, 10, 10, 10, 10, 10, 10, 10}

{10, 10, 10, 10, 10, 10, 10, 10, 10, 10}

{10, 10, 10, 10, 10, 10, 10, 10, 10, 10}

{10, 10, 20, 20, 20, 20, 20, 20, 10, 10}

{10, 10, 20, 20, 20, 20, 20, 20, 10, 10}

{10, 10, 20, 20, 20, 20, 20, 20, 10, 10}

{20, 20, 30, 30, 40, 40, 30, 30, 20, 20}

{20, 30, 30, 40, 50, 50, 40, 30, 30, 20}

{30, 40, 50, 50, 50, 50, 50, 50, 40, 30}

Write a code snippet that:

- uses a for loop to print the array with spaces between the seat prices

- prompts users to pick a row and a seat using a while loop and a sentinel to stop the loop.

- outputs the seat price to the user.

In: Computer Science

Forte Inc. produces and sells theater set designs and costumes. The company began operations on January...

Forte Inc. produces and sells theater set designs and costumes. The company began operations on January 1, 2016. The following transactions relate to securities acquired by Forte Inc., which has a fiscal year ending on December 31:
Record these transactions on page 10:
2016Jan.22Purchased 29,800 shares of Sankal Inc. as an available-for-sale security at $18 per share, including the brokerage commission.Mar.8Received a cash dividend of $0.20 per share on Sankal Inc. stock.Sep.8A cash dividend of $0.24 per share was received on the Sankal stock.Oct.17Sold 3,800 shares of Sankal Inc. stock at $16 per share, less a brokerage commission of $75.Dec.31Sankal Inc. is classified as an available-for-sale investment and is adjusted to a fair value of $25 per share. Use the valuation allowance for available-for-sale investments account in making the adjustment.
Record these transactions on page 11:
2017Jan.10Purchased an influential interest in Imboden Inc. for $468,000 by purchasing 60,000 shares directly from the estate of the founder of Imboden Inc. There are 200,000 shares of Imboden Inc. stock outstanding.Mar.10Received a cash dividend of $0.32 per share on Sankal Inc. stock.Sep.12Received a cash dividend of $0.24 per share plus an extra dividend of $0.06 per share on Sankal Inc. stock.Dec.31Received $61,600 of cash dividends on Imboden Inc. stock. Imboden Inc. reported net income of $449,600 in 2017. Forte Inc. uses the equity method of accounting for its investment in Imboden Inc.Dec.31Sankal Inc. is classified as an available-for-sale investment and is adjusted to a fair value of $21 per share. Use the valuation allowance for available-for-sale investments account in making the adjustment for the decrease in fair value from $25 to $21 per share.
Required:A. Journalize the entries to record these transactions. Be sure to enter the year as part of the date for the first entry on each page. Refer to the information given and the Chart of Accounts provided for the exact wording of the answer choices for text entries.B. Prepare the investment-related asset and stockholders’ equity balance sheet presentation for Forte Inc. on December 31, 2017, assuming the Retained Earnings balance on December 31, 2017, is $405,000. Refer to the Chart of Accounts and Amount Descriptions provided for the exact wording of the answer choices for text entries. “Less” or “Plus” will automatically appear if it is required. For those boxes in which you must enter subtracted or negative numbers use a minus sign.

In: Accounting

Theater tickets for a hit show have four prices depending on seating. The prices ae $50,...

  1. Theater tickets for a hit show have four prices depending on seating. The prices ae $50, $100, $150 and $200. The probability a ticket sells for $50 is .4. The probability it sells for $100 is .15. The probability it sells for $150 is .2.
  1. Find the probability a ticket sells for $200.

  1. Find the expected cost (mean cost) of a ticket.

  1. Find the standard deviation for the cost of a ticket
  1. Find the variance for the cost of a ticket
  1. A person pays $2.00 to play the following carnival game: A die is rolled one time. If an even number comes up the person pays an additional $2.50. If it comes up odd, the player receives a payment of $5.00 and gets the $2.00 back. Find the players expected profit if (s)he plays this game.
  1. Sixty percent of all shoppers in a given shopping center use credit cards for their purchases. If 20 shoppers make purchases, find the probability that:
  1. exactly 12 use credit cards.

  1. exactly 7 do not use credit cards.
  1. At most 10 use credit cards
  1. More than 13 use credit cards
  1. The probability a person passes the Bar exam is .46. If 290 people in this city take the exam:
  1. Find the mean number who pass.

  1. Find the standard deviation for the number who pass.
  1. Find each of the following probabilities for a value chosen at random from a Standard Normal (Z) distribution.
  1. the probability the value is more than 2.7

  1. the probability the value is between –2.01 and 2.21

  1. The probability the value is less than –3.2
  1. The hourly wage for workers in a fast food restaurant is Normally distributed with a mean of $5.85 and a standard deviation of $0.35. If a worker is selected at random, find the probability that:
  1. (S)he earns less than $5.50 an hour

  1. (S)he earns between $5.90 and $6.40 an hour.

  1. (S)he earns at least $6.00 an hour

  1. The mean cost of living for a family of four in cities across the country is $65,351 with a standard deviation of $7712. A company is thinking of relocating to a city with a cost of living that is in the bottom 40% of all the cities. Assuming that the distribution is Normally distributed, what is the cutoff score for a city that would make it eligible for consideration by this company?
  1. 45% of people have type O blood . If 400 volunteers show up to donate blo, use the Normal approximation to the binomial to find the probability that more than 175 but at most 182 have type O blood.
  1. The mean annual rainfall in a particular region is 80 inches with a standard deviation of 8 inches. If a sample of 32 years is selected, what is the probability that the mean annual rainfall for this sample will be less than 79 inches?

In: Statistics and Probability

Java I'm trying to create a program that replicates a theater ticket reservation system. I have...

Java

I'm trying to create a program that replicates a theater ticket reservation system. I have a Seat class with members row(integer), seat(character) and ticketType(character). Where a ticket type can be 'A' adult, 'C' child, 'S' senior, or '.' recorded as empty. I have a Node generic class that points to other nodes(members): up, Down. Left, Right. It also has a generic payload. Lastly, I have an Auditorium class which is also generic. its member is a First Node<T>.

As you can see, its a linked list of nodes where each node is supposed to be a seat (Node<Seat>). The Auditorium is supposed to be a grid of Seat Nodes that contain the seat information within. This way, I can later use the information to intake customer orders and check availability, recommend a best option if not available, etc.

My problem is I'm having trouble creating an overloaded constructor for the Auditorium class. The current auditorium seating information is held in a text file with text such as:

AA.AA....AAA..AACCSS
..AC.....A.........A
S...........AACCCAAC
.AA...CC.SS.....SSC.
A.A..S...S..A......A

I need to add each seat into a node into the auditorium grid before asking the customer for their order to know seat availability.

I tried creating this LONG constructor, but I think the issue is converting the item of type Seat into an item or generic T ((T)currentSeat). This causes the auditorium to output A as ticket type for EVERY single seat in the auditorium. Could you give advice on how to better create an auditorium through the constructor?


       for(int i = 0 ; i < rows ; i++)
       {
           //System.out.println("row " + i);
           currentRowFromFile = readFile.nextLine();
          
           for (int j = 0; j < columns; j++)
           {
               //System.out.println( "column " + j);
               currentSeat.setRow(i);
               currentSeat.setSeat((char)('A'+ j));
               //System.out.print("seat column ");
               //System.out.println((char)('A'+ j));
               currentSeat.setTicketType(currentRowFromFile.charAt(j));
               if(j == 0 && i == 0)
               {
                   First = new Node<T> ((T)currentSeat);  
                   lastNodeCreated = First;
                   thisRowsFirstElement = First;
                   System.out.println("The node being added for index " + i + " " + j + "has seat type: " + currentSeat.getTicketType());
               }
               if(j == 0 && i!= 0) // new row first element
               {
                   //first column on a different row
                   Node<T>newNodeToInsert = new Node<T>((T)currentSeat);
                   thisRowsFirstElement.setDown(newNodeToInsert);   //move down
                   thisRowsFirstElement.getDown().setUp(thisRowsFirstElement);
                   thisRowsFirstElement = thisRowsFirstElement.getDown(); // now continue on this row
                   lastNodeCreated = thisRowsFirstElement;
                   System.out.println("The node being added for index " + i + " " + j + "has seat type: " + currentSeat.getTicketType());
               }
               else if(i == 0 && j != 0) // top row
               {
                   Node<T> newNodeToInsert = new Node<T>((T)currentSeat);
                   lastNodeCreated.setRight(newNodeToInsert);
                   lastNodeCreated.getRight().setLeft(lastNodeCreated); // <-->
                   lastNodeCreated = lastNodeCreated.getRight();  
                   System.out.println("The node being added for index " + i + " " + j + "has seat type: " + currentSeat.getTicketType());
               }
               else if(i != 0 && j != 0) // not top row or first column
               {
                   Node <T> newNodeToInsert = new Node<T> ((T)currentSeat);
                   lastNodeCreated.setRight(newNodeToInsert);
                   lastNodeCreated.getRight().setLeft(lastNodeCreated);
                   lastNodeCreated.getRight().setUp(lastNodeCreated.getUp().getRight());
                   lastNodeCreated.getUp().getRight().setDown(lastNodeCreated.getRight());
                   lastNodeCreated = lastNodeCreated.getRight();
                   System.out.println("The node being added for index " + i + " " + j + "has seat type: " + currentSeat.getTicketType());
               }
           }
  

In: Computer Science

Forte Inc. produces and sells theater set designs and costumes. The company began operations on January...

Forte Inc. produces and sells theater set designs and costumes. The company began operations on January 1, Year 1. The following transactions relate to securities acquired by Forte Inc., which has a fiscal year ending on December 31:

Year 1

Jan. 22 Purchased 23,600 shares of Sankal Inc. as an available-for-sale security at $18 per share, including the brokerage commission.
Mar. 8 Received a cash dividend of $0.21 per share on Sankal Inc. stock.
Sep. 8 A cash dividend of $0.24 per share was received on the Sankal stock.
Oct. 17 Sold 4,700 shares of Sankal Inc. stock at $15 per share less a brokerage commission of $60.
Dec. 31 Sankal Inc. is classified as an available-for-sale investment and is adjusted to a fair value of $26 per share. Use the valuation allowance for available-for-sale investments account in making the adjustment.

Record these transactions on page 11:

Year 2

Jan. 10 Purchased an influential interest in Imboden Inc. for $1,287,000 by purchasing 165,000 shares directly from the estate of the founder of Imboden Inc. There are 500,000 shares of Imboden Inc. stock outstanding.
Mar. 10 Received a cash dividend of $0.29 per share on Sankal Inc. stock.
Sep. 12 Received a cash dividend of $0.24 per share plus an extra dividend of $0.06 per share on Sankal Inc. stock.
Dec. 31 Received $56,400 of cash dividends on Imboden Inc. stock. Imboden Inc. reported net income of $489,800 in Year 2. Forte Inc. uses the equity method of accounting for its investment in Imboden Inc.
Dec. 31 Sankal Inc. is classified as an available-for-sale investment and is adjusted to a fair value of $21 per share. Use the valuation allowance for available-for-sale investments account in making the adjustment for the decrease in fair value from $26 to $21 per share.
Required:
1. Journalize the entries to record these transactions. Refer to the information given and the Chart of Accounts provided for the exact wording of the answer choices for text entries.
Prepare the investment-related asset and stockholders’ equity balance sheet presentation for Forte Inc. on December 31, Year 2, assuming the Retained Earnings balance on December 31, Year 2, is $376,000. Refer to the Chart of Accounts and Amount Descriptions provided for the exact wording of the answer choices for text entries. “Less” or “Plus” will automatically appear if it is required. For those boxes in which you must enter subtracted or negative numbers use a minus sign
HART OF ACCOUNTS
Forte Inc.
General Ledger
ASSETS
110 Cash
111 Petty Cash
120 Accounts Receivable
121 Allowance for Doubtful Accounts
131 Notes Receivable
132 Interest Receivable
141 Merchandise Inventory
145 Office Supplies
146 Store Supplies
151 Prepaid Insurance
161 Investments-Sankal Inc.
163 Investment in Imboden Inc. Stock
165 Valuation Allowance for Trading Investments
166 Valuation Allowance for Available-for-Sale Investments
181 Land
191 Store Equipment
192 Accumulated Depreciation-Store Equipment
193 Office Equipment
194 Accumulated Depreciation-Office Equipment
LIABILITIES
210 Accounts Payable
221 Notes Payable
231 Interest Payable
241 Salaries Payable
251 Sales Tax Payable
EQUITY
311 Common Stock
312 Paid-In Capital in Excess of Par-Common Stock
321 Preferred Stock
322 Paid-In Capital in Excess of Par-Preferred Stock
331 Treasury Stock
332 Paid-In Capital from Sale of Treasury Stock
340 Retained Earnings
350 Unrealized Gain (Loss) on Available-for-Sale Investments
351 Cash Dividends
352 Stock Dividends
390 Income Summary
REVENUE
410 Sales
611 Interest Revenue
612 Dividend Revenue
621 Income of Imboden Inc.
631 Gain on Sale of Investments
641 Unrealized Gain on Trading Investments
EXPENSES
511 Cost of Merchandise Sold
512 Bad Debt Expense
515 Credit Card Expense
516 Cash Short and Over
520 Salaries Expense
531 Advertising Expense
532 Delivery Expense
533 Repairs Expense
534 Selling Expenses
535 Rent Expense
536 Insurance Expense
537 Office Supplies Expense
538 Store Supplies Expense
561 Depreciation Expense-Store Equipment
562 Depreciation Expense-Office Equipment
590 Miscellaneous Expense
710 Interest Expense
721 Loss of Imboden Inc.
731 Loss on Sale of Investments
741 Unrealized Loss on Trading Investments

In: Accounting

Forte Inc. produces and sells theater set designs and costumes. The company began operations on January...

Forte Inc. produces and sells theater set designs and costumes. The company began operations on January 1, Year 1. The following transactions relate to securities acquired by Forte Inc., which has a fiscal year ending on December 31:

Record these transactions on page 10:

Year 1

Jan. 22 Purchased 19,600 shares of Sankal Inc. as an available-for-sale security at $19 per share, including the brokerage commission.
Mar. 8 Received a cash dividend of $0.21 per share on Sankal Inc. stock.
Sep. 8 A cash dividend of $0.24 per share was received on the Sankal stock.
Oct. 17 Sold 1,600 shares of Sankal Inc. stock at $15 per share less a brokerage commission of $80.
Dec. 31 Sankal Inc. is classified as an available-for-sale investment and is adjusted to a fair value of $25 per share. Use the valuation allowance for available-for-sale investments account in making the adjustment.

Record these transactions on page 11:

Year 2

Jan. 10 Purchased an influential interest in Imboden Inc. for $886,950 by purchasing 121,500 shares directly from the estate of the founder of Imboden Inc. There are 450,000 shares of Imboden Inc. stock outstanding.
Mar. 10 Received a cash dividend of $0.29 per share on Sankal Inc. stock.
Sep. 12 Received a cash dividend of $0.24 per share plus an extra dividend of $0.06 per share on Sankal Inc. stock.
Dec. 31 Received $53,800 of cash dividends on Imboden Inc. stock. Imboden Inc. reported net income of $407,200 in Year 2. Forte Inc. uses the equity method of accounting for its investment in Imboden Inc.
Dec. 31 Sankal Inc. is classified as an available-for-sale investment and is adjusted to a fair value of $23 per share. Use the valuation allowance for available-for-sale investments account in making the adjustment for the decrease in fair value from $25 to $23 per share.
Required:
1. Journalize the entries to record these transactions. Refer to the information given and the Chart of Accounts provided for the exact wording of the answer choices for text entries.
2. Prepare the investment-related asset and stockholders’ equity balance sheet presentation for Forte Inc. on December 31, Year 2, assuming the Retained Earnings balance on December 31, Year 2, is $415,000. Refer to the Chart of Accounts and Amount Descriptions provided for the exact wording of the answer choices for text entries. “Less” or “Plus” will automatically appear if it is required. For those boxes in which you must enter subtracted or negative numbers use a minus sign.

In: Accounting

the manager of an amusement park would like to be able to predict daily attendance in...

the manager of an amusement park would like to be able to predict daily attendance in order to develop more accurate plans about how much food to order and how many ride operators to hire. after some consideration, he decided the following three factors are critical: 1. Yesterday's attendance 2. Weekday or Weekend 3. Predicted Weather He then took a random sample of 40 days. For each day, he recorded the attendance, day of the week, and weather forecast. The first independent variable is interval, but the other two are nominal. Accordingly, he created the following sets of indicator variables:

I1 = 1- (IF WEEKEND) 0 - (IF NOT)

I2 = 1 - (IF MOSTLY SUNNY IS PREDICTED) 2 - (IF NOT)

I3 = 1 - (IF RAIN IS PREDICTED) 2 - (IF NOT)

A. Conduct regression analysis

B. Is model valid? Explain

C. Can we conclude weather is a factor in determining attendance

D. Do these results provide sufficient evidence that weekend attendance is, on average, larger than weekday attendance?  

I will attach data in another question

In: Statistics and Probability

#1. [Water Slide & Swing] You are designing a slide for a water park. In a...

#1. [Water Slide & Swing] You are designing a slide for a water park. In a sitting position, park guests slide a vertical distance h down the water slide, which has negligible friction. When they reach the bottom of the slide, they grab a handle at the bottom end of a 6.00-m-long uniform pole. The pole hangs vertically, initially at rest. The upper end of the pole is pivoted about a stationary, frictionless axle. The pole with a person hanging on the end swings up through an angle theta max , and then the person lets go of the pole and drops into a pool of water. Treat the person as a point mass. The pole’s moment of inertia is given by I = (1/3)ML , where L = 6.00 m is the length of the pole and M = 24.0 kg is its mass. In your design, a person of mass m = 70.0 kg is to have a maximum angle of swing of theta max = 72.0˚ after their collision with the pole.

(a) In the "collision" between the slider and the pole, why is angular momentum about the pole's pivot conserved, but linear momentum and kinetic energy are not conserved? Assume that the slider is moving horizontally when they grab the handle on the vertically hanging pole.

(b) What is the angular speed of rotation of the pole & swinger just after the swinger grabs on, in terms of the final height the swinger reaches?

(c) What is the speed of the swinger at the bottom of the slide just before reaching the pole, in terms of their speed just after grabbing the pole?

(d) For a person of mass m = 70.0 kg, what must be the starting height h in order for the pole with person to have a maximum angle of swing of theta max =  72.0˚ after the collision?

In: Physics

Suppose a group of volunteers is planning on building a park near a local lake. The...

Suppose a group of volunteers is planning on building a park near a local lake. The lake is known to contain low levels of arsenic (As). Therefore, prior to starting construction, the group decides to measure the current level of arsenic in the lake.

a) If a 15.7 cm3 sample of lake water is found to have 164.5 ng As, what is the concentration of arsenic in the sample in parts per billion (ppb), assuming that the density of the lake water is 1.00 g/cm3?

One of the volunteers suggests hiring an on-site water treatment company to remove the arsenic from the lake. The company claims their process takes 2.74 days to remove 41.90 kg of As from a water source.

b) Calculate the total mass (in kg) of arsenic in the lake that the company will have to remove if the total volume of water in the lake is 0.710 km3?

c) Based on the company\'s claim and the concentration of arsenic in the lake, how many years will it take to remove all of the arsenic from the lake, assuming that there are always 365 days in a year?

In: Chemistry