Homework Answers

Math 58880 52480
Physics 50710 47629
Chemistry 44357 42759
Programming & Computer Science 34330 30918
Economics 34267 33209
English 12729 11462
Biology 9425 8734
Management 8270 7078
Engineering 8082 6895
History 4259 3853
Psychology 2611 2287
Geography 2457 1903
Sociology 2387 2125
Law 2080 1463
Other 2007 1890
Marketing 1915 1605
Philosophy 1405 1148
Political Science 1107 1010
French 565 528

Questions: 281 843

Answers by our Experts: 258 976

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

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. In the code editor, you are provided with a main() function that asks the user for the 3 integer inputs required for this program and calls the getResult().
  2. This getResult() function has the following details:
  3. Return type - int
  4. Name - getResult
  5. Parameters
  6. int - Base integer
  7. int - Initial factor
  8. int - Number of times to process
  9. Description - this is a recursive function which implements the desired behavior explained in the problem description
  10. The getResult() function is partially implemented already. Your only task is to add the correct recursive case.
  1. In the code editor, you are provided with a main() function that asks the user for a string and passes this string and the size of this string to a function call of the function, preserveString().
  2. This preserveString() function has the following description:
  3. Return type - void
  4. Name - preserveString
  5. Parameters
  6. The string
  7. Length of the string
  8. Description - this is a recursive function that prints the string repeatedly. Each time it prints the string, it excludes the last character of the string until only one character is left.
  9. This preserveString() function has already been partially implemented. Your only task is to add the recursive case of this function.

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



LATEST TUTORIALS
APPROVED BY CLIENTS