Question1: Define a class Human that contains: - The data fields "first name" and "last name" - A constructor that sets the first and last name to the instance variables. Create also a no-argument constructor - A getName() method which prints the first and last name Define the class Student which inherits Human and contains: - Private data field "mark" of type integer and a constructor which calls the superclass constructor Define the class Worker which inherits Human and contains: - Private date fields "wage" and "hours worked", and a constructor which calls the superclass constructor - A setWageInfo() method which sets the wage information to the instance variables - A calculateWage() method which calculates a worker’s salary based on wage and hours worked Write a program called HumanTest that instantiates two Human objects (one using the noargument constructor and another using the constructor with parameters). Call the method getName(). Create a Student object which calls the getName() method. Create a Worker object which calls the methods getName(), setWageInfo(), and claculateWage().
In: Computer Science
16. Explain the concept of Globalization Strategy and provide real examples.
17. Explain the concept of Service Technology and provide examples.
18. Explain the concept of Virtual Network Structure and provide examples.
19. Explain the difference between the concepts of Business Management and Technology Management. Provide examples.
20. Concepts such as ‘civic responsibility,’ ‘social responsibility;’ what do they have in common? Provide examples.
In: Operations Management
In: Psychology
Prepare an ONE Page Reflection on Perceiving Depth and Size
In: Psychology
Consider the different grief models and Bonanno's book, what are some things you can do/think or not do/think that will improve your chances of having a resilient response to the loss.
In: Psychology
In: Biology
Paul plays video games only with his young daughter and never alone. For this reason, he always buys exactly two controllers with each purchase of a new gaming console. Otherwise he does not get any utility from owning consoles or controllers.
f) Find the Total, Income and Substitution effect on consoles, associated with the price decrease in consoles. Provide the economic interpretation behind your results. g) Find the Total, Income and Substitution effect on consoles, associated with the price decrease in consoles. Provide the economic interpretation of your results. h) Find the Total, Income and Substitution effect on controllers, associated with the price decrease in consoles. Provide the economic interpretation of your results. i) Verify that the Slutsky equation holds for both goods.
In: Economics
In: Operations Management
Question 2: Design a class named Square that contains data fields side and surfaceArea, and a method called getSurfaceArea(). Create a child class named Cube. Cube contains a getCubeSurfaceArea() method that calculates the cube surface area. Write a program called DemoSquare that instantiates a Square object and a Cube object and displays the surface areas of the objects. Use the methods created to set the value of the side, and return the surface area. Hint: square area= side*side, Cube surface area= 6 × side2
In: Computer Science
In: Operations Management
please make sure you do all questions and you have the right answers.
1- A parallel-plate capacitor is connected to a battery. The
space between the two plates is empty. If the separation between
the capacitor plates is tripled while the capacitor remains
connected to the battery, what is the ratio of the final stored
energy to the initial stored energy?
.....
-------------------------------
2- Design a 0.4 µF parallel-plate capacitor with air between the plates that can be charged to a maximum potential difference of 1160 V.
(a) What is the minimum possible separation between the
plates?
..... mm
(b) What minimum area must the plates of the capacitor have?
...... m2
In: Physics
why it is important to understand the legal and regulatory implications associated with the health care system (health care delivery and health insurance)?
In: Operations Management
Design an algorithm that minimises Ccmp, the number of comparisons of two books’ labels in the alphabetical order, and Cmov, the number of book movements (one movement is counted whenever a book is moved from one location to another) in the worst case. Suppose there arenbooks on the main shelf, which haveal ready been sorted in an ascending alphabetical order. The m newly arrived books are carried into the library on a portable shelf.
a) Scenario 1: The newly arrived books have also been sorted in an ascending alphabetical order and you are allowed to use a temporary shelf of an infinite capacity. Design an algorithm (description + pseudo code) for the robot to arrange the new books onto themain shelf using Ccmp=Θ(n+m) label comparisons and Cmov=Θ(n+m) book movements in the worst case. Explain why your algorithm has the stated worst case complexity (ignoring the constant and choosing the dominant term in your analysis).
Algorithm ArrangingBooksScenario1(A,B,C,n,m)
//A,B, and C represent the arrays of book labels for the main, the portable, and the temporary shelves
//COMPLETE WITH YOUR PSEUDO CODE HERE
b) Scenario 2: There is no temporary shelf to use in the library and the number of newly arrived books,m, is a small constant compared ton, for instance,m=10. Design an algorithm (description + pseudo code) for the robot to arrange the new books onto the main shelf using Ccmp=Θ(log(n)) label comparisonsin the worst case. What is the number of book movements Cmov incurred in the worst-case of your algorithm and why?
Algorithm ArrangingBooksScenario2(A,B,n,m)
// A and B represent the arrays of book labels for the main and the portable shelves
//COMPLETE WITH YOUR PSEUDO CODE HERE
P/s: I have already posted this question, but haven't received a useful idea for it. So, please help me with a useful idea and more detailed pseudocode.
In: Computer Science
In: Operations Management
Consider 2 airplane manufacturers that compete as Cournot duopolists in the market for commercial aircraft. Arrowing (firm A) has a cost function given by ?(??)=?/???, whereas SkyTrain (firm S) has a cost function given by ?(??)=?/???^?. The market demand function for commercial airliners is given by:?=???−?? where ?is the sum of the quantity of planes available for purchase.
a)If firm A chooses output first, find the Stackelberg equilibrium quantities supplied by each firm and find the equilibrium price.
In: Economics