C# PLEASE
Lab7B: For this lab, you’re going to write a program that prompts the user for the number of GPAs to enter. The program should then prompt the user to enter the specified number of GPAs. Finally, the program should print out the graduation standing of the students based on their GPAs. Your program should behave like the sample output below.
Sample #1:
Enter the number of GPAs: 5
GPA #0: 3.97
GPA #1: 3.5
GPA #2: 3.499
GPA #3: 3.71
GPA #4: 1.9
Student #0: Summa Pum Laude
Student #1: Pum Laude
Student #2: Graduating
Student #3: Magna Pum Laude
Student #4: Not graduating
Sample #2:
Enter the number of GPAs: 7
GPA #0: 0.03 GPA #1: 4.0
GPA #2: 3.32 GPA #3: 2.81
GPA #4: 3.75 GPA #5: 3.85
GPA #6: 2.3
Student #0: Not graduating
Student #1: Summa Pum Laude
Student #2: Graduating
Student #3: Graduating
Student #4: Magna Pum Laude
Student #5: Magna Pum Laude
Student #6: Graduating
In: Computer Science
Q1) Plot the root locus for the following systems where the given transfer function is located in a unit negative feedback system, i.e., the characteristic equation is 1+KG(s)=0. Where applicable, the plot should indicate the large gain asymptotes, the angle of departure from complex poles, the angle of arrival at complex zeros, and breakaway points. Verify your answer using MATLAB (“rlocus” command) and show the results obtained from MATLAB.
a) G(s) = (s + 4) (s + 2) 2 (s +1+ j4)(s +1? j4)
b) G(s) = 1 s(s + 2)(s 2 + 2s + 2)
c) G(s) = (s 2 + 25) s(s +1)(s + 2)
d) G(s) = 1 s(s 2 + 4s + 3)
e) G(s) = (s + 3) s 2 (s + 4)
f) G(s) = (s +1) s 2 (s + 2)
In: Electrical Engineering
For each of the questions below calculate (show all work):
1) Null and alternative hypothesis
2) Cutoff score (α, dfBG,
dfE)
3) Sum of squares between- and within-groups (SSBG,
SSE)
4) Mean square between- and within-groups (MSBG,
MSE)
5) Fobt
6)Decision to retain or reject the null and write-up
Carl wants to know if vodka (5, 10, or 15 shots) affects the number of times (out of 10 throws) people hit a three-pointer with a basketball. He is predicting that the groups will differ significantly (α = .05). (Round to the hundredths place)
|
5 shots |
10 shots |
15 shots |
|
4 |
3 |
4 |
|
4 |
2 |
2 |
|
5 |
3 |
3 |
|
4 |
4 |
1 |
In: Statistics and Probability
10 questions on S&D, price floor and excise tax. Graph these coordinates and answer the questions: (you will also have to draw a $4 tax on top of S and, separately, a $6 price floor). Initial equilibrium is (4, $4).
| $ | S qty | D qty |
| X | Y | Y |
| 0 | 0 | 8 |
| $2 | 2 | 6 |
| $4 | 4 | 4 |
| $6 | 6 | 2 |
| $8 | 8 | 0 |
Question 7 (1 point)
With a price floor of $6, what is the total amount that consumers pay?
|
a |
Under $5 |
|
b |
Between $5 and $7 |
|
c |
Between $7 and $10 |
|
d |
Over $10 |
Question 8 (1 point)
With the price floor of $6, what is the Producer Surplus?
|
a |
Under $3 |
|
b |
Between $3 and $9 |
|
c |
Between $9 and $11 |
|
d |
Over $11 |
Question 9 (1 point)
Which scenario would the Producers prefer?
No tax or floor, $2 tax, or $6 price floor?
|
a |
No tax or floor. |
|
b |
$4 tax |
|
c |
$6 price floor |
|
d |
We cannot tell from the data |
Question 10 (1 point)
Which scenario would the consumer prefer?
|
a |
No tax or price floor |
|
b |
$4 tax |
|
c |
$6 price floor |
|
d |
We cannot determine this from the data |
In: Economics
Suppose that Mr. Whipple spends his entire income on Charmin and Kleenex. The marginal utility of each good is shown below. The price of Charmin is $2 and the price of Kleenex is $3. How many units of each good should he purchase, assuming he has $20 to spend?
|
Marginal Utility |
|||
|
Number of Units Consumed |
Charmin |
Kleenex |
|
|
1 |
16 |
30 |
|
|
2 |
14 |
25 |
|
|
3 |
12 |
20 |
|
|
4 |
10 |
15 |
|
|
5 |
8 |
10 |
|
|
6 |
6 |
5 |
|
|
7 |
4 |
2 |
|
Group of answer choices
3 rolls of Charmin, 2 boxes of Kleenex
4 rolls of Charmin, 4 boxes of Kleenex
5 rolls of Charmin, 3 boxes of Kleenex
1 roll of Charmin, 6 boxes of Kleenex
7 rolls of Charmin, 2 boxes of Kleenex
In: Economics
y′ = t, y(0) = 1, solution: y(t) = 1+t2/2
y′ = 2(t + 1)y, y(0) = 1, solution: y(t) = et2+2t
y′ = 5t4y, y(0) = 1, solution: y(t) = et5
y′ = t3/y2, y(0) = 1, solution: y(t) = (3t4/4 + 1)1/3
For the IVPs above, make a log-log plot of the error of Backward Euler and Implicit Trapezoidal Method, at t = 1 as a function of hwithh=0.1×2−k for0≤k≤5.
In: Advanced Math
y′ = t, y(0) = 1, solution: y(t) = 1+t2/2
y′ = 2(t + 1)y, y(0) = 1, solution: y(t) = et2+2t
y′ = 5t4y, y(0) = 1, solution: y(t) = et5
y′ = t3/y2, y(0) = 1, solution: y(t) = (3t4/4 + 1)1/3
For the IVPs above, make a log-log plot of the error of Explicit Trapezoidal Rule at t = 1 as a function ofhwithh=0.1×2−k for0≤k≤5.
In: Advanced Math
Using R:
1. Generate AR(1), AR(2), MA(1), MA(2), and ARMA(1,1) processes with different parameter values, and draw ACF and PACF. Discuss the characteristics of ACF snd PACF for these processes.
2. Generate AR(1) process {X_t}. Compute the first difference Y_t = X_t - X_(t-1). Draw ACF and PACF of {Y_t}. What can you say about this process? Is it again a AR(1) process? What can you say in general?
3.For the AR(2) processes with the following parameters,
determine if AR(2) processes are stationary. Without drawing the
graphs, what can you say about ACFs.
(a) ϕ1=1.2, ϕ2=−0.2
(b) ϕ1=0.6, ϕ2=0.3
(c) ϕ1=1.2, ϕ2=−0.7
(d) ϕ1=−0.8, ϕ2=−0.7
4. For the process Xt = ϕXt−2+Zt, determine the range of ϕ for which the process is stationary.
In: Statistics and Probability
1. [9 marks] Consider the boundary-value problem,
y′′ +2εy1/2 = 0, y(0) = 1,y(1) = 3/2.
Letting y = y0 + εy1 + ε2y2 + . . . , find y0 and y1 and hence y
with error O(ε2).
In: Advanced Math
You are given the following table
|
Activity |
a |
m |
b |
Immediate Predecessor |
|
A |
2 |
5 |
8 |
- |
|
B |
5 |
7 |
9 |
- |
|
C |
2 |
4 |
6 |
- |
|
D |
1 |
2 |
3 |
A |
|
E |
1 |
4 |
7 |
C |
|
F |
3 |
6 |
9 |
B,D,E |
|
G |
1 |
5 |
9 |
F |
|
H |
1 |
2 |
3 |
F |
|
I |
2 |
5 |
8 |
G,H |
In: Operations Management