Create a project to model student with firstname, lastname, age, gender and student number. Create two construtors, one to be used as default and another to include all attributes. Add a class attribute to keep count of all registered students. Use the class attribute to generate student numbers with the following format 22201XYZ, where XYZ is the current count provided by the class attribute. Implement the respective getters and setters for each attribute. 2. In plane geometry, the x- and y axis of a 2D Cartesian system divide it into four infinite regions called quadrants. Your task is to model each point with an x-value and y-value. Apart from the constructors, getters and setters, implement a getQuadrant method to determine the region in which a given point falls.
A positive charge, q = +20 nC, is on the y-axis at y = +4.00 cm.
(a) Determine the magnitude and direction of the electric field at the origin.
(b) What will be the magnitude and direction of the electric field at the origin if the charge is -20 nC?
Friend and Enemy
A group of F friends went to a haunted house.Each member was given a shirt with a number on it ranging from 1 to F. As they entered the haunted house, one of them was kidnapped and an enemy joined them.But unfortunately, the enemy didn't wear the shirt with the same number as the kidnapped one, instead wore the same as some other person.Find the numbers on the shirts of the enemy and the kidnapped person.
Input
The input is a single line containing space-separated positive integers from 1 to F.
Output
The output should be a single line containing the shirt numbers of the enemy and kidnapped person separated by a space.
Explanation
The given array is 3 1 5 2 1.
In the range from 1 to 5, the number 1 has occured twice and 4 is the missing number. So, 1 belongs to the enemy's shirt, and 4 belongs to kidnapped.Hence, the output should be 1 4.
Sample Input1
3 1 5 2 1
Sample Output1
1 4
Sample Input2
1 2 2 4
Sample Output2
2 3
Two charges are on the x-axis. Charge q1 = +25 nC is at x = 4.00cm while charge q2 = -75nC is at x = 7.00 cm,
Find the magnitude and direction of:
a.) the electric force that q1 exerts on q2; and
b.) the electric force the q2 exerts on q1.
Illustration:
Free-body diagram:
Which poverty metrics are used globally to calculate poverty levels?
A. Upper-bound line
B. Lower bound poverty line
C. Food poverty line
D. All of the above
discuss in detail three biological and three sociological age theories of your choice
Mike earns R500 per month and he is required to pay SARS 13% of his salary. How much is Mike left with after paying SARs monthly?
a steel plug has a diameter of 5cm at 30°c .atehat temperature will it fit exactly into a hole of constant diameter 4.997cm ( coefficient of liner expansion of stee is 11×10-60C-1
List and explain in brief the various types of plant layout concepts in operations management, highlighting the objective, considerations of a good layout design. Give examples on where each of these types can be employed respectively. Briefly explain a layout for a Banking branch operations (mention the type of layout applicable).
Organisation X in China administered the Nootropics pill(cognitive-enhancing drug) to their employees so that their brainpower could be boosted translating into more productivity for organisation X. By administering the cognitive-enhaancing drug to their employees, organisation X emphasised the importance of the (1.) ....management style in order to ensure that they increase profits. However, a new manager started working at organisation X and emphasized the importance of the employees and managers effectively working together in an organized manner so that Organisation X could be more productive. The new manager utilised the (2.)....theory. As the debates at Organisation X increased on which management style is suitable. Organisation X's HR specialist highlighted that it is important for employees to be happy and have their needs met, which is referred to as (3.).......
A. Scientific Management
B. Classical Organisation
C. The human relations to movement
D. Theory X