A survey found that the average hotel room rate in Luzon is ₱2,300 and the average room rate in Mindanao is ₱2,150. Assume that the data were obtained from two samples of 75 hotels in Luzon and 80 hotels in Mindanao and the standard deviations were ₱250 and ₱215, respectively. At α=0.05, can it be concluded that there is a significant differences in the rates? (10 points)
Find the error(s) in each of the following program segments and explain how the error(s) can be
corrected:
(i) int function1()
{
cout << "Inside function function1 " <<
endl; int function2()
{
cout << "Inside function function1 " << endl;
}
}
(ii) int sum(int x, int y)
{
int result;
result = x +
y;
}
(iii) int computeProd(int n)
{
if (n == 0)
return 0;
else
}
n * computeProd(n – 1);
(iv) void aFunction(float a)
{
float a;
cout << a << endl;
}
(v) void theProduct()
{
int
a;
int
b;
int
c;
int result;
cout << “Enter three integers “ <<
endl; cin >> a >> b >> c;
result = a * b * c;
cout << “Result is “ << result <<
endl; return result;
}
(vi) float calculateSquare(float number)
{
return number * number;
}
How many number of atoms does contain in 7g KOH(POTASSIAM HIDRO OXIDE)?
Write function headers for the functions described below:
(i) The function check has two parameters. The first parameter should be an integer number and the
second parameter a floating point number. The function returns no value.
(ii) The function mult has two floating point numbers as parameters and returns the result of
multiplying them.
(iii) The function time inputs seconds, minutes and hours and returns them as parameters to its
calling function.
(iv) The function countChar returns the number of occurrences of a character in a string, both provided as
parameters.
For the hypothetical reaction A + B ==> Products, the following initial rates of reaction have been measured for the given reactant concentrations.
What is the rate law expression for this reaction? Solve the problem. Show your work.
Test 1 = [A](M) 0.010, [B](M) 0.020, Rate (mol/(L x hr)) 0.0120
Test 2 = [A](M) 0.015, [B](M) 0.010, Rate (mol/(L x hr)) 0.010
Test 3 = [A](M) 0.010, [B](M) 0.020, Rate (mol/(L x hr)) 0.005
triangle TAB is located at T(2,3), A(1,1) and B(4,-3). Plot the shape, reflect this over the y-axis, then translate the image by rule (x,y) to (x+2, y- 1). record the coordinates of the images in the provides spaces.
A health specialist wants to determine the average number of hours a person exercise
in a day during the quarantine period. She found out that the mean number of hours a
person exercise in a day during the quarantine period is 80 minutes. A random sample of
29 persons were surveyed and found that their mean is 65 minutes and a standard
deviation of 10 minutes. Test the hypothesis at 2% level of significance and assume that
the population is normally distributed.
Name and explain in details at least 5 pre maths concepts learners need to be able to master in their Grade R year
For a particular school year, the registrar of a university wanted to know the proportion of students who are enrolled in the Sciences. The enrollment data showed total enrollment of 6 534 students. Of this total, there were 4 286 enrolled in various Science courses. What do the numbers say about the course preferences of the students?
An electrical company claims that the average life of the bulbs it manufactures is 1 100 hours with a standard deviation of 200 hours. If a random sample of 110 bulbs is chosen, what is the probability that the sample mean will be between 1120 hours and 1 150 hours?