Questions
Mike is a homeowner. Jill runs a snowplowing business. Mike asks Jill to provide an estimate...

Mike is a homeowner. Jill runs a snowplowing business. Mike asks Jill to provide an estimate for

how much she would charge to snowplow Mike’s driveway. After Jill inspects Mike’s driveway,

the parties have the following email conversation on September 1, 2016:

Jill: “$50 each time I snowplow your driveway.”

Mike: “OK, sounds good. Please do so.”

Jill regularly snowplows Joe’s driveway during the 2016-17 season. In May 2017, Jill sends a bill

to Mike for all visits she made in the 2016-17 season, and Mike promptly pays that bill in full

without any other communication taking place between Jill and Mike.

• Jill regularly snowplows Mike’s driveway during the 2017-18 season and sends a bill for

those visits in May 2018. What are the rights and responsibilities of the parties under

contract law?

• Instead, assume that Jill does not come during the first major snowfall in 2017. Does Mike

have any contractual rights against

JILL?

  Explain fully.

• Ignore the previous bullets. Instead, assume Mike promptly pays the 2016-17 bill in full

without any other communication. On September 1, 2017, Jill raises her prices 20% for all

of her customers, and she notifies Mike of this fact. He does not respond. Jill regularly

snowplows Mike’s driveway during the 2017-18 season and in May 2018 sends Mike a bill

for those visits reflecting her increased prices. What are the right and responsibilities of

the parties under contract law.

In: Operations Management

Randolph runs a lemonade stand and wants to make $150 in the next week. He sells...

Randolph runs a lemonade stand and wants to make $150 in the next week. He sells each cup of lemonade for $0.75, while the variable cost is $0.15 for the cups and ingredients. Fixed costs such as posters and signs are $15.

Calculate the following:

a. Contribution margin per unit sold

b. Contribution margin ratio

c. Breakeven point in units

d. Units to be sold to earn the targeted operating income

In: Accounting

METAR Abbreviations METAR (Meteorological Aviation Report) is a format for reporting weather information, either for pilots...

METAR Abbreviations

  • METAR (Meteorological Aviation Report) is a format for reporting weather information, either for pilots in pre-flight weather briefings or by meteorologists to aid them in weather forecasting.
  • Here is a sample METAR report:
    SPECI KPWK 042100Z 05010KT 10SM BKN030
    OVC036 M01/M08 A3049 RMK AO2 T10111078
    
    Translation:
    SPECI means that this is an unscheduled METAR report issued when certain criteria are met.
    KPWK is the airport identifier for Chicago Executive Airport 18 miles northwest of the city center.
    Z means Zulu time (Coordinated Universal Time): 4:21:00pm.
    KT means wind direction and speed: direction 50 degrees clockwise from North and speed 10 knots.
    SM means visibility: 10 miles.
    BKN means clouds with cloud bottoms at 3,000 ft. are broken (cover 5/8 to 7/8 of sky).
    OVC means that clouds with cloud bottoms at 3,600 ft. are overcast (cover all of the sky).
    M01/M08 means that the temperature is minus 1 Celsius and that the dew point is minus 8 Celsius.
    A indicates an altimeter pressure reading of 10.49 inches of mercury.
    RMK means that the Remarks Section follows.
    A02 indicates that the station is automated with a precipitation discriminator
    T10171017 is a breakdown of the temperature and dew point in eight digits separated into two groups of four.
  • For example, here is a METAR weather report for the Midway Station in Chicago, for midnight, January 7, 2014:
    METAR KMDW 070551Z 26013G17KT 10SM FEW020 
    M23/M27 A3024 RMK AO2 SLP276 4/010 
    T12331272 11228 21239 411831261 55003 $
    
  • Here is a METAR tutorial from Weather Underground to help you decode this METAR report. You can also consult Wikipedia for an overview of METAR.

Project 1 directions:

  1. Look up the English meanings of these METAR abbreviations online (Wikipedia is a good source):
    +  -  B  DZ  E  HZ  RA  SN
    
  2. Write a Java program that reads a METAR abbreviation, translates it to English if it is one of these eight abbreviations, then prints its English meaning. Use an if..else statement to do the translation.
  3. If the input does not match any of these eight abbreviations, print Unknown abbreviation.
  4. Name your Java project according to the standard naming convention: Proj1Smith, where you replace Smith by your last name. Also name your zip file Proj1Smith.zip
  5. Submit a zip file of your IntelliJ project folder.
  6. Note: don't use the == operator for String objects, use the String equals method instead as in the NumToWords Example in the num-to-words file.

In: Computer Science

please give complete code in python using def function thank you! Validate Credit Card Numbers Credit...

please give complete code in python using def function thank you!

Validate Credit Card Numbers

Credit card numbers can be quickly validated by the Luhn checksum algorithm.

  1. Start at the rightmost digit save one (the last being the checksum digit). Moving left, double the value of every second digit. If the doubled value is greater than nine, then subtract 9 from the doubled value to renormalize within the range 0–9.
  2. Sum all the digits including the checksum digit.
  3. If this total modulo 10 is zero, the number is valid.

For instance, Ned Flander's credit card number is 8525.4941.2525.4158.

  1. Here are the digits with checksum underlined:

    8525494125254158_

  2. Here are the digits doubled back:

    16 5 4 5 8 9 8 1 4 5 4 5 8 1 10 8_

    Here are the two-digit results subtracted nine:

    7 5 4 5 8 9 8 1 4 5 4 5 8 1 1 8_

  3. Here is the sum:

    7+5+4+5+8+9+8+1+4+5+4+5+8+1+1+8=83

  4. Here is the modulo 10 result: 83%10=3 and this is not a valid credit card number.

Compose a function luhn which correctly validates a given candidate 16-digit credit-card number (as a numeric input in int).

In: Computer Science

The following stem-and-leaf plot represents the prices in dollars of general admission tickets for the last...

The following stem-and-leaf plot represents the prices in dollars of general admission tickets for the last 26 concerts at one venue. Use the data provided to find the quartiles.

Ticket Prices in Dollars
Stem Leaves
3 0 1 2 2 5 5 7 8
4 0 2 2 3 4 6 6 7
5 1 3 7 8 8 9
6 2 3 5 7

Key: 3|0=30

Find the first, second and third quartile,

In: Statistics and Probability

Expect that a connection has a lossy tendency of 10% and that packet losses are independent....

Expect that a connection has a lossy tendency of 10% and that packet losses are independent. Assume that when a packet gets lost, this is detectable and the packet is re-transmitted until the point that it is accurately received. What is the probability that it would be transmitted precisely one, two, and three times?

In: Statistics and Probability

One hundred students were placed into two groups. The two groups were the South Beach diet...

One hundred students were placed into two groups. The two groups were the South Beach diet and Keto diet. Below are the data for pounds lost after 1 month of dieting. Assume the data are normal and that the sample size is 100 (but, use the values you have). Tell me if there is a difference between the two diets. Show all of your work.

SB

Keto

2.5

3.5

3.2

3.7

3.0

4.0

5

4.1

2.3

4.0

2.7

2.5

1.0

2.3

In: Math

Create a Home Page: Part 1 • Contain an image or logo about your website. •...

Create a Home Page:

Part 1

• Contain an image or logo about your website.

• Must contain three navigation links. Home link. Registration link. Animations link.

• Footer will contain links to web pages to any other site you wish (just be outside your webpage, like YouTube,etc.) Open links in new tab, not current tab.

Create a Registration page:

• Registration Fields:

1) User Name - Input Text

2) Password - Input Password

3) Repeat Password - Input Password

4) First Name - Input Text

5) Last Name - Input Text

6) Address line 1 - Input Text

7) Address line 2 - Input Text

8) City - Input Text

9) State - Drop Down of Options

10) Zip Code - Input Text

11) Phone Number - Input Text

12) Email - Input Text

13) Gender - Radio buttons

14) Marital Status - Radio buttons

15) Date of Birth - Input Text, must have a calendar pop up (date picker)

16) Submit Button - Form submit button

17) Reset Button - Clears form fields to default settings (normally empty)

Create an Animation page:

• Use CSS3 animations to make an animation that matches your web site theme.


Part 2

• Add client side HTML5 and JavaScript form validation for user input

• Validation Rules for Registration Fields (do not change the input types from Project 1, these validation character lengths are going to be the database column sizes, so for radio/drop down options, just do not give the user a value under/over the limit):
1) User Name

a. Required Field

b. Max length 50 characters, minimum length 6 characters

2) Password

a. Required Field

b. Max length 50 characters, minimum length 8 characters

c. Enforce 1 capital, 1 lowercase, 1 digit, 1 special character

3) Repeat Password

a. Required Field

b. Max length 50 characters, minimum length 8 characters

c. Enforce 1 capital, 1 lowercase, 1 digit, 1 special character

d. Ensure password fields match

4) First Name

a. Required Field

b. Max length 50 characters

5) Last Name

a. Required Field

b. Max length 50 characters

6) Address line 1

a. Required Field

b. Max length 100 characters

7) Address line 2

a. Optional Field

b. Max length 100 characters

8) City

a. Required Field

b. Max length 50 characters

9) State

a. Required Field

b. Max length 52 characters

10) Zip Code

a. Required Field

b. Max length 10 characters, minimum length 5 digits

c. Use jQuery/JavaScript to dynamically adjust user input to match either xxxxx or xxxxx-xxxx format (this should be done either as the user is typing or after leaving the field)

11) Phone Number

a. Required Field

b. Max length 12 characters

c. Use jQuery/JavaScript to dynamically adjust user input to match xxx-xxx-xxxx (this should be done either as the user is typing or after leaving the field)
format

12) Email

a. Required Field

b. Email format, [email protected] format, where x is a placeholder for valid alphanumeric characters

13) Gender

a. Required Field

b. Max length 50 characters

14) Marital Status

a. Required Field

b. Max length 50 characters

15) Date of Birth

a. Required Field

b. MM/dd/yyyy format

16) Submit Button

a. Submits valid user data only

17) Reset Button

a. Resets all fields to default value (empty, for most fields)

----------------------------------------------------------------------------------------------------

• When validating user input with JavaScript. Check all user input fields.

o All valid user inputs are marked green with some icon or messaging indicating good
input.
o All invalid user inputs are marked red with some icon or messaging indicating bad input.

o Make sure all valid user data is submitted to the server

----------------------------------------------------------------------------------------------------


In: Computer Science

Hanan corporation has the following relationships: Return on assets (ROA) 4%, Return on equity (ROE) 8%....

Hanan corporation has the following relationships: Return on assets (ROA) 4%, Return on equity (ROE) 8%. What is the equity ratio?
Select one:
a. 25%
b. 40%
c. 50%
d. 60%

IF CDD has sales revenues of $300,000 and inventory turnover 5x. Find the company ending inventories?
Select one:
a. $300,000
b. $50,000
c. $240,000
d. $60,000

Find the price of a corporate bond which has a par value of $1000 and coupon payment is 5% and yield is 8%. The maturity of the bond is 10 years?
Select one:
a. 986.4$
b. 798.7$
c. 1230$
d. 895.4$

What is the present value of a 5-year annuity due with annual payments of $200, evaluated at a 10 percent interest rate?
Select one:
a. $850.25
b. $833.97
c. $900.25
d. $1000

You receive annual payments of $4,800 at the beginning of each year for 7 years. The discount rate is 8 percent. What is the future value?
Select one:
a. $46,255.8
b. $96,255.3
c. $60,255.0
d. $50,255.2

In: Finance

Details of McCormick Plant Proposal McCormick & Company is considering a project that requires an initial...

Details of McCormick Plant Proposal McCormick & Company is considering a project that requires an initial investment of $24 million to build a new plant and purchase equipment. The investment will be depreciated as a modified accelerated cost recovery system (MACRS) seven-year class asset. The new plant will be built on some of the company's land, which has a current, after-tax market value of $4.3 million. The company will produce bulk units at a cost of $130 each and will sell them for $420 each. There are annual fixed costs of $500 thousand. Unit sales are expected to be 150,000 each year for the next six years, at which time the project will be abandoned. At that time, the plant and equipment is expected to be worth $8 million (before tax) and the land is expected to be worth $5.4 million (after tax). To supplement the production process, the company will need to purchase $1 million worth of inventory. That inventory will be depleted during the final year of the project. The company has $100 million of debt outstanding with a yield to maturity of 8 percent, and has $150 million of equity outstanding with a beta of 0.9. The expected market return is 13 percent, and the risk-free rate is 5 percent. The company's marginal tax rate is 40 percent. Should the project be accepted?

8. Find the NPV using the after-tax WACC as the discount rate.

In: Finance