Questions
Java Write a program to record the GPAs of a class and find the percentage of...

Java

Write a program to record the GPAs of a class and find the percentage of students in each GPA. The program first allows the user to enter the number of students enrolled in the class, and then to enter the GPA of all students one by one. For each student, the input must be between 1 and 4 inclusively. Otherwise, the software displays a message as “Invalid number!” and asks for a new GPA for the same student

Enter number of students: 8 Enter GPA for student #1 is: 1 Enter GPA for student #2 is: 5 Invalid number!

Enter GPA for student #2 is: 2 Enter GPA for student #3 is: 3 Enter GPA for student #4 is: 4 Enter GPA for student #5 is: 4Enter GPA for student #6 is: 2 Enter GPA for student #7 is: 3 Enter GPA for student #8 is: 4

                 

The total number of students is 8. *****************
GPA 1 --- 1 student(s)
GPA 2 --- 2 student(s)

GPA 3 --- 2 student(s)
GPA 4 --- 3 student(s)
******************
The percentage of students with GPA (1) is (12.5%). The percentage of students with GPA (2) is (25.0%). The percentage of students with GPA (3) is (25.0%). The percentage of students with GPA (4) is (37.5%).

Note: you should trace the GPA list just once. So, you should use an array GPAFreq with four elements; to store the frequencies of each GPA from 1 to 4.

In: Computer Science

Are these data skewed to the left (negatively skewed) or skewed to the right (positively skewed)?...

Are these data skewed to the left (negatively skewed) or skewed to the right (positively skewed)? 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 9, 1850

In: Statistics and Probability

Monty Industries is considering the purchase of new equipment costing $1,300,000 to replace existing equipment that...

Monty Industries is considering the purchase of new equipment costing $1,300,000 to replace existing equipment that will be sold for $194,000. The new equipment is expected to have a $223,000 salvage value at the end of its 4-year life. During the period of its use, the equipment will allow the company to produce and sell an additional 32,600 units annually at a sales price of $27 per unit. Those units will have a variable cost of $15 per unit. The company will also incur an additional $70,000 in annual fixed costs.

Identify the amount and timing of all cash flows related to the acquisition of the new equipment. (Enter negative amounts using a negative sign preceding the number e.g. -45 or parentheses e.g. (45).)

Cash Flow Timing Amount
Purchase of new equipment Select a period of time Year 0 Year 1 Year 2 Year 3 Year 4 Years 1-4 $Enter a dollar amount Enter a dollar amount
Salvage of old equipment Select a period of time Year 0 Year 1 Year 2 Year 3 Year 4 Years 1-4 Enter a dollar amountEnter a dollar amount
Sales revenue Select a period of time Year 0 Year 1 Year 2 Year 3 Year 4 Years 1-4 Enter a dollar amountEnter a dollar amount
Variable costs Select a period of time Year 0 Year 1 Year 2 Year 3 Year 4 Years 1-4 Enter a dollar amountEnter a dollar amount
Additional fixed costs Select a period of time Year 0 Year 1 Year 2 Year 3 Year 4 Years 1-4 Enter a dollar amountEnter a dollar amount
Salvage of new equipment Select a period of time Years 1-4 Year 3 Year 1 Year 2 Year 0 Year 4 Enter a dollar amountEnter a dollar amount

In: Accounting

write mips assembly mips assembly (x+a) (bx^2+cx+d) using the pesedo- code with loop ,program should claclute...

write mips assembly

mips assembly (x+a) (bx^2+cx+d) using the pesedo- code with loop ,program should claclute six T[i] and display aproper message about roots .the the program should store all T[i] as memory array


a = [1, 1, 1, 1, 1, 1];
b = [1, 2, 4, 8, 16, 32];
c = [-6, -4, -2, 2, 4, 6];
d = [-1, -3, -5, -7, -9, -11];

for (i=0 ; i<=6; i++) {
T[i] =-4 *b [i] * d[i] +c[i] * c[i];
if (T[i] <0)
display "tow roots are imaginary";
else

display "tow roots are real ";
}

In: Computer Science

Compare gain scores (Test 1 & 2) between group 1 and the group 2 protocols with...

Compare gain scores (Test 1 & 2) between group 1 and the group 2 protocols with independent t-tests. Significance for the study will be considered as p≤0.05 (noting that p-values near the cutoff will be discussed relative to clinical relevance). I've highlighted the applicable gain scores below.

This will be two separate t-tests, correct? One for Test 1 and one for Test 2. However, do I then compare the two t-tests to each other??

I also have negative gain scores, this is possible, correct??

Currently lost on the next step or how to perform the t-tests.

Group 1 Group 2
Test 1 Difference/Gain Score

Test 2 Difference/Gain Sco

Test 1 Difference/Gain Score Test 2 Difference/Gain Score
9 19.685 2 7.62
3 22.86 4 -2.54
0 10.16 5 5.08
6 21.273 0 -5.08
2 8.255 2 7.62
0 3.81 4 2.54
5 11.43 9 17.78
6 -2.54 2 10.16
4 5.08 2 0
5 10.16 0 5.08
0 0 0 13.97
4 1.27 2 -1.27
2 9.208 4 7.62
0 0 6 -22.86
0 16.51 4 -12.7

In: Statistics and Probability

Consider the following time series data.

 

Consider the following time series data.

Quarter Year 1 Year 2 Year 3
1 5 8 10
2 2 4 8
3 1 4 6
4 3 6 8
(b) Use a multiple regression model with dummy variables as follows to develop an equation to account for seasonal effects in the data. Qtr1 = 1 if Quarter 1, 0 otherwise; Qtr2 = 1 if Quarter 2, 0 otherwise; Qtr3 = 1 if Quarter 3, 0 otherwise.
  If required, round your answers to three decimal places. For subtractive or negative numbers use a minus sign even if there is a + sign before the blank. (Example: -300) If the constant is "1" it must be entered in the box. Do not round intermediate calculation.
  ŷ =   +   Qtr1 +   Qtr2 +   Qtr3
Compute the quarterly forecasts for next year based on the model you developed in part (b).
  If required, round your answers to three decimal places. Do not round intermediate calculation.
 
Year Quarter Ft
4 1  
4 2  
4 3  
4 4  
(d) Use a multiple regression model to develop an equation to account for trend and seasonal effects in the data. Use the dummy variables you developed in part (b) to capture seasonal effects and create a variable t such that t = 1 for Quarter 1 in Year 1, t = 2 for Quarter 2 in Year 1,… t = 12 for Quarter 4 in Year 3.
  If required, round your answers to three decimal places. For subtractive or negative numbers use a minus sign even if there is a + sign before the blank. (Example: -300)
  ŷ =   +  Qtr1 +  Qtr2 +  Qtr3 +   t
   
(e) Compute the quarterly forecasts for next year based on the model you developed in part (d).
  Do not round your interim computations and round your final answer to three decimal places.
 
Year Quarter Period Ft
4 1 13  
4 2 14  
4 3 15  
4 4 16  
(f) Is the model you developed in part (b) or the model you developed in part (d) more effective?
  If required, round your intermediate calculations and final answer to three decimal places.
 
  Model developed in part (b) Model developed in part (d)
MSE    
  - Select your answer -Model developed in part (b)Model developed in part (d)Item 22
   

In: Statistics and Probability

A scientist wants to know if a new drug has an effect on stress response in...

A scientist wants to know if a new drug has an effect on stress response in rats. A sample of 9 rats are given a stress test before and after taking the drug and their scores are recorded. A higher score indicates a higher level of stress.

Rat

1

2

3

4

5

6

7

8

9

Pre

1

4

2

4

1

3

6

1

5

Post

2

3

5

2

3

1

5

4

3

a. State the null and alternative hypotheses

b. State the rejection region

c. Conduct a sign test on the above data

d. What can you conclude?

In: Statistics and Probability

1. If f(x) = ln(x/4) -(a) Compute Taylor series for f at c = 4 -(b)...

1. If f(x) = ln(x/4)
-(a) Compute Taylor series for f at c = 4
-(b) Use Taylor series truncated after n-th term to compute f(8/3) for n = 1,.....5
-(c) Compare the values from above with the values of f(8/3) and plot the errors as a function of n
-(d) Show that Taylor series for f(x) = ln(x/4) at c = 4 represents the function f for x element [4,5]

In: Advanced Math

1.list 4  Manifestations of Right and Left sided Failure and 4 Symptoms of both right and left...

1.list 4  Manifestations of Right and Left sided Failure and 4 Symptoms of both right and left sided failure.

2.Loop Diuretics are given as a drug of choice,

i Name the two Diuretics that affect the loop of Henle.

ii What is the dosage and route this would be administered?

iiiName a contraindication for this medication.

3. List what assessment parameters must be assessed for CHF

4. Differentiate: Right, Left, Chronic Failure and Acute decompensated heart failure (ADHF).

   5. What are immediate nursing actions taken upon Assessment of a patient in ADHF

part 2

  1. Please Identify 3 Nursing Diagnosis related to CHF

2. Write one patient Goal for one of the Nursing Diagnosis, you Identified.

3. Write 2 priority Nursing Interventions Related to the Nursing Diagnosis and Patient Goal

4. List 4 areas patient and family teaching related to the CHF

In: Nursing

Find f. f ''(x) = 4 + 6x + 24x2,    f(0) = 4,    f (1) = 12

Find f.

f ''(x) = 4 + 6x + 24x2,    f(0) = 4,    f (1) = 12

In: Math