Questions
Java Math Tutor: Write a program that displays a menu as shown in the sample run....

Java

Math Tutor:

Write a program that displays a menu as shown in the sample run. You can enter 1, 2, 3, or 4 for choosing an addition, subtraction, multiplication, or division test. After a test is finished, the menu is redisplayed. You may choose another test or enter 5 to exit the system. Each test generates two random single-digit numbers to form a question for addition, subtraction, multiplication, or division. For a subtraction such as number1 – number2, number1 is greater than or equal to number2. For a division question such as number1 / number2, number2 is not zero.

Here is a sample run: (red indicates a user input)

Main menu 1:

Addition 2:

Subtraction 3:

Multiplication 4:

Division 5:

Exit Enter a choice: 1

What is 1 + 7? 8 Correct

Continue? (y/n) y

Enter a choice: 3

What is 2 * 3? 7

Your answer is wrong.

The correct answer is 6.

Continue? (y/n) n

Good bye!

In: Computer Science

The following table contains information on matched sample values whose differences are normally distributed. Number 1...

The following table contains information on matched sample values whose differences are normally distributed.

Number 1 2 3 4 5 6 7 8

Sample 1- 17 12 21 23 19 13 19 17

Sample 2-  21 13 22 19 19 17 16 21

a. Construct the 95% confidence interval for the mean difference μ

In: Statistics and Probability

Write the journal entries in the given table for below transactions of Clean Corporation during June...

Write the journal entries in the given table for below transactions of Clean Corporation during June 2020.
1
Purchased inventory from suppliers on account for $500.
2
Purchased new office car using 2 year Note Payable for $50,000.
3
Paid rent for the company office for $12,000.
4
Paid for inventory purchased in transaction 1.
5
Sold on account to customers for $600.

In: Accounting

Determine the magnitude of the seasonal ratio of the average quarter centered at that time period....

Determine the magnitude of the seasonal ratio of the average quarter centered at that time period.

Quarterly Sales ($1,000,000s) for Turner Industries
Quarter Year 1 Year 2 Year 3 Average
1 108 116 123 115.67
2 125 134 142 133.67
3 150 159 168 159
4 141 152 165 152.67
Average 131 140.25 149.5 140.25

In: Statistics and Probability

Solve for x using the quadratic formula. Be sure to check solution(s). 2x2-4x +1=0 Solve for...

Solve for x using the quadratic formula. Be sure to check solution(s). 2x2-4x +1=0

Solve for x using the quadratic formula. Be sure to check solution(s). 3x2-2x+4=0

How many and what type of solutions will you have with 4x2-7x+11=0

2 Real solutions

2 complex solutions

1 real solution

In: Math

Write a C program that asks the user to enter 15 integer numbers and then store them in the array.

Write a C program that asks the user to enter 15 integer numbers and then store them in the array. Then, the program will find the second largest element in array and its index without sorting the array. For example, In this array {-55,-2,1, 2, -3, 0, 5, 9, 13, 1, 4, 3, 2, 1, 0}, the second largest element is 9 [found at index 7].

In: Computer Science

Question1: How many of the 5-digit numbers that can be written with the numbers 1, 2,...

Question1: How many of the 5-digit numbers that can be written with the numbers 1, 2, 3, 4 contain both numbers 1 and 2?
question2: 3 married couples shown as a1a2, b1b2, c1c2 want to sit in a row. How many different ways can these married couples sit in a row, without a husband and a wife from the same couple coming together?

In: Statistics and Probability

Formal Languages Give a regular expression for each of the following languages: L2a = {w ?...

Formal Languages

Give a regular expression for each of the following languages:
L2a = {w ? {0,1}* | w corresponds to the binary encoding of non-negative integers that are evenly divisible by 4
L2b = {w ? {a,b}* | w contains at least one 'a' and exactly two b's}
L2c = {w ? {0, 1, 2}* | w starts with a 2, ends with a 1 and contains an even number of 0's}.

In: Computer Science

An ARM is made for $200,000 for 30 years with the following terms: Initial interest rate...

An ARM is made for $200,000 for 30 years with the following terms:

Initial interest rate = 3%

Index = 1-year Treasuries

Payments reset each year

Margin = 2 percent

Fully amortizing

Estimated forward rates:

BOY 2 4.50%
BOY 3 5.25%
BOY 4 6%
BOY 5 6.50%

Compute payments and balances for each of the years 1-5.

In: Finance

Chapter 1 and 2 "The Revolt of Engineers": Layton describes the approaches of the four founder...

Chapter 1 and 2 "The Revolt of Engineers": Layton describes the approaches of the four founder societies of engineering professionals--ASCE, AIME, ASME, and AIEE. In 3-4 sentences, state which of these organizations would be most appealing to you to join based on its membership criteria, stances on professional behavior, and relationship to business, and why. In 1-2 sentences, state which would be least appealing and why?

In: Civil Engineering