Create a calculator for the complex number by creating a class of complex number (with two member variables, required constructor(s) and functions) with overloading all operators in it.(Operators: ++,--,+,-,/,*).
2. We want to keep track of Students studying in university. To do so create a class Students that has the following instance variables Reg_no, Name, Age, Address, Semester, CGPA and Fee. Where address is the object of address class and fee is same for all students.
The Student Class should have default constructor and augmented constructor. You need to write set() method to assign values to the instance variables and a method which can return grade using CGPA. You are required to create two objects of Student class and then display his Data along with grade.
In a charming 19th-century hotel, an old-style elevator is connected to a counterweight by a cable that passes over a rotating disk 1.87m
1.87m in diameter. The elevator is raised and lowered by turning the disk, and the cable does not slip on the rim of the disk but turns with it. Through how many revolutions has the disk turned when it has raised the elevator 3.36m
3.36m between floors?
Write a class Box with three variables length, width and height. Design suitable constructors, set and get functions. Write the main function and create the different objects of Box class. We want to count the objects of Box class what more you can add in your class to achieve the counting facility. Write the code and display the number of object created so far.
In a charming 19th-century hotel, an old-style elevator is connected to a counterweight by a cable that passes over a rotating disk 2.9m
2.9m in diameter. The elevator is raised and lowered by turning the disk, and the cable does not slip on the rim of the disk but turns with it. At how many rpm
rpm(revolutions per minute) must the disk turn to raise the elevator at 14.7
14.7 cm/s?
In a charming 19th-century hotel, an old-style elevator is connected to a counterweight by a cable that passes over a rotating disk 1.87m
1.87m in diameter. The elevator is raised and lowered by turning the disk, and the cable does not slip on the rim of the disk but turns with it. Through how many revolutions has the disk turned when it has raised the elevator 3.36m
3.36m between floors?
In a charming 19th-century hotel, an old-style elevator is connected to a counterweight by a cable that passes over a rotating disk 1.87m
1.87m in diameter. The elevator is raised and lowered by turning the disk, and the cable does not slip on the rim of the disk but turns with it. Through how many revolutions has the disk turned when it has raised the elevator 3.36m
3.36m between floors?
In a charming 19th-century hotel, an old-style elevator is connected to a counterweight by a cable that passes over a rotating disk 2.9m
2.9m in diameter. The elevator is raised and lowered by turning the disk, and the cable does not slip on the rim of the disk but turns with it. At how many rpm
rpm(revolutions per minute) must the disk turn to raise the elevator at 14.7
14.7 cm/s?
The resistance 𝑅𝜃 of a particular resistance thermometer at a Celsius temperature 𝜃 as measured by a constant-volume gas thermometer is given by
𝑅𝜃 = 50.00 + 0.1700𝜃 + 3.00 × 10−4𝜃2.
Calculate the temperature as measured on the scale of the resistance thermometer which corresponds to a temperature of 60°𝐶 on the gas thermometer.
Sketch the graph of f(x)=|x| where x belongs to R, state it domain and range.