Questions
User asks you to develop a program that calculates and then prints interest earned on a...

User asks you to develop a program that calculates and then prints interest earned on a bank balance. Program should print interest earned for the same balance when interest is accumulated annually, semiannually and quarterly. I need the C++ code!

In: Computer Science

Describe the benefits of the formal planning process with supporting evidences. Illustrate how the value of...

Describe the benefits of the formal planning process with supporting evidences. Illustrate how the value of formal planning benefit for strategic decisions benefits.

In: Operations Management

Existing Online DSS system for buying a vehicle. Methodology/Approach/ Design for buying vehicles.

Existing Online DSS system for buying a vehicle.
Methodology/Approach/ Design for buying vehicles.

In: Computer Science

Session 5.1 Quick Check Describe push technology and pull technology, and provide examples of each. What...

Session 5.1 Quick Check

  1. Describe push technology and pull technology, and provide examples of each.

  2. What are three examples of Web 2.0 applications?

  3. A series of related messages in a newsgroup or email is called a(n) ______________.

  4. Most social websites have built-in ______________ that display content from different feeds.

  5. What is a podcatcher and what does it do?

  6. What is a mashup?

  7. What is a common income source for developers who create mashups?

In: Computer Science

What are the challenges Emirates airlines might face to continue delivering its promise and stay ahead...

What are the challenges Emirates airlines might face to continue delivering its promise and stay ahead of competitors?

In: Operations Management

Write a program that determines the cost of painting the walls of a windowless room. There...

Write a program that determines the cost of painting the walls of a windowless room. There is one door and it will be painted the same color as the walls. The problem requires a main function and two custom functions that are imported from a custom module that you create. In main, the program should prompt the user for five inputs shown in blue in the Sample Output below:

  • the length, width, and height of the room in feet.
  • the cost of one quart of the chosen paint.
  • the square feet that can be covered by one quart of paint.

The three dimensions of the room should then be used as arguments for a function that calculates and returns the area of the walls in square feet. This area and the remaining two inputs should be used as arguments for a second, void function that determines and prints the cost of the painting job. There will likely be paint left over. There is a method in the math module that you can use to "round up" the number of quarts needed.
Sample Output
Enter the length of the room in feet 20
Enter the width of the room in feet 16
Enter the height of the walls in feet 9
Enter the price of one pail of paint 24.99
Enter the sq ft covered by one pail 100
This job requires 7 pails of paint
The cost of paint is $174.93

In: Computer Science

Can someone design a Tic Tac Toe game in java in the simplest way you can?...

Can someone design a Tic Tac Toe game in java in the simplest way you can? It should have

-the markers for the players are X and O

-2 players

-instructions on how to play the game in the start of the game

-show the Tic Tac Toe grid before asking each player for their input

-be on one java file

Thank you!!!!!!! This is for an intro class so please don't make it too complicated!

In: Computer Science

If you are one of Apple's shareholder, will you vote for or against stock buyback of...

If you are one of Apple's shareholder, will you vote for or against stock buyback of ICAHN proposal? please explain.

In: Finance

Mesopotamia, India, and China had three of the earliest economic networks. How did their respective trade...

Mesopotamia, India, and China had three of the earliest economic networks. How did their respective trade systems develop? Discuss how iron was a significant factor in these early economies.

In: Economics

Following are the securities and projections for Mogul Corp: Stock A: REQUIRED RATE OF RETURN =...

Following are the securities and projections for Mogul Corp:

Stock A: REQUIRED RATE OF RETURN = 5% Constant-growth - growth rate of 3% D0 = $3.00

Stock B: REQUIRED RATE OF RETURN = 7% D0 = $4.00, growth at 5% per year for 2 years, followed by 4% forever

Stock C: REQUIRED RATE OF RETURN = 9% D0 = $2.00, growth at 25% for next 4 years, followed by 5% forever

Mogul has a 3.5% Treasury bond, semi-annual interest, with 4 years left to maturity and a quoted price of $962.81.

1) Calculate the bond’s current yield and yield to maturity.

2) Calculate the value per share today for stock A.

3) Calculate the value per share 4 years from today for stock B.

4) Calculate the value per share today for stock C.

In: Finance

12.9 (Target-Heart-Rate Calculator App) While exercising, you can use a heart-rate monitor to see that your...

12.9 (Target-Heart-Rate Calculator App) While exercising, you can use a heart-rate monitor to see that your heart rate stays within a safe range suggested by your trainers and doctors. According to the American Heart Association (AHA), the formula for calculating your maximum heart rate in beats per minute is 220 minus your age in years (http://bit.ly/AHATargetHeartRates). Your target heart rate is a range that is 50–85% of your maximum heart rate. [Note: These formulas are estimates provided by the AHA. Maximum and target heart rates may vary based on the health, fitness and gender of the individual. Always consult a physician or qualified health care professional before beginning or modifying an exercise program.] Write an app that inputs the person’s age, then calculates and displays the person’s maximum heart rate and target-heart-rate range.

(code in java please)

In: Computer Science

Say you design a PCR experiment with normal temperature settings and reagent amounts (primers, dNTPs, polymerase)...

Say you design a PCR experiment with normal temperature settings and reagent amounts (primers, dNTPs, polymerase) for 20 cycles. You want to adjust your experiment so that it will increase the amount of DNA produced. Which of the following adjustments to the experiment will increase the amount of DNA amplified during PCR?

Group of answer choices

You increase the length of the primers.

You increase the temperatures in all of the steps.

None of these adjustments will increase the amount of DNA produced through PCR.

You run 5 extra cycles.

You double the amount of dNTPs.

In: Biology

Requirements Both the stack and queue were implemented correctly according data structure and java standard practices....

Requirements

Both the stack and queue were implemented correctly according data structure and java standard practices. The stack was used to implement a post-fix calculator using push, pop, peek and other stack concepts. The queue was used to implement the palindrome using add, remove, insert and other queue concepts. Both implementations produced the expected output. All submission requirements were followed.

Test Harness for the first part:

public class StackCalcTest {
public static void main(String[] args) {
StackCalc stackCalc = new StackCalc();
String[] values = {"3", "5", "9", "*", "+"};
for(int i = 0; i < 5; i++) {
stackCalc.stack.push(values[i]);
}
System.out.println(stackCalc.stack);
System.out.println(stackCalc.answer());
}
}

Concepts

Stacks

Queues

Linked List

Programming Problems

Stack - Implementation. You will be able to use the push, pop and peek of Stack concept.

Post-Fix calculator - When an arithmetic expression is presented in the postfix form, you can use a stack to evaluate the expression to get the final value. For example: the expression 3 + 5 * 9 (which is in the usual infix form) can be written as 3 5 9 * + in the postfix. More interestingly, post form removes all parentheses and thus all implicit precedence rules.

Program Implementation Requirements

Use the stack concept to create a post-fix calculator. I will be using a test-harnessPreview the document to run your program. Please make sure it meets the requirements to be run by the test harness.

LinkedList/Queue - Implementation.

New concert tickets are available. You have to enter the names of the people in order to form a line. However, you will later find out that a few people are not eligible to buy tickets because they represent scalpers instead of actual concert goers. You will have to remove those people from the line. A special raffle will be done and the result of the raffle will insert a person to the front of the line. You will have to issue tickets to the first 10 people in line, but there are 15 people total in line. The others will have to put into a waitlist queue for the next available ticket.

Program Implementation Requirements

Use the Linked List (Original Line) and a Queue (waitlist) concept to create this program. The class name will be ConcertTickets. You will have the following methods: insertIntoLine(Person p), removeFromLine(Person p), addToWaitList(Person p), assignedTicket().

Click here for the test-harnessPreview the document.

import java.util.ArrayList;
public class ConcertTicketsTest {
public static void main(String[] args) {
ArrayList<String> listOfPeople = new ArrayList<String>();
listOfPeople.add("Monica");
listOfPeople.add("Chandler");
listOfPeople.add("Rachel");
listOfPeople.add("Phobe");
listOfPeople.add("Joey");
listOfPeople.add("Ross");
listOfPeople.add("John");
listOfPeople.add("Daenerys");
listOfPeople.add("Arya");
listOfPeople.add("Sansa");
listOfPeople.add("Rob");
listOfPeople.add("Ned");
ConcertTickets concertTickets = new ConcertTickets(listOfPeople);
concertTickets.removeFromLine("Ned");
concertTickets.removeFromLine("Ross");
concertTickets.insertInFront("Cersei");
System.out.println(concertTickets.printWaitlist());
System.out.println(concertTickets.listOfTicketHolders());
}
}

Submission:

Please submit .java file(s) only.

In: Computer Science

JAVA Lab 0.2 — Calculating Averages (Averages) The file numbers.text consists of sequences of numbers, each...

JAVA

Lab 0.2 — Calculating Averages (Averages)

The file numbers.text consists of sequences of numbers, each sequence preceded by a header value and then followed by that many integers/ (For example the first line in the example below contains a header value of 3 followed by the three values 1, 2, and 3. Read in the sequences and print their averages. When all sequences have been read in, print out the number of sequences processed.

The header and subsequent values are placed on the same line for readability, but could just have easily been spread across two or more line, i.e., you don't have to process them using nextLine; simply read them in using nextInt.)

The name of your class should be Averages.

Sample Test Run

For example if the file numbers.text contains:

3 1 2 3
5 12 14 6 4 0
10 1 2 3 4 5 6 7 8 9 10
1 17
2 90 80

the program should produce the following output:

The average of the 3 integers 1 2 3 is 2.0
The average of the 5 integers 12 14 6 4 0 is 7.2
The average of the 10 integers 1 2 3 4 5 6 7 8 9 10 is 5.5
The average of the 1 integers 17 is 17.0
The average of the 2 integers 90 80 is 85.0
5 sets of numbers processed

In: Computer Science

ABC, Inc. purchased an equipment at time=0 for $53,474. The shipping and installation costs were $23,977....

ABC, Inc. purchased an equipment at time=0 for $53,474. The shipping and installation costs were $23,977. The equipment is classified as a 5-year MACRS property. The investment in net working capital at time=0 was $5,040 which would be recouped at the end of the project. The project life is five years. At the end of the fifth year, the company will sell the equipment for $43,842. The annual cash flows are $43,724. What is the cash flow of the project in Year 5? That is, solve for CF5. Assume that the tax rate is 23% The MACRS allowance percentages are as follows, starting with Year 1: 20.00, 32.00, 19.20, 11.52, 11.52, and 5.76 percent. Note: In the last year of the project, the Total Cash Flow = Operating Cash Flow + Terminal Cash Flow

In: Finance