Consider the abstract class declaration:
class aPolygon
{
protected:
long double * sides, // There are N sides with different lengths
* angles; // There are N angles with different sizes
long int no_of_sides; // The number of sides, N, of this polygon
public: aPolygon(long int _sides = 1);
/* It sets no_of_sides = _sides.*/
virtual void input () = 0; // input the derived polygon
virtual void display () = 0; // display the derived polygon
~aPolygon() {}
};
Write a complete C++ class implementation of the following derived class, aSquare, with the class interface::
class aSquare : public aPolygon
{
public:
aSquare(); /* It creates a square as a unit square */
~aSquare() {}
virtual void input(); /* It inputs the data for the square */
virtual void display(); /* It displays the square: angles, sides, perimeter and area */
long double perimeter(); /* It computes the perimeter of the square */
long double area(); /* It computes the area of the square: */
};
A sample of 89.1 g of tetraphosphorous decoxide (P4O10) reacts with 49.0 g of water to produce phosphoric acid (H3PO4) according to the following balanced equation.
P4O10+6H2O⟶4H3PO4
Determine the limiting reactant for the reaction.
Calculate the mass of H3PO4 produced in the reaction.
Calculate the percent yield of H3PO4 is isolated after carrying out the reaction.
A 5.00 L of a gas is collected at 100. K and then allowed to expand to 20.0 L. What must the new temperature be in order to maintain the same pressure (as required by Charles' Law)?
An aqueous potassium iodate stock solution is made by dissolving 6.33 mol KIO in sufficient water for the final volume of the solution to be 4.80 L.
Calculate the molarity of the stock KIO3 solution.
A 10.0 mL aliquot is removed from the described stock solution and diluted to a total volume of 100.0 mL. Calculate the molarity of the dilute solution.
A chemist places 0.550 g KCl in a flask and adds water until the total volume is 0.900 L. Calculate the molarity of the solution.
What is the concentration in millimolar (mM)?
What is y after the following switch statement is executed? Rewrite the code using an if-else statement.
x = 3; y = 3;
switch (x + 3) {
case 6: y = 1;
default: y += 1;
}
. 2.83 g of a sample of haematite iron ore [iron (III) oxide, Fe2O3] were dissolved in concentrated hydrochloric acid and the solution diluted to 250 cm3. 25.0 cm3 of this solution was reduced with tin(II) chloride (which is oxidised to Sn4+ in the process) to form a solution of iron(II) ions. This solution of iron(II) ions required 26.4 cm3 of a 0.0200 mol/dm3 potassium dichromate(VI) solution for complete oxidation back to iron(III) ions.
(a) given the half–cell reactions
(i) Sn4+(aq) + 2e– ==> Sn2+(aq)
and (ii) Cr2O72–(aq) + 14H+(aq) + 6e– ==> 2Cr3+(aq) + 7H2O(l)
deduce the fully balanced redox equations for the reactions
(i) the reduction of iron(III) ions by tin(II) ions
(ii) the oxidation of iron(II) ions by the dichromate(VI) ion
(b) Calculate the percentage of iron(III) oxide in the ore.
Tyrone and John are playing tug-of-war against Jamie and Bronn. Timer is pulling with a 9 N of force, John is playing with a 17 N force, Jamie is pulling with a 13 N Of force and brown is pulling with a 8 N of force. Draw free body diagram and determine what the net force is and in what direction it is acting?
Write a program to display the days of the week
You are to upload only the .java file
Assess and determine how the Enlightenment changed social ideas and practices on today’s modern society