We want make a package of goal kilos of chocolate. We have small bars (1 kilo
each) and big bars (5 kilos each). Return the number of small bars to use, assuming
we always use big bars before small bars. Return -1 if it can't be done.
makeChocolate(4, 1, 9) → 4
makeChocolate(4, 1, 10) → -1
makeChocolate(4, 1, 7) → 2
Skeleton of the method you should use to return the number:
public int makeChocolate(int small, int big, int goal) {
}
Two coins are tossed.let H be the the number of tails that occur.determine the values of the random variable H
All of the following will shift the investment demand curve to the right
EXCEPT
A. A decrease in the corporate income taxes
B. An increase in the productivity of new capital
C. An increase in real interest rates
D. An increase in corporate profits
Find the complete integral of p - 3 x² = q² - y
Create a class named Vehicle with instance variables make (String type), color (String type), year ( integer type) and model ( String type). All the variables have default access behaviour. Vehicle class also contains a constructor with four parameters to initialize the make, color, year and model of a specific Vehicle object.
Vehicle class also has a method named printDetails() with return type void and default access to show the output of make, color, year and model of a specific Vehicle object.
Create another class named Car that inherits Vehicle class. Car class has a private instance variable called bodyStyle (String type). The Car class also should have a constructor with five parameters. Now create the main class named Main. Inside the main method of the Main class create an object of Car class by calling the Car class constructor. Then call the printDetails() method using the created object. Finally also output body style of the Car object.
Prove that if f and g are Riemann integrable on [a, b], then f · g and f + g are Riemann integrable on [a, b].
Prove that a subset of a set of measure zero has measure zero.
1.The following assets were invested in the enterprise; cash, 3500, accounts Receivable 950 supplies 1200; and photographic equipment 15000. There were no liabilities transferred to the business.
v March 1. Paid 2400 on for 3 moths office rent
v March 4. Purchased photographic equipment on account for 2500
v March 5. Received 850 from credit customers
v March 6. Paid 125 for advertisement( Miscell.exp)
v March 10. Paid 500 to settle March 4 debt
v March 13. Paid 575 for two weeks’ salary
v March 16. Received 1,980 from sale of service
v March 20. Paid 650 for supplies purchase
v March 27. Paid 575 for two weeks’ salary
v March 31. Paid 69 for telephone bill for the month
v March 31. Paid 175 for electric bill for the month
v March 31. Received 1870 from sales of service
v March 31. Make sales on account for 1,675.
v March 31. Hill withdrew 1500 for her personal use
v March 31. Recorded depreciation on photographic equipment @ 1%
answer the below.
v Journalize closing entry
v prepare post-closing trial balance
Show that the union of two sets, each of measure zero, has measure zero
Let fn(x)= nx/(1+nx) is not uniformly convergent on [0,1]