Questions
R-Studio (R Programming Language) 4. Let the data x be given by `x <- c(1, 8,...

R-Studio (R Programming Language)


4. Let the data x be given by
`x <- c(1, 8, 2, 6, 3, 8, 5, 5, 5, 5)`
Use R to compute the following functions. Note, we use X1 to denote the first element of x (which is 1) etc.   
1. `(X1 + X2 + . . .+ X10)/10` (use sum)   
2. Find log10(Xi) for each i. (Use the log function which by default is base e)
3. Find `(Xi - 4.4)/2.875` for each i. (Do it all at once)   
4. Find the difference between the largest and smallest values of x. (This is the range. You can use `max` and
`min` or guess a built in command.)

```{r}
#insert your code
```

In: Computer Science

E8-10 (Algo) Computing Depreciation under Alternative Methods LO8-3 Strong Metals Inc. purchased a new stamping machine...

E8-10 (Algo) Computing Depreciation under Alternative Methods LO8-3

Strong Metals Inc. purchased a new stamping machine at the beginning of the year at a cost of $1,900,000. The estimated residual value was $100,000. Assume that the estimated useful life was five years and the estimated productive life of the machine was 300,000 units. Actual annual production was as follows:

Year Units
1 70,000
2 67,000
3 50,000
4 73,000
5 40,000

Required:

1. Complete a separate depreciation schedule for each of the alternative methods.

a. Straight-line.

b. Units-of-production.

c. Double-declining-balance.

This is the chart to use for each question. Boxes with a dash in it do not have to be filled.

Year Depreciation Expense Accumulated Depreciation Net Book Value
At acquisition - -
1
2
3
4
5

In: Accounting

On January 1, Year 1, Nini Tech Corp granted options to its new CEO, Jane Black,...

On January 1, Year 1, Nini Tech Corp granted options to its new CEO, Jane Black, which allows Jane to purchase 45,000 shares of $1.00 par value ordinary share for $40.00 per share. The options can be exercise after December 31, Year 3 and expire at March 31, Year 4. On the grant date, the market price of the share was $30.00 per share. Using an acceptable option valuation model, Nini decided that the options had a fair value of $240,000 on the grant date. The options serve as compensation for services rendered during the first three years.

Required:

1. Prepare the journal entry on grant date.

2. Prepare the journal entries for all three years to record compensation expense.

3. Prepare the journal entry assuming one half of the options are exercised on January 1, Year 4.

4. Prepare the journal entry for the expiration of the options not exercised on January 1, Year 4.

In: Accounting

-a) Find the equation of the line in its vector, parametric and symmetrical shapes that passes...

-a) Find the equation of the line in its vector, parametric and symmetrical shapes that passes through the point.

P (5, -2, 4) and it's perpendicular to the plane 4x-3y+5z=0.

b) Find the equation of the plane (Cartesian and vector) that passes through the points. A (1, -1, -1), B (3, 5, 7), C (1, 6, 8).

In: Math

Pick 5 business Each of one need: 1. Explain their revenue stream (type) 2. Explain when...

Pick 5 business

Each of one need:

1. Explain their revenue stream (type)

2. Explain when the revenue would be recognized ("earned") under the accrual method

3.Will there be a different gross and net sales?

4.Name 1 Cogs, if applicable

5.Name 1 variable operation expenses

6.Name 1 fixed operating expenses

In: Finance

excel problem Find the roots of the functions given using the bisection method. Use the graph...

excel problem

Find the roots of the functions given using the bisection method. Use the graph of each function to choose points that bracket the root of interest.

a. f(x) x-x^1/3-2

b.f(x)=xtanx-1

c.f(x)=x^4-e^x+1

d.f(x)x^2e^x-1

In: Advanced Math

8) Create the following program using Java. Circle calculation using methods Create scanner declare double variable...

8) Create the following program using Java.

Circle calculation using methods

Create scanner
declare double variable radius = -999
declare character choice

create do while loop
inside of do loop write:
System.out.println();
System.out.println("*** CIRCLE CALCULATIONS ***");
System.out.println();
System.out.println("1. Enter the radius of the circle");
System.out.println("2. Display the area of the circle");
System.out.println("3. Display the circumference of the circle");
System.out.println("4. Quit");
System.out.println();
System.out.println("Enter a number from 1 - 4");
System.out.println();


Declare choice character and relate to scanner

declare switch (choice)

case 1 radius which is equal to option1 method

case 2 call option2(radius)

case 3 call option3(radius)

case 4 quit

default
prompt the user to enter numbers from 1 - 4
close bracket
while condition choice !='4'

create method static double option1 gets the user to enter the radius of the circle
declare myradius variable double
declare a scanner
prompt the user to enter the radius of circle and relate to variable above with scaner
return the variable

create method static void option2 with parameter double radiusin
check condition id radiusin is equal to -999 display the message in console no radius is entered

else

declare variable double area
area is equal to 3.14 * radiusin * radiusin
display in console the area


create method static void option3 with parameter double radiusin
check condition id radiusin is equal to -999 display the message in console no radius is entered

else

declare variable double circumference
circumference is equal to 2 * 3.14 * radiusin
display in console the circumference

In: Computer Science

DataSpan, Inc., automated its plant at the start of the current year and installed a flexible...

DataSpan, Inc., automated its plant at the start of the current year and installed a flexible manufacturing system. The company is also evaluating its suppliers and moving toward Lean Production. Many adjustment problems have been encountered, including problems relating to performance measurement. After much study, the company has decided to use the performance measures below, and it has gathered data relating to these measures for the first four months of operations. Month 1 2 3 4 Throughput time (days) ? ? ? ? Delivery cycle time (days) ? ? ? ? Manufacturing cycle efficiency (MCE) ? ? ? ? Percentage of on-time deliveries 91 % 86 % 82 % 78 % Total sales (units) 3460 3312 3143 3025 Management has asked for your help in computing throughput time, delivery cycle time, and MCE. The following average times have been logged over the last four months: Average per Month (in days) 1 2 3 4 Move time per unit 0.7 0.5 0.6 0.6 Process time per unit 2.8 2.7 2.6 2.5 Wait time per order before start of production 23.0 25.2 28.0 30.2 Queue time per unit 4.6 5.3 6.1 7.0 Inspection time per unit 0.5 0.6 0.6 0.5 Required: 1-a. Compute the throughput time for each month. 1-b. Compute the delivery cycle time for each month. 1-c. Compute the manufacturing cycle efficiency (MCE) for each month. 2. Evaluate the company’s performance over the last four months. 3-a. Refer to the move time, process time, and so forth, given for month 4. Assume that in month 5 the move time, process time, and so forth, are the same as in month 4, except that through the use of Lean Production the company is able to completely eliminate the queue time during production. Compute the new throughput time and MCE. 3-b. Refer to the move time, process time, and so forth, given for month 4. Assume in month 6 that the move time, process time, and so forth, are again the same as in month 4, except that the company is able to completely eliminate both the queue time during production and the inspection time. Compute the new throughput time and MCE.

Complete this question by entering your answers in the tabs below.

Required 1

Required 2

Required 3

1-a. Compute the throughput time for each month.
1-b. Compute the delivery cycle time for each month.
1-c. Compute the manufacturing cycle efficiency (MCE) for each month.

(Round your answers to 1 decimal place.)

Show less

Throughput Time Delivery Cycle Time Manufacturing Cycle Efficiency (MCE)
Month 1 days days %
Month 2 days days %
Month 3 days days %
Month 4 days days %

3-a. (Month 5) Refer to the move time, process time, and so forth, given for month 4. Assume that in month 5 the move time, process time, and so forth, are the same as in month 4, except that through the use of Lean Production the company is able to completely eliminate the queue time during production. Compute the new throughput time and MCE.

3-b. (Month 6) Refer to the move time, process time, and so forth, given for month 4. Assume in month 6 that the move time, process time, and so forth, are again the same as in month 4, except that the company is able to completely eliminate both the queue time during production and the inspection time. Compute the new throughput time and MCE.

(Round your answers to 1 decimal place.)

Show less

Month 5 Month 6
Throughput time days days
Manufacturing cycle efficiency (MCE) % %

In: Accounting

The current stock price is $65 and it will pay $3 dividends in 1 month and...

The current stock price is $65 and it will pay $3 dividends in 1 month and 4 months. A European at-the-money put option with 5 months to maturity is traded for $6.A European at-the-money call option with 5 months to maturity is $5. The spot rate for 1, 4, 5 months are 13%,11% and9.5%(c.c).

1.Is there an arbitrage opportunity? If yes describe the investment strategy that pays off today and has for sure zero cash flows at any time in the future.

2.What level in the interest rate ensures that markets are arbitrage free?

In: Finance

1-Show the Two equations for determining stroke volume. Spell it out 2- What is the equation...

1-Show the Two equations for determining stroke volume. Spell it out

2- What is the equation for the relationship between Total Peripheral Resistance (or SVR) affects mean arterial pressure?

3- What are the 4 ways the sympathetic nervous system increases blood pressure?

4- Define “hematocrit”.

5- A woman with a hematocrit of 40 and 5 L of blood loses 1 L of blood when shot.   The EMT stops the bleed & pumps 1 L of plasma into him to return her to original blood volume. What is her new hematocrit?

In: Anatomy and Physiology