Questions
1. First Part: A magazine publisher wants to launch a new magazine geared to college students....

1. First Part: A magazine publisher wants to launch a new magazine geared to college students. The project's initial investment is $66. The project's cash flows that come in at the end of each year are $24 for 6 consecutive years beginning one year from today. What is the project's NPV if the required rate of return is 13%?

Answer #1: $

Place your answer in dollars and cents without the use of a dollar sign or comma. If applicable, a negative answer should have a "minus" sign in front of the number. Work your analysis out to at least 4 decimal places of accuracy.

Second Part
Based upon the NPV decision rule, should the company accept or reject the project?

Answer #2:(Accept or Reject)
Place your aswer as the word "accept" or the word "reject".

2. A research division of a large consumer electronics company has developed a new type of mp3 player. The project will require an immediate cash outflow of $1,665,321. The new project is expected to produce cash flows of $500,000 per year for 4 consecutive years beginning at the end of year one. What is this projects internal rate of return?

3. A manufacturer of backpacks plans to introduce a new line. Equipment and production costs will be incurred immediately and will total $7,272,727. The company expects to earn a profit of $20 per backpack, and sales are estimated to be 100,000 in the first year (assume that the cash flow comes in at the end of the year). Sales are then expected to grow by 10% per year in each of the next three years (in year 2, year 3, and year 4) but the price is expected to remain at $20 throughout. What is the internal rate of return of this project?

%

Place your answer in percentage form with no percentage sign. That is, if your answer is four point eight eight percent, you should enter that value as 4.88.

Should the company produce the backpacks if the required rate of return is 12%?
(Yes or No)

In: Finance

4) Imagine that you are working with Kevin Mills, 78 years old, who lives alone in...

4) Imagine that you are working with Kevin Mills, 78 years old, who lives alone in an independent living unit. Mills has type 1 diabetes. You visited Mills today to check his blood sugar and ensure that he maintains his health in his best possible way in relation to the agreed NCP. Mills' daughter is at home now and she visits Mills two days a week to ensure his welfare. 4.1) Mills' blood sugar is 10.2mmol/L at 10:00 am. He had his breakfast at 08:30am (2 toast, raspberry jam and tea with two sugars). Mills stated that he did not document the previous blood sugar values and doesn't want to follow the diabetic diet plan as he feels the diabetic diet is 'boring'. Provide 2 (two) examples of strategies you would implement as a nurse in promoting the health maintenance of Mills. Diabetic patients require complex nursing care. TWO strategies to be implemented is a change in their diet and awareness of the process, risk factors and treatment. As they feel the diet plan is boring, the nurse should ensure that they take care of the aspects that include their interests. Therefore a nutritionist will make kind of improvement in the food schedule in which his health remains good. Any interesting and delicious food to be provided which is free of sugars and can be constantly supervised by the nurse. Word count : 88 4.2) Identify and describe a community service/resource Mills and his daughter could access in promoting his health maintenance in relation to the identified issue in addition to the home nursing services. 4.3) Briefly describe in 40-60 words, how you could apply advocacy skills in relation to this scenario. Minimum word required : 40

Please answer all my questions and and subquestions don't skip the sub questions

come on man it does not need any other details, that's all about the questions

In: Nursing

There is a forum that has a limit of K characters per entry. In this task...

There is a forum that has a limit of K characters per entry. In this task your job is to implement an algorithm for cropping messages that are too long. You are given a message, consisting of English alphabet letters and spaces, that might be longer than the limit. Your algorithm should crop a number of words from the end of the message, keeping in mind that: • it may not crop away part of a word; • the output message may not end with a space; • the output message may not exceed the K-character limit; the output message should be as long as possible. This means that, in some cases, the algorithm may need to crop away the entire message, outputting an empty string. For example, given the text: "Codility We test coders" With K = 14 the algorithm should output: "Codility We" Note that: • the output "Codility We te" would be incorrect, because the original message is cropped through the middle of a word; the output "Codility We would be incorrect, because it ends with a space; the output "Codility We test coders" would be incorrect, because it exceeds the K-character limit; the output "Codility' would be incorrect, because it is shorter than the correct output.
Write a function class Solution { public String solution(String message, int k); } which, given a message and an integer K, returns the message cropped to no more than K characters, as described above. Examples: 1. Given message = "Codility We test coders' and K = 14, the function should return "Codility We". 2. Given message = "Why not" and K = 100, the function should return "Why not". 3. Given message = "The quick brown fox jumps over the lazy dog" and K = 39, the function should return "The quick brown fox jumps over the lazy". Assume that: • K is an integer within the range [1..500]; • message is a non-empty string containing at most 500 English alphabet letters and spaces. There are no spaces at the beginning or at the end of message; also there can't be two or more consecutive spaces in message.

In: Computer Science

Using the program below, overload the Multiply operator to the Rectangle class… this will multiple the...

  1. Using the program below, overload the Multiply operator to the Rectangle class… this will multiple the widths for the 2 Rectangles and multiple the lengths of the two rectangles (similar to how the “+” operator added the widths and lengths of the 2 rectangles). Overload this operator using the non-member method. Please copy-paste code into MS Word document and then show some screenshots of you running and testing this method using your IDE.

  1. Using the program below, overload the Divide operator to the Rectangle class… this will divide the widths for the 2 Rectangles and divide the lengths of the two rectangles (similar to how the “+” operator added the widths and lengths of the 2 rectangles). Overload this operator using the class member method. Please copy-paste code into MS Word document and then show some screenshots of you running and testing this method using your IDE.


// Overloaded operator is a Rectangle member function

#include <iostream > 
using namespace std ; 
/************ Declaration Section ******************/ 
class Rectangle{ 
  private : 
    int width , length ; 
 
  public : 
    Rectangle (); 
    Rectangle ( int w, int l ); 
    void printArea (); 
    void displayInfo (); 
    Rectangle operator +(Rectangle& r ); 
}; 

/************ Implementation Section ******************/ 
Rectangle :: Rectangle () { width = 1, length = 2; } 
Rectangle :: Rectangle ( int w, int l ) { width = w, length = l ; } 

void Rectangle :: printArea () { 
 cout <<"Area of "<< this <<" = "<< width*length << endl ; 
} 

void Rectangle :: displayInfo () { 
 cout << "I am a " << width <<"x"<< length <<" rectangle " 
      << "with id " << this << endl ; 
} 

Rectangle Rectangle :: operator +( Rectangle& r ) { 
  Rectangle temp ; 
//  cout << "This " << this->width << "  " << this->length << endl;;
//  cout << "argument r: "<< r.width << "  " << r.length << endl;
  temp.width = this->width + r.width ; 
  temp.length = this->length + r.length ; 
  
  return temp; 
} 

/***************** Main Section *********************/ 
int main (){ 
  Rectangle r1 , r2 (5 ,7) , r3 ; 
  r1 . displayInfo (); 
  r2 . displayInfo (); 
  r3 . displayInfo (); 

//  r1 = r1 + r2;
//  r1.displayInfo();

  r3=r1+r2 ; 
  r3 . displayInfo (); 
 
  r1 . printArea (); 
  r2 . printArea (); 
  r3 . printArea (); 
  
  return 0; 
}

In: Computer Science

In this assignment, we are going to work with a combination of variables representing integers, floating...

  • In this assignment, we are going to work with a combination of variables representing integers, floating point numbers (decimals), and strings. Strings are also known as literals. We will create, save, and run a Python batch file (i.e., a Python script file) that will ask the user to enter the name of an investment, the amount invested, the annual return rate, and number of years, after which Python will compute the investment's final value at the end of that time period and spew out a full sentence incorporating the input and computed variables. This sentence will be put together by concatenating all the variables.

    A batch file is a sequence of commands that execute consecutively one after another when Python is asked to run/execute the file. Python batch files have the extension of .py and are best created in a text editor such as Notepad. Do NOT use Word or other word processors to create Python batch files -- they will result in syntax errors.

    Type the following commands into Notepad and save the whole thing as a Python batch file called investment.py --

    name=input("Investment name:")
    amount=int(input("Invested amount:"))
    rate=float(input("Annual return rate:"))
    years=float(input("No. of years:"))
    final_amount=amount*((1+rate)**years)
    print("An investment of","$",round(amount,2),"in",name,"today will grow to $",round(final_amount,2),"after",int(years),"years.")
    print("An investment of "+"$"+str(amount)+" in "+name+" today will grow to $"+str(round(final_amount,2))+" after "+str(int(years))+" years.")

    Now open a Command Prompt window and navigate to the directory in which you had saved investment.py, and then execute this Python script file as follows --

    C:\>py investment.py

    Experiment with various values of the input variables when prompted, and try to correlate the outputs with the last two concatenation/print commands in the script file.

    Also experiment with the commands in the script by removing the functions int, float, round, and str, and see what happens. show step by step answer using Jupyter.

In: Computer Science

Write a program called Teen that takes a sentence and returns a new sentence based on...

Write a program called Teen that takes a sentence and returns a new sentence based on how a teenager might say that. The method that creates the new string should be called teenTalk and should have the signature shown in the starter code.

The way to do that is to put the word "like" in between each of the words in the original sentence.

For example, teenTalk("That is so funny!") would return "That like is like so like funny!".

Sample output:

Sonequa Martin-Green is in grade 10 and wants to send this text:
Enter the text message being sent: 
Hello world how are you doing?

The teen talk text would be: 
Hello like world like how like are like you like doing?

Coding Portion:

public class TeenTester
{
public static void main(String[] args)
{
// Create a new Teen object and print it out; see the Teen class file
// to see how the constructor and toString method work.
Teen myFriend = new Teen("Sonequa", "Martin-Green", 10, true);
System.out.println(myFriend.toString());
  
// Ask the user to input a text message
  
//Call teenTalk method to translate the message to teen talk
}
}

Different Class:

public class Teen
{
private String firstName;
private String lastName;
private int grade;
private Boolean textMessages;

// Constructor to make a teen with a first and last name, grade in school,
// and whether they text message others and need to write texts to others.
  
// This defines the state of the teen.
public Teen(String theFirstName, String theLastName, int theGrade, Boolean theTextMessages)
{
firstName = theFirstName;
lastName = theLastName;
grade = theGrade;
textMessages = theTextMessages;
}
  
// toString method to print out the state of teen object
public String toString()
{
return firstName + " " + lastName + " is in grade " + grade + " and wants to send this text:";
}
  
// Create this method so that it changes the text message
// and places the word "like" in place of each space
// in the message.
public String teenTalk(String text)
{
  
}
  
}

In: Computer Science

public managment The Government of Andhra Pradesh[India], in its endeavor to provide simple, moral, accountable, responsive...

public managment

The Government of Andhra Pradesh[India], in its endeavor to provide simple, moral, accountable, responsive and transparent governance to its people, launched ‘SMART GOVERNMENT’ (Smartgov) at the secretariat level. This project resulted in an automatic workflow in the secretariat and ensured not only internal efficiency but also provided an effective tool for performance evaluation. With it the leitmotif came to be efficacy. In Smartgov, on receipt of a document, it is scanned to generate a number for the file and is e- mailed to the concerned officer. The official notings are done electronically. The system being automatic enforces the desired checks and balances. It curtails negativism and over rides all hurdles of resistance and opposition to change.

The project Smartgov has helped in introducing paper less file processing system in the Andhra Pradesh secretariat. It has not only helped in reducing the time consumed in processing the files, but also significantly improved the quality of decisions besides decrease corruption.

The new governance improvisations/systems because of their faster, efficacious, efficient and effective remedial implications have evoked a positive response from the public in general and the administrative set up in particular speaks volumes for its acceptability. It can, thus, be safely inferred that the total success of effecting changes can only be ensured if it is preceded with requisite training and orientation programmes for the end users. This will minimize resistance.

Answer the questions :

1. What are Performance Improvement Indicators? How ‘Smartgov’ is an effective tool for performance evaluation?

2. The corruption is one of the ethical issue prevails in the government offices. Discuss the need of ethics in government offices. How Smartgov will help in controlling corruption?

3. What are the benefits of information technology in Government Sector? Explain the ‘Smartgov’ systems efficiency.

Instructions to students:

* This assignment is an individual assignment.

* All students are encouraged to use their own word.

* Student must apply Harvard Referencing Style within their reports.

The word count for this assignment must be between 200 to 300 words each question.

In: Operations Management

How many words are in the Gettysburg Address? Write a program that reads any text file,...

How many words are in the Gettysburg Address?

Write a program that reads any text file, counts the number of characters, num- ber of letters and number of words in the file and displays the three counts.

To test your program, a text file containing Lincoln’s Gettysburg Address is included on the class moodle page.

Sample Run

Word, Letter, Character Count Program

Enter file name: GettysburgAddress.txt

Word Count      =  268
Letter Count    = 1149
Character Count = 1440

Do the following

  1. To detect is a character ch is a letter use the following if statement if ch >= ‘A’ and ch <= ‘Z’ or ch >= ‘a’ and ch <= ‘z’:

    You may want to embed this “if statement” in a Boolean valued function (isLetter(ch)) that returns True if ch is a letter; otherwise it returns False

  2. Ask the user for the file name.

  3. For this assignment, the easiest way do the following three counts is to first input the text file as one very long string using the read() method. Don’t use readline() or readlines()here, unless using the read() method crashes the program.

  4. The character count is simply the length of the string you input from Step 3 above. Use the len() function

1

  1. To determine the letter count you will need to go through the string character by character using a for loop testing if each character is a letter or not. If it is a letter, increment a letter count variable.

  2. Checking for the number of words is easily done using the split method for strings (see page 136 for details). Recall that string.split( ) was used to break up a date such as “10/25/2016” into a list of three strings. That is "10/25/20165".split("/") returns the list ["10", "25", "2016"].

    By default if no “split” character is given, the string will be split wherever a space occurs. This makes it perfect to split a text string into a list of individual words which then can be counted by using the len() to get the length of the list.

  3. Output your three counts using string formatting to properly line up your three counts and close the file

In: Computer Science

write the pseudocode to process these tasks: From the random module import randint to roll each...

write the pseudocode to process these tasks:

  1. From the random module import randint to roll each die randomly
    1. # in pseudocode, import a random function
    2. # the name is helpful for the next M5-2 assignment
  2. Define a class called Dice
    1. In Python, the syntax has a colon after it: class Dice():
    2. In pseudocode, you can specify it generally or be specific
  3. Under the class declaration, list the attributes. Here are some tips:
    1. # attributes are what we know about a single die (dice is plural)
    2. # self is the first attribute in Python and must always appear first
    3. # add a num_sides attribute and to set it to 6 for the 6 sides on the dice
  4. Define a method for roll(self)
    1. # it describes what happens when we roll a single die
    2. # in the code, it will look like this example
      1. def __init__(self, dice_sides=6):
      2. # in pseudocode, we do not worry about the punctuation
      3. # just list it as part of your logic
  5. Under roll(self), return a random int value between 1 and self.dice_sides
  6. Save this file as M5Lab1ii - you can save it as MS Word or a text file.

For the second module, write the pseudocode to complete these tasks:

  1. In the same M5Lab1ii file, start a second module below the first module.
  2. From a new dice module, import our Dice class
  3. Create a 6-sided die by using assignment # for example: dice = Dice()
  4. Create an empty results list
  5. Write a for statement that takes each roll_num in range() and rolls it 100 times
  6. Set the value of result to dice.roll()
  7. For each roll and append it to the results list using your list’s name and .append() with the variable for each dice roll inside the parameters for append(). For example:
    1. # yourlistname.append(result)
  8. Refer to the name of your list within the print() parameter to print the results.
  9. 100 dice rolls for the values 1-6 appear in a list on the Python shell.
  10. Save the two modules in M5Lab1ii - you can save it as MS Word or a text file.

In: Computer Science

Type down (easy to copy and paste) your thoughts (ie, agree or disagree and why ?...

Type down (easy to copy and paste) your thoughts (ie, agree or disagree and why ? ) after reading the following paragraph. (must be 5 sentences, 1 paragraph. 150-250 words)

There are many disasters and unfortunate occurrences that can all trace back to one possibly even small mistake. Events like these seem so incredulous to have been started by one person’s fault, but they do. Besides technological advancement, in the last few decades or so, I feel there has been a decrease in efficiency and productivity in our generation. Everyone is aware of how this current generation is the “every kid gets a trophy” generation, and I think that in an attempt to avoid flying too close to the sun, we have lost focus in actually carrying out exemplary work.

Bowers explains that “failure is a natural stepping stone” and that if we strive for perfection and fail on the way, we still should not stray from that path (Bowers, 2017). I feel that people may be scared by the word perfection for perfection literally means the absolute best. It may seem confusing how to know what is perfect or understand if something you have done is the best you can do. However, I think the heart if Bowers’s argument is in the word strive. If you have the mentality to be perfect or at least be determined to stay on a path towards perfection, I think you could find better results. Aside from the numbers, Bowers points out how 99% still results in mistakes which is exactly the reason why perfection is vital. Of course, there is no tangible measure of perfection for anything always has room for improvement. However, even starting with the mentality that something could always be improved would at least force you to continue working and creating new and better changes. I think this is the what it means to strive for perfection, and if everyone had the same perception, I do believe we would see many less errors in today’s world.

In: Psychology