Questions
Suppose that you are a speculator and that you noticed that the Japanese yen (F has...

Suppose that you are a speculator and that you noticed that the Japanese yen (F has depreciated substantially against the U.S. dollar (USD) over the several months. The current spot rate S0.0090 (i.e. 0.0090 USD per Y). Several major financial press articles suggest that the yen will continue to substantially depreciate over the next several months. However, you expect the value of the yen to remain very stable over the next several months (i.e., you expect very little to no volatility). Note that you do not currently have a position in yen; however, if you decide to purchase yen as part of an option strategy, please assume that you will purchase yen at the current spot rate of $0.0090 Your speculative choices are: .Long Call . Short Put Protective Put Covered Call Long Straddle Short Straddle The following options are available for purchase/sale: June 2019 Call: X - S0.0090; C- $0.000206 June 2019 Put: X S0.0090; P $0.000160 June 2019 Put: X = $0.0090; P = $0.000 160 · Given your expectations, which strategy would you choose and why (choose the best answer select the strategy that best aligns with your expectations for the yen)? On the following page, graph the profit diagram (where profit is expressed as USD per¥) for your position, making sure to provide an appropriate title for the graph and label each axis. Please label the corner/kink and break-even value(s) in addition to the minimum/maximum profit (expressed as USD per I) for the strategy. Lastly, calculate your profit (expressed as USD per Y) if the spot rate of the yen at expiration ends up being S0.0093? Ignore trading costs. Writing out the profit function(s) will make everything much easier.

In: Finance

1. You manage an ice cream factory that makes two flavors: Creamy Vanilla and Continental Mocha....

1. You manage an ice cream factory that makes two flavors: Creamy Vanilla and Continental Mocha. Into each quart of Creamy Vanilla go 2 eggs and 3 cups of cream. Into each quart of Continental Mocha go 1 egg and 3 cups of cream. You have in stock 850 eggs and 1,650 cups of cream. How many quarts of each flavor should you make in order to use up all the eggs and cream?

2. Enormous State University's Math Department offers two courses: Finite Math and Applied Calculus. Each section of Finite Math has 80 students, and each section of Applied Calculus has 70 students. The department will offer a total of 150 sections in a semester, and 11,200 students would like to take a math course. How many sections of each course should the department offer in order to fill all sections and accommodate all of the students?

3

Gerber Product's Gerber Mixed Cereal for Baby contains, in each serving, 60 calories and 11 grams of carbohydrates.† Gerber Mango Tropical Fruit Dessert contains, in each serving, 80 calories and 21 grams of carbohydrates.† If you want to provide your child with 300 calories and 74 grams of carbohydrates, how many servings of each should you use?

4.

You are the buyer for OHaganBooks.com and are considering increasing stocks of romance and horror novels at the new OHaganBooks.com warehouse in Texas. You have offers from two publishers: Duffin House and Higgins Press. Duffin offers a package of 5 horror novels and 5 romance novels for $50, and Higgins offers a package of 5 horror and 11 romance novels for $150.

How many packages should you purchase from each publisher to get exactly 7,500 horror novels and 10,800 romance novels?

In: Accounting

Python Programming 1. Write a function name split_name which takes one parameter called name. If the...

Python Programming

1. Write a function name split_name which takes one parameter called name. If the name parameter value is a name in the form LastName, FirstName(e.g., ”Grounds, Nic”) then the function should return a list of two elements where FirstName is the first element and LastName is the second element. If the name parameter value is a name in the form FirstName LastName(e.g., ”Nic Grounds”) then the function should return a list of two elements where FirstName is the first element and LastName is the second element.

2. Repeatedly prompt the user for a name (which the user may give in Last-name, FirstName form or FirstName LastName form). If the user’s response is an empty string (i.e., they simply press Return) cease looping. If the user’s response is not the empty string, call the split_name function you wrote and append the returned value to a list (initially empty).

3. Using the sorted function (which can take a single parameter, a list) and returns a copy of the list in sorted order) sort the list of names once the loop has finished. Print the sorted list of names, one name per line in LastName, FirstName form.

4. Observe the sorted list of names, are they sorted alphabetically by first name or last name? Leave your answer in a comment within the Python file you submit. Also, how do you think we could potentially modify the program to sort by last name instead of first (or first name instead of last, whichever is opposite of what you observed)? Leave your answer in a comment within the Python file you submit.

5. At the top of your file must be a comment that contains a brief explanation of how you determined which portion of each name was the first name vs. the last name.

In: Computer Science

In this python script find any bugs and errors which would cause the code to crash....

In this python script find any bugs and errors which would cause the code to crash. The code must be re-written correctly.

After debugging make a separate list of all the errors you found in the script.

contacts_list=[] # global variable, list of contacts_list, one string per contact

def pause()
    """ pauses program e.g. to view data or message """
    input("press enter to continue")

def load():
    """ populate list with data """  
  
    contacts_list.append(('Milo ', '063847489373'))
  
    contacts_list.append(('Tony', '46483848')
  
    contacts_list.append(('Betty' '03747384043'))
  
    print("%s records have been loaded" %(len(contacts_list)))
  

add():
    """ adds contact to list """
    name = input("enter name : ")
    phone_no = int(input("enter phone number : "))
    contacts_list.append(((phone_no, name)))

def view():
    """ displays contacts_list """
    index = 0
    for contact in contacts_list:
        print(index," ",contact[0], " ", contact[2])
        index += 1
    pause()

def delete():
    """ removes contact based upon index """
    index=input("enter index of contact to delete ")
    del contacts_list[index-1]

def menu():
    """ loops menu of options and does these until user quits """
    while True:
        print("")
        print(" enter for option")
        print(" =   ==========")
        print(" v   view contacts_list")
        print(" a   add contact")
        print(" d   delete contact")
        print(" q   quit")
        option=input("your option: ")
        optoin=option.lower() # always lower case
        if option == "v":
            #view()
        elif option == "d":
            delete()
        elif option == "a":
            add()
        elif option == "q":
            return # exit while loop and menu function
        else:
            print("invalid menu option")
            pause()

def main():
    """ entry point if module imported or run as script """
    load()
    menu()

if __name__ == "__main__":
    # runs program if executed as a script
    main()

In: Computer Science

Questions: 1) // declare integer variable sum equal to zero // declare variable integer i //...

Questions: 1) // declare integer variable sum equal to zero // declare variable integer i // declare while loop condition where i is less then 25 // inside of brackets calculate the sum of i (addition) // increment i // outside the loop print the sum of values =============================================

2) Create a sentinel value example if I press number 0 it will display the sum of data // create a scanner // prompt the user to to enter the numbers // declare variable integer and relate that to input scanner // declare variable sum equals to zero // declare while loop condition where the variable you just created above is not equal to 0 // inside of the bracket of while condition sum the data with addition // prompt the user to enter integer unless its not zero // again the same variable that you created outside the while condition will ask to input value through scanner // outside the bracket display the sum of values

3) Declare the do while loop // declare the variable integer which is equal to zero // declare do-while loop and inside of brackets prompt the user to print word "Hello" // increment the variable integer that you declared outside the loop // outside brackets declare while condition where variable that you declared in the beginning is less then 25

4) Continue the same process as exercise number 3, but this time use for loop

5) Create break command in while loop // declare integer variables sum and number and both of them are equal to zero // create while condition where number is less then 25 // inside of brackets increment number // declare if condition where number is equal to 10 // write continue ++ // sum the number (addition) // outside of brackets display sum in console

6) In this exercise do the same thing like number 5 exercise but instead of continue ++ write break;

In: Computer Science

C Program only - MUST USE MALLOC IN CODE Research and implement the Sieve of Eratosthenes....

C Program only - MUST USE MALLOC IN CODE

Research and implement the Sieve of Eratosthenes.

Example Program Session (implement some linefeed ‘\n’ formatting):

Enter the limit: 1000
Primes up to 1000

   2    3    5    7   11   13   17   19   23   29   31   37   41   43   47   53
59   61   67   71   73   79   83   89   97 101 103 107 109 113 127 131
137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223
227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311
313 317 331 337 347 349 353 359 367 373 379 383 389 397 401 409
419 421 431 433 439 443 449 457 461 463 467 479 487 491 499 503
509 521 523 541 547 557 563 569 571 577 587 593 599 601 607 613
617 619 631 641 643 647 653 659 661 673 677 683 691 701 709 719
727 733 739 743 751 757 761 769 773 787 797 809 811 821 823 827
829 839 853 857 859 863 877 881 883 887 907 911 919 929 937 941
947 953 967 971 977 983 991 997

Number of primes: 168

Press any key to continue . . .

In: Computer Science

The following phrases are the six purposes of our Federal government found in the Preamble of...

The following phrases are the six purposes of our Federal government found in the Preamble of the Constitution.

We the People of the United States, (1) in order to form a more perfect Union, (2) establish justice, (3) ensure domestic Tranquility, (4) provide for the common defense, (5) promote general Welfare, and (6) secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.

The statements below describe actions that may be taken by the US government. Using the information above regarding the Preamble of the Constitution, match the statements below with the number associated (1,2,3,4,5, or 6) with the purpose of government that BEST fits the situation. Place your answer in the space beside the statement.

1.

The President negotiates a nuclear arms deal with North Korea.

2.  

The US government gives emergency aid to tornado victims in Charlotte, NC.

3.

The police catch and arrest three people suspected of robbing a bank.

4.

The President asks Congress for money to build 100 additional stealth bombers.

5.

The first amendment was added to the Constitution in 1791. It protects citizens’ rights to freedom of speech, religion, press, assembly, and petition.

6.

Congress passes a law saying that no state can stop a US citizen from freely traveling from one state to another.

7.

Congress passes a law providing universal healthcare to all citizens.

8.

Congress decides to provide more funds to the FBI’s “War on Crime”

9.

The president signs a measure providing for the first peacetime draft in US history shortly before the attack on Pearl Harbor.

10.

A federal court orders a chemical company to make payments to workers who were injured in a spill.

11.

The government pays unemployment benefits to workers who lose their jobs during a recession.

In: Economics

Stock Valuation and Analysis : Vivint Solar, Inc. (VSLR) NYSE - Nasdaq Real Time Price. Currency...

Stock Valuation and Analysis :

Vivint Solar, Inc. (VSLR)

NYSE - Nasdaq Real Time Price. Currency in USD

Assignment Content

Top of Form

Resource

  • Stock Valuation and Analysis,Stock Valuation and Analysis Grading Guide

Purpose of Assignment

The purpose of this assignment is to allow students the opportunity to research a Fortune 500 company stock using the popular online research tool, Yahoo Finance. The tool allows the student to review analyst reports and other key financial information necessary to evaluate the stock value and make an educated decision on whether to invest.

Assignment Steps

Select a Fortune 500 company from one of the following industries:

  • Pharmaceutical
  • Energy
  • Retail
  • Automotive
  • Computer Hardware
  • Manufacturing
  • Mining

Access Yahoo Finance and enter the company name.

Review the financial information and statistics provided for the stock you selected and answer the following:

  • What is the ticker symbol of the company you chose?
  • What is the Current Stock Price?
  • What is the Market Cap for the stock you chose?
  • What is the Price to Earnings Ratio?
  • What is the Dividend and Yield?
  • What is the Enterprise Value?
  • What is the Beta?
  • Was there a Stock Split, and if so, when?
  • What was the closing stock price for the last 5 days?
  • What was the 52 Week High for this stock?
  • What is the Book Value per Share?
  • What type of rating are analysts recommending (i.e. buy, hold, etc.)?
  • What is the target price analysts are predicting for this stock?
  • What is the analyst's average revenue estimate for next year?
  • What are some of the significant news items and press releases made by the company over the last year?

Explain in 700 words why you would or would not recommend investing in this stock.

  • Describe the relationship between the value of the stock and the price to earnings ratio.
  • What information does the Market Capitalization (Market Cap) and Beta provide to the investor?

Submit your assignment.

In: Finance

Write a program that generates a random number between 1 and 50 and asks the user...

Write a program that generates a random number between 1 and 50 and asks the user to guess it. As a hint, it tells the user how many divisors it has, (excluding 1 and the number itself). Each time the user makes a wrong guess, it displays "Wrong" and says if the guess was too low or too high, until the user gets it right, in which case it says "Right" and says how many trials it took to guess it. Then, the program asks the user if he or she wants to continue. If the answer is 'y' or 'Y', it generates another number between 1 and 50 and repeats the game. If not, it prints the average of all trials with one decimal place and ends.

Example:

I've picked a number between 1 and 50 that has 0 divisor(s).

Guess the number: 23

Too low!

Guess the number: 37

Too low!

Guess the number: 43

Too high!

Guess the number: 41

Right! It took you 4 trials.

Play again? [y/n]: y

I've picked a number between 1 and 50 that has 1 divisor(s).

Guess the number: 25

Too low!

Guess the number: 49

Right! It took you 2 trials.

Play again? [y/n]: y

I've picked a number between 1 and 50 that has 3 divisor(s).

Guess the number: 30

Too high!

Guess the number: 24

Right! It took you 2 trials.

Play again? [y/n]: n

You averaged 2.7 trials in 3 games.

Press any key to continue.

Im stuck with the loops and if you can explain the steps would be great. At the end I need to show the average in where the user guessed the correct number and how many games they played

In: Computer Science

Programming Language = JAVA I wanna make menu -driven using these items. 1. one 2. two...

Programming Language = JAVA

I wanna make menu -driven using these items.

1. one
2. two
3. three
4. four
5. exit

This program will read a txt data and will display them in console.

text.txt

98765432,C,John,Smith,23 Church Ave,Central,2123,8,Valid
98765431,C,Joe,Smith,55 Church Street,Genzi,2323,0,Valid
98765430,C,Bob,Smith,23 Gong Road,Warambull,2443,0,Valid
98765429,C,Mike,Smith,42 Mike Street,Waterloo,2222,0,Valid
98765428,C,Juan,Smith,522 Banana steet,Bank,2423,2,Valid
98765427,C,Mike,Jones,232 Milemium lane,Sumrise,2753,13,Suspended
98765426,C,David,Smith,551 Russian Mountain ave,Kogara,2121,0,Valid
98765425,C,Sarah,Smith,123 Straight Street,Cronulla,2232,3,Valid
98765424,C,James,Smith,23 lane,Coroloa,2345,7,Valid
98765423,C,Mike,White,4 Loman Lane,Orange,2665,14,Suspended
98765422,C,Brendon,Fei,55 bal bay,sate,2757,0,Valid
98765421,C,Jian,Zhang,62 london Street,mango,2553,0,Valid
98765420,C,Choi,Saraha,11 hamberguer Street,kefece,2753,0,Valid
98765432,C,Godam,City,32 Kent Street,Maccus,2876,0,Valid

when user press 1, this program will display a report about this txt file.

a report will include number(98765420), family name, first name, suburb, point(0,3,2,,,), status(valid).

please display well-organized format, and also please provide special option which displays this report in the decending order of point(0,3,2).

In: Computer Science