Questions
A stock is expected to pay a dividend of $0.70 per share in one month, in...

A stock is expected to pay a dividend of $0.70 per share in one month, in four months and in seven months. The stock price is $30, and the risk-free rate of interest is 7% per annum with continuous compounding for all maturities. You have just taken a short position in an eight-month forward contract on the stock. Six months later, the price of the stock has become $34 and the risk-free rate of interest is still 7% per annum. What is the value your position six months later?

In: Finance

JAVA Program: Computes The Molar Mass of a chemical Formula. You shall write a program that:...

JAVA Program: Computes The Molar Mass of a chemical Formula.

You shall write a program that:
-Loads chemical-element data by scanning through the file (accessed via file path or URL) exactly once.
FILENAME: Elements.txt
-Expects one or more command-line arguments that constitute a chemical formula, as described below.
*A chemical formula, for the sake of this program, shall be defined as:
One or more whitespace-delimited tokens
Each token consists of either:
An element symbol, implying one atom of that element in the compound
An element symbol followed by an underscore and an integer, implying a certain number of atoms of that element in the compound.
Example:
C_4
C O_2
C_8 H_9 N O_2

-Prints one line containing the molar mass of the compound described by the formula, to six digits after the decimal point.

*Must define two classes(ChemicalElement and MolarMass).
Make use of string.split and Integer.parseInt to seperate the element name from the number of atoms.

-The file contains one line of information about each of all 118 chemical elements. Each line contains the following data, separated by whitespace:
Atomic number (int)
Symbol (String)
Name (String)
Relative atomic mass (double)
Period (row in periodic table) (int)
Group (column in periodic table) (int)
File(Elements.txt)

1 H Hydrogen 1.008 1 1
2 He Helium 4.002602 1 18
3 Li Lithium 6.94 2 1
4 Be Beryllium 9.0121831 2 2
5 B Boron 10.81 2 13
6 C Carbon 12.011 2 14
7 N Nitrogen 14.007 2 15
8 O Oxygen 15.999 2 16
9 F Fluorine 18.998403163 2 17
10 Ne Neon 20.1797 2 18
11 Na Sodium 22.98976928 3 1
12 Mg Magnesium 24.305 3 2
13 Al Aluminium 26.9815385 3 13
14 Si Silicon 28.085 3 14
15 P Phosphorus 30.973761998 3 15
16 S Sulfur 32.06 3 16
17 Cl Chlorine 35.45 3 17
18 Ar Argon 39.948 3 18
19 K Potassium 39.0983 4 1
20 Ca Calcium 40.078 4 2
21 Sc Scandium 44.955908 4 3
22 Ti Titanium 47.867 4 4
23 V Vanadium 50.9415 4 5
24 Cr Chromium 51.9961 4 6
25 Mn Manganese 54.938044 4 7
26 Fe Iron 55.845 4 8
27 Co Cobalt 58.933194 4 9
28 Ni Nickel 58.6934 4 10
29 Cu Copper 63.546 4 11
30 Zn Zinc 65.38 4 12
31 Ga Gallium 69.723 4 13
32 Ge Germanium 72.63 4 14
33 As Arsenic 74.921595 4 15
34 Se Selenium 78.971 4 16
35 Br Bromine 79.904 4 17
36 Kr Krypton 83.798 4 18
37 Rb Rubidium 85.4678 5 1
38 Sr Strontium 87.62 5 2
39 Y Yttrium 88.90584 5 3
40 Zr Zirconium 91.224 5 4
41 Nb Niobium 92.90637 5 5
42 Mo Molybdenum 95.95 5 6
43 Tc Technetium 98 5 7
44 Ru Ruthenium 101.07 5 8
45 Rh Rhodium 102.9055 5 9
46 Pd Palladium 106.42 5 10
47 Ag Silver 107.8682 5 11
48 Cd Cadmium 112.414 5 12
49 In Indium 114.818 5 13
50 Sn Tin 118.71 5 14
51 Sb Antimony 121.76 5 15
52 Te Tellurium 127.6 5 16
53 I Iodine 126.90447 5 17
54 Xe Xenon 131.293 5 18
55 Cs Caesium 132.90545196 6 1
56 Ba Barium 137.327 6 2
57 La Lanthanum 138.90547 6 0
58 Ce Cerium 140.116 6 0
59 Pr Praseodymium 140.90766 6 0
60 Nd Neodymium 144.242 6 0
61 Pm Promethium 145 6 0
62 Sm Samarium 150.36 6 0
63 Eu Europium 151.964 6 0
64 Gd Gadolinium 157.25 6 0
65 Tb Terbium 158.92535 6 0
66 Dy Dysprosium 162.5 6 0
67 Ho Holmium 164.93033 6 0
68 Er Erbium 167.259 6 0
69 Tm Thulium 168.93422 6 0
70 Yb Ytterbium 173.045 6 0
71 Lu Lutetium 174.9668 6 3
72 Hf Hafnium 178.49 6 4
73 Ta Tantalum 180.94788 6 5
74 W Tungsten 183.84 6 6
75 Re Rhenium 186.207 6 7
76 Os Osmium 190.23 6 8
77 Ir Iridium 192.217 6 9
78 Pt Platinum 195.084 6 10
79 Au Gold 196.966569 6 11
80 Hg Mercury 200.592 6 12
81 Tl Thallium 204.38 6 13
82 Pb Lead 207.2 6 14
83 Bi Bismuth 208.9804 6 15
84 Po Polonium 209 6 16
85 At Astatine 210 6 17
86 Rn Radon 222 6 18
87 Fr Francium 223 7 1
88 Ra Radium 226 7 2
89 Ac Actinium 227 7 0
90 Th Thorium 232.0377 7 0
91 Pa Protactinium 231.03588 7 0
92 U Uranium 238.02891 7 0
93 Np Neptunium 237 7 0
94 Pu Plutonium 244 7 0
95 Am Americium 243 7 0
96 Cm Curium 247 7 0
97 Bk Berkelium 247 7 0
98 Cf Californium 251 7 0
99 Es Einsteinium 252 7 0
100 Fm Fermium 257 7 0
101 Md Mendelevium 258 7 0
102 No Nobelium 259 7 0
103 Lr Lawrencium 266 7 3
104 Rf Rutherfordium 267 7 4
105 Db Dubnium 268 7 5
106 Sg Seaborgium 269 7 6
107 Bh Bohrium 270 7 7
108 Hs Hassium 269 7 8
109 Mt Meitnerium 278 7 9
110 Ds Darmstadtium 281 7 10
111 Rg Roentgenium 282 7 11
112 Cn Copernicium 285 7 12
113 Nh Nihonium 286 7 13
114 Fl Flerovium 289 7 14
115 Mc Moscovium 290 7 15
116 Lv Livermorium 293 7 16
117 Ts Tennessine 294 7 17
118 Og Oganesson 294 7 18

In: Computer Science

1. Find the missing value A, B, C, D


Refer to the table below.

QuantityVariable Cost (in dollars)Fixed Costs (in dollars)Total Costs (in dollars)Average Variable Costs (in dollars per unit)Average Total Costs (in dollars per unit)Marginal Costs (in dollars per unit)
00A40------
1154055155515
235407517.537.520
360401002033.325
4904013022.532.530
512540165C3335
6B40D26.633.335

1. Find the missing value A, B, C, D

2. Continue to refer to this table. If the firm produces 5 units that it sells for $40.00 each, what will its profits or losses equal?

Select one:

a. losses equal $75

b. losses equal $35

c. profits equal $75

d. profits equal $35

3. Continue to refer to this table. If the company sells 4 units at a price of $25 each, then the marginal unit produced

Select one:

a. is reducing profits.

b. costs the same as the average cost.

c. is increasing to profits.

d. costs more than the average total costs.

In: Economics

Star, Inc., a prominent consumer products firm, is debating whether or not to convert its all-equity...

Star, Inc., a prominent consumer products firm, is debating whether or not to convert its all-equity capital structure to one that is 40 percent debt. Currently, there are 2,000 shares outstanding and the price per share is $7. Its assets will be worth $21,500 in one year if the economy is strong, and $10,000 in one year if the economy is weak. Both events are equally likely. The interest rate on new debt is 8 percent, and there are no taxes.

a. What is the expected return of Star stock without leverage?

b. If Star converts to the capital structure that consists 40 percent debt today and uses the proceeds from issuing debt to repurchase shares of existing stock, what will be the market value of its equity after the repurchase? How many shares of stock can Start repurchase?

c. What is the expected return of Star stock after the transaction in part (b)?

In: Accounting

Star, Inc., a prominent consumer products firm, is debating whether or not to convert its all-equity...

Star, Inc., a prominent consumer products firm, is debating whether or not to convert its all-equity capital structure to one that is 40 percent debt. Currently, there are 2,000 shares outstanding and the price per share is $7. Its assets will be worth $21,500 in one year if the economy is strong, and $10,000 in one year if the economy is weak. Both events are equally likely. The interest rate on debt is 8 percent, and there are no taxes.

a. What is the expected return of Star stock without leverage?

b. If Star converts to the capital structure that consists 40 percent debt today and uses the proceeds from issuing debt to repurchase shares of existing stock, what will be the market value of its equity after the repurchase? How many shares of stock can Start repurchase?

c. What is the expected return of Star stock after the transaction in part (b)?

In: Finance

Expected Return: Discrete Distribution A stock's return has the following distribution: Demand for the Company's Products...

Expected Return: Discrete Distribution

A stock's return has the following distribution:

Demand for the
Company's Products
Probability of This
Demand Occurring
Rate of Return if This
Demand Occurs (%)
Weak 0.1 -35 %
Below average 0.2 -8
Average 0.4 10
Above average 0.2 35
Strong 0.1 50
1.0

Calculate the stock's expected return. Round your answer to two decimal places.

  %

Calculate the standard deviation. Do not round intermediate calculations. Round your answer to two decimal places.

  %

In: Finance

10. A school administrator thinks that teacher absences are equally probable for each day of the...

10. A school administrator thinks that teacher absences are equally probable for each day of the week. A co-worker does not agree and gathers data from last year and reports the absences for the day of the week in this table: Monday (46) Tuesday (47) Wednesday (40 )Thursday (50) Friday (67) Test that the days of the week have an equal probability of absences at the 0.10 level of significance.

In: Statistics and Probability

A 12.75-year maturity zero-coupon bond selling at a yield to maturity of 8% (effective annual yield)...

  1. A 12.75-year maturity zero-coupon bond selling at a yield to maturity of 8% (effective annual yield) has convexity of 150.3 and modified duration of 11.81 years. A 30-year maturity 6% coupon bond making annual coupon payments also selling at a yield to maturity of 8% has nearly identical duration—11.79 years—but considerably higher convexity of 231.2.

  1. Suppose the yield to maturity on both bonds increases to 9%. What will be the actual percentage capital loss on each bond? What percentage capital loss would be predicted by the duration-with-convexity rule? Actual: -11.09%, -10.72%; duration with convexity: -11.06%, -10.63%)
  2. Repeat part (a), but this time assume the yield to maturity decreases to 7%. (Actual: 12.59%, 13.04%; duration with convexity: 12.56%, 12.95%)
  3. Compare the performance of the two bonds in the two scenarios, one involving an increase in rates, the other a decrease. Based on the comparative investment performance, explain the attraction of convexity.

please show in excel

In: Accounting

witches »   HW-20: Arduino - Motor Speed.problem Arduino - Measuring Motor Speed Arduino sketch with...

witches »


 


HW-20: Arduino - Motor Speed.problem


Arduino - Measuring Motor Speed

Arduino sketch with corresponding line numbers per coding line.
Match line # 1 through #17 with the corresponding instruction purpose.
_____________________________________________________________________

1.   int count = 0;
     float f = 0;
     float PPR = 500;
     float RPM= 0;

2.   void setup()
3.      pinMode(2,INPUT);
4.      attachInterrupt(0,freq,RISING);
5.      Serial.begin(9600);

6.    void loop()
      {
7.      count=0;
8.      delay(100);
9.      f=10*count;
10.    RPM=f/PPR;
11.    Serial.print(count);
12.    Serial.print(" Pulses/100ms");
13.    Serial.print("\t");
14.    Serial.print(f);
15.    Serial.println(" Hz");
       }

16.   void freq()
        { 
17.      count=count++; 
        }

 1 2 3 4 5  Establish inputs and outputs 
 1 2 3 4 5  Declare Variables 
 1 2 3 4 5  Establish output communications with the monitor 
 1 2 3 4 5  Declare digital input pin 
 1 2 3 4 5  Establish interrupt digital input pin, name and mode 
 Tries 0/2
 6 7 8 9 10  Establish initial count value within the running program loop 
 6 7 8 9 10  Infinite loop - running program 
 6 7 8 9 10  Calculate revolutions per minute 
 6 7 8 9 10  Calculate freqency 
 6 7 8 9 10  Delay 100 ms while counting interrupt pulses 
 Tries 0/2
 11 12 13 14 15  Print text "Pulses/100ms" to monitor 
 11 12 13 14 15  Print count value to monitor 
 11 12 13 14 15  Print text " Hz" to monitor then line feed 
 11 12 13 14 15  Print frequency value to monitor 
 11 12 13 14 15  Print tab spacing to monitor 
 Tries 0/2
 16 17  Interrupt subroutine 
 16 17  Add one to the count which is accumulating the number of pulses in 100ms 
 Tries 0/2

In: Electrical Engineering

The marketing division of Family FunTime Mini Golf is wanting to gather information about the spending...

The marketing division of Family FunTime Mini Golf is wanting to gather information about the spending habits of its visitors. It polls visitors as they leave and gathers information about the amount of money spent at the course. A sample with 40 families and the amounts they spent can be found in the Excel table I have provided below. Please answer all questions using complete sentences.

Amount Spent
18
26
34
36
38
42
43
44
45
45
50
51
52
52
53
53
54
54
56
58
58
58
59
60
60
61
61
62
62
62
63
63
63
65
66
71
71
77
83
84
  1. Using Excel’s PivotTable feature, organize the data into a frequency distribution, using 7 classes and 15 as the lower limit of the first class. Copy your table below. (You can do a straight copy/paste from Excel, it will transfer the table over.) What class interval did you need to select? Explain.

Please help me create the pivot table with instructions

In: Statistics and Probability