Example:
Base integer = 3
Initial factor = 2
Number of times to process = 3
Process:
1.) 2 x 3 = 6
2.) 6 x 3 = 18
3.) 18 x 3 = 54
Therefore, the output would above would be 54.
Instructions:
1. A stone is thrown vertically upward from ground level. Six seconds later, a second stone is also thrown vertically upward from the same point with a velocity of 40 m/sec. If the two stones meet 30 meters above the ground with the first stone already going down, with what velocity was the first stone thrown?
When is it justifiable to torture suspected criminals?
in this problem ,you need to store two values : the number of customers and the budget for the food and then output the values while following the format shown in the output sample below ,However, to give some you some challenge ,you have to use just one variables to store the two .Remember the concept of overwriting variable values in c++ and you' re good to go! output containing a string on each customers =15 Budget= PHP 15000
How many moles of helium would give a pressure of 900 mm Hg in 25.0 L vessel at
500C?
Write a complete Java program illustrating the difference between instance and static members of class. Indicate with comments where each is used and explain the significance of making the instance or static. (6 marks)
10.) A bullet is fired at an initial velocity of 150 m/s and an angle of 56° at the top of a 120 m tall building. Neglecting air resistance, determine the following:
a. The maximum height above the level ground that can be reached by the bullet.
b. The time for the bullet to hit the ground.
c. The velocity with which the bullet will hit the ground
If A'B + CD' = 0, then prove that:
AB + C'(A' + D') = AB + BD + (BD)' + A'C'D.
Making use of object orientation write a program that stores and evaluates the total cost for items bought from a supermarket. The cashier should enter the following: - Product code, Price and Quantity. The total price should be evaluated as follows: -
Total cost = Price * Quantity
If the total cost per item is more than 20,000 there is a discount of 14% on that item and a discount of 10% on an item whose total cost is between 10,000 and 20,000. No discount is given on items whose total cost is less than 10,000