Add methods to the classes and subclasses:
In the main code:
Based on market research, a film production company in Ectenia obtains the following
information about the demand and production costs of its new DVD:
π·πππππ: π = 1000 β 10π
ππππππππ π ππ£πππ’π: ππ = 1000π β 10π2
πππ‘ππ πΆππ π‘: ππΆ = 1000 β 20π
ππππππππ πΆππ π‘: ππΆ = 100 + 10
Where, Q indicates the number of copies sold and P is the price in Ectenian dollars.
Bobby quits his job as a veterinarian to open a model train store. Bobby made$80,000 a year as a veterinarian. The first year his train store is open, Bobby pays a helper $26,000. He also pays $24,000 in rent, $10,000 in utilities, and buys$200,000 of model trains. Bobby had a good year because he sold all of his model trains for $300,000.Bobbyβs normal profit is $30,000.
a. What would an accountant calculate as Bobbyβs profit?
b. What is Bobbyβs total opportunity cost? What is his economic profit?
1. Three capacitors with individual capacitances of 2 ΞΌF, 5 ΞΌF, and 10 ΞΌF respectively are connected in series with a 12V battery. What are the total capacitance and total charge in the network? 2. Same capacitors in number 1 connected in a parallel. If the combined charge in the network is 50 ΞΌC, what are the total voltage and total capacitance in the network?
A copper wire has a resistance of ππ. πΞ© at a temperature of 14β. After a
current passes through the windings, the resistance rose to ππ. πΞ©. To what
temperature was the wire heated?
Mr Kishan owns a supermarket and he has stored the price of all items in an array. However he wants to now increase the price of all items by Rs 5. Write a program using functions which increments the price of all items by Rs 5 and displays the updated list.
Write Java program that randomly generate two Integers between 1 and 10 as input and perform an operation (+,-,*,x,/) on them and displays the result of that operation. The program should tell the user whether the result is an even number or odd number. If the result is an even number the program should generate again two integers and repeat the process again. The program will only stop when the result of the operation is an odd number.
Hint: (An even number is a number that can be divided into two equal groups. An odd number is a number that cannot be divided into two equal groups)
Expected output of the program
The number of time the program generated the random number.
The value of the odd that stops the program.
Marks allocation
1. Use of a random function - 10 Marks
2. Use of a loop - 10 Marks
3. Use of a switch case 10 Marks
4. The use of a sentinel value - Odd number to stop the program - 10
4. correct output- 10
predict the formula for the selenate ions
1.Β Given the data 6, 9, 12, 15, 16, 19, 22. Construct a sampling distribution of the sample mean without replacement and repetition by selecting 2 samples at a time.
total sales a company has four sales people who sell 5 different products. once a day, each salesperson passes in a slip for each different type of product sold. each slip contains a) salesperson id b) product number c) total price (in rs.) of that product sold that day assume that all slip data are stored in a file. write a program that can be used by every salesperson to store his/her data in the file. write another program to generate weekly summary report on every saturday night in a tabular format. report will display (based on userβs choice) a) product-wise daily sale b) salesperson-wise daily sale c) maximum and minimum sale (product and salesperson-wise) d) total summary of weekly sales