Write a program to perform basic to class conversion [Such as there is a class named: “conversion” with data members: feet and inches (both int)] Convert basic type(int) height in terms of total number of inches into equivalent feet and inches (class type) and display output on screen.
Discuss constructors with default arguments and constructor overloading with the help of suitable examples.
You are required to design and implement a “Dice Roller” program that allows the user to simulate rolling dice. The user is prompted to enter their desired roll in “[quantity]d[sides]” format, e.g. “4d6” would roll four six-sided dice and “2d10” would roll two ten-sided dice. After each roll, some statistics are displayed and the user is prompted to enter another roll. The user may enter “x” to exit the program, or “h” to view some instructions. An advanced feature of the program is to allow the user to perform rolls with “exploding dice”, indicated by adding a “!” to the end of the roll, e.g. “4d6!” This is detailed later in this document. Details of the program requirements can be found in the “Program Requirements” section.
The titration of a 10.0ml sample of vinegar requires 30.0ml of 0.20 M NaOH solution. Calculate
i. The molarity
ii. The mass /mass percent concentration of acetic acid.
Given that the density of acetic acid is 1.01g/cm3
Suppose that a game is to be played with a single die
assumed fair. In this game a player wins $20 if a 2 turns up,
$ 40 if a 4 turns up; loses $30 if a 6 turns up; while the
player neither wins nor loses if any other faces turns up.
Find the expected sum of money to be won.
if hiking is so good for you why does author andrea lankford look 90 when shes not even 60
a) A driver was speeding with 40 m/s in his 1800 kg car when he notices a police car with a radar and slows down to a legal speed of 19 m/s. What is the change of the kinetic energy of the car? What is the amount of work done on the car during the deceleration?
b) A repairman of mass 80 kg climbed a 10 m vertical latter to reach the roof of a building in 12 seconds. What is the power developed by the man against gravity?
A hockey puck lies still on ice. Another hockey puck is hit and is on course of collision with it with an initial velocity of +v. The pucks have the same mass and have glue around their edges. Neglect friction with ice. Predict the velocity that the puck which was initially at rest will have after collision, knowing that the pucks will stick together:
a) –v
b) +v
c) –v/2
d) +v/2
A squash ball hits a wall with an initial speed of u and it rebounds in the opposite direction with speed v. Knowing that some energy has been lost through heat in the collision so that v < u and that the duration of the collision is t, find the magnitude of the average force exerted by the wall on the ball.
a) F = m(u+v)/t
b) f = m(u-v)/t
c) F = 0
d) F = m(2v-u)/t
A box rests on a surface that is lifted by one end to create a larger and larger angle with the horizontal. When the surface reaches an angle of exactly 30 degrees with the horizontal, the box begins to slide down. What is the coefficient of static friction?
a) μs = 1/√ 3
b) μs = 2/√ 3
c) μs = √ 3
d) μs = 0.5