H=11.3cm is the height of the triangle.
B=8.7cm is the base of the triangle.
Create a class for the above triangle.
1.Create one default constructor.
2.Create four parameterized constructors .They would look
like-
·Constructor_name(double, double)
.Constructor_name(double, int)
.Constructor_name(int, double)
·Constructor_name(int, int)
3.Create one copy constructor.
4.Create a function which would show the area of the triangle.
5.Create a destructor.
Call each of the functions from main functions. Call Constructor
name(do.
int) using pass by value and Constructor name(int, double) by
pass by
reference.
Find the unit vector that is perpendicular to vectors A=2i + j + k and B= -1 + 2j + k
Given that A(2,3,-1) and B(1,2,4) are points in space. Find the unit vector along the direction of AB and the one along BA. Also find the position vector of the point C which is on the mid-point of AB
2.) 20J of work are required to move 2.0C of charge between two points in an electric field. a.)Find the electric potential difference between the two points.
3.)How much work would be required to move 5.0C of charge between the same two points of the problem above?
Let W = {(x, y, z): y² = x + z}, Is W a subspace of R³
Real life example of static data member in class
What is the total electric flux through a closed surface containing a 2.0 μC charge?
PROBLEM SET 2- PART 1
Question 1 - Elasticity
You are an analyst employed by a yacht manufacturer that last year sold 30,000 luxury yachts at $500,000 each. Your market research indicates that:
i) the price elasticity of demand for your aircrafts in −0.5. (or +0.5 in absolute value);
ii) the income elasticity of demand for your aircrafts is +2.6; and
iii) the cross price elasticity for your aircrafts with respect to the price of a comparable jet manufactured by a competitor is +1.4.
C. Now suppose that the only change you expect is a 6% increase in the price of your aircraft. Estimate sales this year and discuss the impact on total revenues (5 MARKS)
Find the Cartesian product A × B × C where A = (0, 1), B = (1, 2) and C= (0, 1, 2)
A random sample of 40 households has an average water consumption of 29 cubic meters per month with a standard deviation of 8 cubic meters. Give the 90% confidence interval for the mean usage of water per month.