Instructions:
1. Input a random positive integer. Then, create an integer array with a size the same as the inputted integer.
2. Then, using loops, add random integer values into the array one by one. The number of values to be stored is dependent on the inputted odd integer on the first instruction.
3. Print out the list's new order in this manner, with each number separated by a space per row:
second-half values
middle value
first-half values
Refer to the sample output for a clearer view on how it is to be printed out.
Input
The first line contains an odd positive integer. It is guaranteed that this integer is greater than or equal to 3.
The next lines contains an integer.
5
1
3
4
5
2
Output
A line containing grouped arrays.
{2,5}-{4}-{3,1}
1. The sequence {Un} is defined by the first term u1=-2 and the recurrent relation : Un+1=Un/4 +3
a. Evaluate U2,U3,U4
b. Consider the sequence Vn such that Vn=Un+1-Un for n>=2
c. Prove that {Vn} is a G.P
d. Express Vn and Un in terms of n.
e. Evaluate the limits of Un and Vn
f. Is Un an increasing or decreasing sequence ?
If a➡️ <a1,a2,a3>, b➡️ <b1,b2,b3> are two vectors in space
Write down the formula of the cross product of these vectors and show all calculation.
Suppose that we will take a random sample of size n from a population having mean u and standard deviation o. For each of
the following situations, find the mean, variance, and standard deviation of the sampling distribution of the sample mean X:
a. μ = 10, o=2, n = 25
b. μ=500, o=.5, n = 100
C. μ=3, o =., n=4
d. μ= 100, o=1, n = 1,600
What will I do here if the mean and stdv is already given? TT sorry I am confused
Boyce earns P35.00 per hour at his job. What would be his annual income be if he works 8 hours per day, 5 days per week, and 50 weeks per year? Write a script to support you answer, the script should prompt a user to enter his\her hourly rate, number of hours per day, number of days per week and number of weeks per year. Then the system computes the annual income [10 marks]
If Scores are normally distributed with a mean of 30 and a standard deviation of 5. What percent score is.
a.) Equal or greater than 30?
b.) Equal or greater than 37?
c.) From 28 to 34?
what is Jones oxidation and write the mechanism of Jones oxidation?
Determine the displacement vector that must be added to the displacement(25i - 16j) metre to give a displacement of 7.0 metres pointing in the x+ direction
The average height of 12 children is 124.7 with a standard deviation of 7.5. Assuming
that the heights are normally distributed, what percent of the students have a height of
132.2 and longer?
Elle Joy Vasquez
Preliminary Test 02
Create Python function that checks whether a passed string is PALINDROME or NOT.
Note: A palindrome is a word, phrase, or sequence that reads the same backward as forward, e.g., madam or nurses run.