The curve 𝑦=−𝑥3+3𝑥2+6𝑥−8 cuts the 𝑥-axis at 𝑥=−2,𝑥=1 and 𝑥=4.
a. Sketch the curve, showing clearly the intersection with the coordinate axes.
b. Differentiate 𝑦=−𝑥3+3𝑥2+6𝑥−8
c. Show that the tangents to the curve at 𝑥=−2 and 𝑥=4 are parallel.
Your boss sent you a notepad file called numbers.txt containing an
unknown number of integers. He requests you to write a single program
that a) reads these numbers into an array b) checks whether the file
has correctly opened c) prints out the average of all the numbers in the
array d) then program should search the array to see whether integer 150
is present e) finally the program should print out all the positive numbers
in the array. [20]
A curve is described by 𝑦=𝑝𝑥2+𝑞𝑥, where 𝑝 and 𝑞 are constants.
a. Find an expression for the gradient of this curve at any point.
b. Given that at the point (1,−2) the gradient is 6, calculate the values of 𝑝 and 𝑞.
c. Show that the equation of the normal to the curve at the point (1,−2) can be written as 𝑥+6𝑦+11=0.
Create a class called Cuboid with the data members: length (float), breadth (float) and height (float). Use an inline function and calculate the area of the base using the formula = length * breadth and print it.
Define another member function and calculate the total surface area of the cube using the formula = 2*(length*breadth + breadth*height + height*length) and print it.
Define a friend function to calculate the volume of the cuboid using the formula = length*breadth*height. After calculating the volume, calculate the amount of liquid that can be stored if 1𝑚3 can store 100 liters of liquid.
QUESTION: A study believes that 70% of adults in the Philippines own a cellphone.
A cellphone manufacturer believes that the actual number is much
less than 70%. 100 Filipino adults were surveyed, of which 74 have
cellphones. Using a 5% level of significance, is the cellphone
manufacturer’s claim valid or not?
CLAIM:
EVIDENCE:
REASONING:
Directions: Draw a conclusion for the given situation using the five-step hypothesis testing
procedure for population proportion in both methods (critical value method and
the p-value method)
1. A nationwide poll claims that the country’s president has a less than 64% approval rating.
In a random sample of 120 people, 69 of them gave the president a positive approval
rating. Test the claim at 0.05 level of significance.
by CodeChum Admin
I'm quite into games now, so how about we play In or Out! When a given number is even, the team scores so we shall print "In", but if it's not an even number, then we print "Out". Simple, right?
Now let's get this game started.
Input
A line containing an integer.
35Output
A line containing a string.
OutThe local convenience store makes personal pan pizzas. Currently, their process makes complete pizzas, fully cooked, for the customer. This process has a fixed cost of $20,000, and a variable cost of $1.75 per pizza. The owner is considering a different process that can make pizzas in two ways: completely cooked (as before), or partially cooked and then flash frozen, for the customer to finish at home. This alternate process has a fixed cost of $24,000, but a lower variable cost (because much less energy is used in baking) of $1.25 per pizza.
a. What is the crossover point between the existing process and the proposed process?
b. If the owner expects to sell 9,000 pizzas, should he get the new oven?
calculate the vapour pressure of solution at 25°C containing 26.9g of urea CO(NH2)2 in 712g H2O.( Vapour pressure of water at 25°C is 23.8mmHg)
When 0.600 liters Ar at 1.20 atm and 227°c is mixed with 0.200 liters of oxygen, at 591 torr and 127°c in a 400ml flask at 27°c, what is the pressure in the flask?