Questions
Smashed Pumpkin Farms (SPF) just paid a dividend of GH¢4.50 on its stock. The growth rate...

  1. Smashed Pumpkin Farms (SPF) just paid a dividend of GH¢4.50 on its stock. The growth rate in dividends is expected to be a constant 7.5 percent per year, indefinitely. Investors require a 20 percent return on the stock for the first three years, an 11 percent return for the next three years, and then a 12 percent return, thereafter. What is the current share price for SPF stock?
  1. Metallica Bearings, Inc., is a young start-up company. No dividends will be paid on the stock over the next five years because the firm needs to plough back its earnings to fuel growth. The company will pay a GH¢6 per share dividend in six years and will increase the dividend by 5 percent per year, thereafter. If the required return on this stock is 21 percent, what is the current share price?
  1. South Park Corporation is expected to pay the following dividends over the next four years: GH¢4.75, GH¢3, GH¢2, and GH¢1. Afterwards, the company pledges to maintain a constant 9 percent growth rate in dividends, forever. If the required return on the stock is 16 percent, what is the current share price?
  1. Mega Growth Co. is growing quickly. Dividends are expected to grow at a 30 percent rate for the next three years, with the growth rate falling off to a constant 7 percent, thereafter. If the

the required return is 21 percent and the company just paid a GH¢1.50 dividend, what is the current share price?

  1. Janicek Corp. is experiencing rapid growth. Dividends are expected to grow at 20 percent per year during the next three years, 15 percent over the following year, and then 10 percent per year, indefinitely. The required return on this stock is 15 percent, and the stock currently sells for GH¢50.00 per share. What is the projected dividend for the coming year?

In: Finance

CSCE 3600: Systems Programming Recitation Assignment 3 – Sed and Gawk Due: 06:00 PM on Monday...

CSCE 3600: Systems Programming

Recitation Assignment 3 – Sed and Gawk

Due: 06:00 PM on Monday October 12 2020

DESCRIPTION: In this recitation assignment, you will just practice to run sed and gawk commands and record your work session into a file. In other words, just type and run commands specified in bold Consolas (except $ sign :) below on your terminal.

Let’s start. First, open a terminal (bash) session. Issue the first command

$ script FirsName_LastName_04.txt

where FirsName_LastName_04.txt is a file name with FirstName_LastName replaced with your real names. That command will start recording of your work into that file.

The sed commands: go to one of your directories that contains plenty of files (more than 10)

$ cd name-of-directory-with-more-than-10-files

and then in that directory create a list of files by issuing the following command

$ ls –l > sedfile.txt

Print 5 lines of sedfile.txt file to the terminal using statement

$ sed –n 1,5p sedfile.txt

Replace the first “-“character on lines in the file with “R”

$ sed –i "s/^-/R/g" sedfile.txt

-i option instructs sed to replace the original file with output file it creates.

Print 5 lines of sedfile.txt file again to see what was changed

$ sed –n 1,5p sedfile.txt

Delete the first line in the file

$ sed –i 1d sedfile.txt

Find some pattern on one of the lines in the file (like name, date, or memory size) and issue the following command to add new line after that pattern.

$ sed –i '/YOUR PATTERN/a This will be added as new line'

Print out the first 10 lines of your sedfile.txt file again to verify that these changes (deleting the first line and adding a new line) worked:

$ sed –n 1,10p sedfile.txt

Now let’s work with gawk. Create a list of running processes on your system by issuing the following command from your command prompt as follows:

$ ps –ef > gawkfile.txt

Print gawkfile.txt using the NR system variable as follows:

$ gawk 'NR <= 10' gawkfile.txt

This should display the first 10 lines of your gawkfile.txt file. Processes will be covered in detail a little later on in this course. So how many processes are running on your system?

$ gawk 'END {print NR}' gawkfile.txt

Since our gawkfile.txt file contains a header with the fields, we should have 1 less process running on our system. Let’s try to print out only those processes that only you are running. This means that we want to print out some fields where the UID is your user ID. If you do not know your user ID, you can issue the whoami command at your command prompt to find out.

$ gawk '/YOUR USER ID/{print NR, $0}' gawkfile.txt

Let’s see what is result of matching on the first field ($1)?

$ gawk '$1 ~ /YOUR USER ID/{print NR, $0}' gawkfile.txt

That ensures that only the processes that you own are printed!

We see that the first line of gawkfile.txt contains a header with most likely 8 fields (i.e., UID, PID, PPID, C, STIME, TTY, TIME, and CMD, though there might be some variation in different Linux distributions). However, because we use the default field separator of whitespace, some records might contain more fields. So, let’s print out those records that have more than 8 fields. We use here gawk variables NR and NF.

$ gawk 'NF > 8 {print NR, NF}' gawkfile.txt

Now, we print only fields from 9th to max (NF) on line if line contains more than 8 fields.

$ gawk 'NF>8 {for(i=9; i<=NF; i++) print NR, NF, $i}' gawkfile.txt

Now, we swap the PID (field $2) and PPID (field $3) columns so that each record lists the parents’ process ID first by just printing field in the specified order below (3 before 2).

$ gawk 'BEGIN {OFS="\t"};{print $1,$3,$2,$4,$5,$6,$7,$8}' gawkfile.txt

OFS above is Output Field Separator, so fields in output should be separated by a Tab.

To output result of gawk command to a file instead of terminal you can use redirection

$ gawk 'BEGIN {OFS="\t"};{print $1,$2,$3,$5}' gawkfile.txt > out

Let’s finish your recording session and close your script file

$ exit

You should see now FirsName_LastName_04.txt in the current directory.

REQUIREMENTS: Your typescript file will be graded based largely on whether you completed the work correctly, so you should make sure you obtained meaningful results from each command. • Although this assignment is to be submitted individually (i.e., each student will submit his/her own source code), you may receive assistance from your TA, IA (i.e., Grader), and even other classmates. Please remember that you are ultimately responsible for learning and comprehending this material as the recitation assignments are given in preparation for the minor assignments, which must be completed individually.

SUBMISSION:  You will electronically submit your typescript file FirsName_LastName_04.txt to the Recitation 3 drop box in Canvas by the due date and time. No late recitation assignments will be accepted.

In: Computer Science

Hemming Co. reported the following current-year purchases and sales for its only product.


  
Hemming Co. reported the following current-year purchases and sales for its only product.
    

DateActivitiesUnits Acquired at CostUnits Sold at Retail

Jan.1
Beginning inventory
220units@ $10.80=$2,376





Jan.10
Sales







190units@ $40.80

Mar.14
Purchase
330units@ $15.80=
5,214





Mar.15
Sales







280units@ $40.80

July30
Purchase
420units@ $20.80=
8,736





Oct.5
Sales







390units@ $40.80

Oct.26
Purchase
120units@ $25.80=
3,096








Totals
1,090units

$19,422
860units


Required:
Hemming uses a periodic inventory system.
  
(a) Determine the costs assigned to ending inventory and to cost of goods sold using FIFO.

(b) Determine the costs assigned to ending inventory and to cost of goods sold using LIFO.

(c) Compute the gross margin for each method.

Required:
Hemming uses a periodic inventory system.
  
(a) Determine the costs assigned to ending inventory and to cost of goods sold using FIFO.

(b) Determine the costs assigned to ending inventory and to cost of goods sold using LIFO.

(c) Compute the gross margin for each method.

a) Periodic FIFOCost of Goods Available for SaleCost of Goods SoldEnding Inventory

# of unitsCost per unitCost of Goods Available for Sale# of units soldCost per unitCost of Goods Sold# of units in ending inventoryCost per unitEnding Inventory
Beginning inventorynot attemptednot attempted
not attempted

not attempted

Purchases:








March 14not attemptednot attempted
not attempted

not attempted

July 30not attemptednot attempted
not attempted

not attempted

October 26not attemptednot attempted
not attempted

not attempted

Total0
$00
$00
$0










b) Periodic LIFOCost of Goods Available for SaleCost of Goods SoldEnding Inventory

# of unitsCost per unitCost of Goods Available for Sale# of units soldCost per unitCost of Goods Sold# of units in ending inventoryCost per unitEnding Inventory
Beginning inventory


not attempted

not attempted

Purchases:








March 14


not attempted

not attempted

July 30


not attempted

not attempted

October 26


not attempted

not attempted

Total0
$00
$00
$0










c) Gross MarginFIFOLIFO
not attemptednot attemptednot attempted
not attemptednot attemptednot attempted

In: Accounting

Barnes Company uses a job order cost system. The following data summarize the operations related to...

Barnes Company uses a job order cost system. The following data summarize the operations related to production for October:

October 1 Materials purchased on account, $635,470.
2 Materials requisitioned, $628,070, of which $74,070 was for general factory use.
31 Factory labor used, $674,350, of which $94,570 was indirect.
31 Other costs incurred on account for factory overhead, $151,200; selling expenses, $228,420; and administrative expenses, $152,810.
31 Prepaid expenses expired for factory overhead were $27,820; for selling expenses, $28,010; and for administrative expenses, $18,240.
31 Depreciation of office building was $81,480; of office equipment, $43,370; and of factory equipment, $31,020.
31 Factory overhead costs applied to jobs, $363,480.
31 Jobs completed, $992,960.
31 Cost of goods sold, $885,860.
Required:

Journalize the entries to record the summarized operations. Refer to the chart of accounts for the exact wording of the account titles. CNOW journals do not use lines for spaces or journal explanations. Every line on a journal page is used for debit or credit entries. Do not add explanations or skip a line between journal entries. CNOW journals will automatically indent a credit entry when a credit amount is entered.

CHART OF ACCOUNTS
Barnes Co.
General Ledger
ASSETS
110 Cash
121 Accounts Receivable
125 Notes Receivable
126 Interest Receivable
131 Materials
132 Work in Process
133 Factory Overhead
134 Finished Goods
141 Supplies
142 Prepaid Insurance
143 Prepaid Expenses
181 Office Building
191 Office Equipment
192 Accumulated Depreciation-Buildings and Equipment
LIABILITIES
210 Accounts Payable
221 Utilities Payable
231 Notes Payable
236 Interest Payable
241 Lease Payable
251 Wages Payable
252 Consultant Fees Payable
EQUITY
311 Common Stock
340 Retained Earnings
351 Dividends
390 Income Summary
REVENUE
410 Sales
610 Interest Revenue
EXPENSES
510 Cost of Goods Sold
520 Wages Expense
531 Selling Expenses
532 Insurance Expense
533 Utilities Expense
534 Office Supplies Expense
540 Administrative Expenses
561 Depreciation Expense-Office Building
562 Depreciation Expense-Office Equipment
590 Miscellaneous Expense
710 Interest Expense

In: Accounting

Question 1 AKONFEM Ltd. is issuing 10,000 shares on the following terms: On Application Allotment First...

Question 1
AKONFEM Ltd. is issuing 10,000 shares on the following terms:
On Application Allotment
First Call
GHC400 GHC300 GHC200 GHC100
Final Call
Applications have been received for 18,000 shares, which they decided to deal with them as follows:
On 5th March 2014 they decided to reject applications for 3,000 shares and the monies so received are refunded
Applications for 6,000 shares were accepted in full and
Applications for 9,000 shares were accepted pro-rata. Any excess application monies so received were transferred to allotment and call accounts. Any excess application money still remaining is to be repaid.
The allotment monies were due on March 30th 2014. The first call was made on 5th May 2014. The final call was made on 1st June 2014, and on that date an applicant to whom 500 shares have been allotted defaulted. The shares were subsequently forfeited and re-issued to Opele at GHC 600 each payable on application.
Prepare the necessary ledger accounts and show the extract of the Statement of Financial Position.
  

Question 2
ONE LUV CO. LTD. was incorporated with 20,000 authorized ordinary shares of no par value; 10,000 of which were issued and fully paid for as at 1st January. The stated capital of the company at that date was GHC 17,250,000
The company subsequently invited application for 7,500 ordinary shares at GHC 3,000 per share, payable as follows;
On Application Allotment
Calls
August 1st 2014
August 31st 2014 October 11th
GHC 2,000 per share GHC 500 per share GHC 500 per share
2014
Applications were received for 9,000 shares and on August 8th it was decided to deal with
them as follows:
a. To reject applications of 500 shares and monies relating to these shares immediately
refunded
b. To give full allotment to applicants of 1,000 shares
c. To allot the remainder on pro-rata and
d. To utilize excess application monies in part payment of amounts due on allotment
An applicant to whom 100 shares had been allotted failed to pay the calls monies and these shares were forfeited on October 31st 2014. Half of these shares were re-issued and fully paid at GHC 2,100 per share.
a. Show the necessary ledger accounts
b. Show the extract of the Statement of Financial Position

answer both
they are different questions

In: Accounting

A survey conducted for the Northwestern National Life Insurance Company revealed that 70% of American workers say job stress caused frequent health problems.

A survey conducted for the Northwestern National Life Insurance Company revealed that 70% of American workers say job stress caused frequent health problems. One in three said they expected to burn out in the job in the near future. Thirty-four percent said they thought seriously about quitting their job last year because of work-place stress. Fifty-three percent said they were required to work more than 40 hours a week very often or somewhat often. a. Suppose a random sample of 10 American workers is selected.What is the probability that more than seven of them say job stress caused frequent health problems? What is the expected number of workers who say job stress caused frequent health problems? b. Suppose a random sample of 15 American workers is selected. What is the expected number of these sampled workers who say they will burn out in the near future? What is the probability that none of the workers say they will burn out in the near future? c. Suppose a sample of seven workers is selected randomly. What is the probability that all seven say they are asked very often or somewhat often to work more than 40 hours a week? If this outcome actually happened, what might you conclude?

In: Statistics and Probability

Airbus sold an aircraft, A400, to Delta Airlines, a U.S. company, and billed $30 million payable...

Airbus sold an aircraft, A400, to Delta Airlines, a U.S. company, and billed $30 million payable in six months. Airbus is concerned with the euro proceeds from international sales and would like to control exchange risk. The current spot exchange rate is $1.05/€ and six-month forward exchange rate is $1.10/€ at the moment. Airbus can buy a six-month put option on U.S. dollars with a strike price of €0.95/$ for a premium of €0.02 per U.S. dollar. Currently, six-month interest rate is 2.5% in the euro zone and 3.0% in the U.S.

  1. Compute the guaranteed euro proceeds from the American sale if Airbus decides to hedge using a forward contract.
  2. If Airbus decides to hedge using money market instruments, what action does Airbus need to take? What would be the guaranteed euro proceeds from the American sale in this case?      
  3. If Airbus decides to hedge using put options on U.S. dollars, what would be the ‘expected’ euro proceeds from the American sale? Assume that Airbus regards the current forward exchange rate as an unbiased predictor of the future spot exchange rate.
  4. At what future spot exchange rate do you think Airbus will be indifferent between the option and money market hedge?

In: Accounting

2. Airbus sold an aircraft, A400, to Delta Airlines, a U.S. company, and billed $30 million...


2. Airbus sold an aircraft, A400, to Delta Airlines, a U.S. company, and billed $30 million payable in six months. Airbus is concerned with the euro proceeds from international sales and would like to control exchange risk. The current spot exchange rate is $1.05/€ and six-month forward exchange rate is $1.10/€ at the moment. Airbus can buy a six-month put option on U.S. dollars with a strike price of €0.95/$ for a premium of €0.02 per U.S. dollar. Currently, six-month interest rate is 2.5% in the euro zone and 3.0% in the U.S.
a) Compute the guaranteed euro proceeds from the American sale if Airbus decides to hedge using a forward contract.
b) If Airbus decides to hedge using money market instruments, what action does Airbus need to take? What would be the guaranteed euro proceeds from the American sale in this case?
c) If Airbus decides to hedge using put options on U.S. dollars, what would be the ‘expected’ euro proceeds from the American sale? Assume that Airbus regards the current forward exchange rate as an unbiased predictor of the future spot exchange rate.
d) At what future spot exchange rate do you think Airbus will be indifferent between the option and money market hedge?

In: Economics

Instructions: Answer any ONE of the following essay questions. Your response should be in essay format....

Instructions: Answer any ONE of the following essay questions. Your response should be in essay format. Write as much as possible telling me who, what, where, when, and why. Use complete sentences and multiple paragraphs; 3-5-7 total. Your response is worth up to 20 points.

Discuss American foreign policy in the 1970s under President Richard Nixon. What was his strategy for the Cold War? Did he do things different or were his efforts similar to his predecessors? Was he successful, why, or why not? How did the American people react to his policies? Be detailed and provided examples.

-OR-

Discuss the debate over Global Warming during the 1990s. What is meant by Global Warming? What exactly is the debate? What are the arguments from each side? Who is winning this debate? How does this debate affect the American people? Be detailed and provided examples.

-OR-

Discuss the September 11th attacks on the World Trade Center in New York in 2001. What were they and who led them? For what purpose were these attacks coordinated? Who did they U.S. ultimately determine was responsible for this act? What was the U.S.’s response to the attacks? Was the U.S. successful, why, or why not? Be detailed and provided examples.

In: Psychology

Midlife—Making the Most of the “Second Half” Have you heard the saying, “Life begins at forty?”...

Midlife—Making the Most of the “Second Half”

Have you heard the saying, “Life begins at forty?” Unfortunately the cultural messages we receive about midlife are often negative (an emphasis on the development of wrinkles and gray hair, for example) rather than positive (a time of advancement in one’s career, freedom from the responsibilities of caring for young children). Midlife is often a time of transition. People may change careers or end long-term marriages as they assess where they are in life and how they would like to spend the remainder of their lives. Because these transitions are sometimes painful, the concept of the “midlife crisis” has been created and has become popular in American culture. However, there has also been some debate questioning whether the midlife crisis is a universal experience and, in fact, whether it even exists. Review research on the concept of the midlife crisis and draw your own conclusions about its existence and prevalence in American culture. You will also discuss some ways that we can create a more positive image of midlife.

What is the evidence for the existence of the midlife crisis?

Why has the concept become so pervasive in American culture?

Discuss at least two ways that we can create a more positive image of midlife in our culture.

In: Psychology