Questions
Programming can be used to assist users in completing complex calculations very quickly. As seen in...

Programming can be used to assist users in completing complex calculations very quickly. As seen in class practices, we were able to calculate the area of geometric shapes, figure out the amount of calories in cookies, and even calculate a restaurant bill.
For this assignment, you will take input from the user to provide interactive messages and to solve the following word problem:
Engineers often need to convert between different types of units to perform calculations that follow standard formulas. One conversion that is very common involves converting distances. List the steps, by writing pseudocode, that explains how you would ask the user to provide the distance in miles and would display: 1) The distance in kilometers, 2) the distance in feet, 3) the distance in yards.
Example:
The program asks the user to provide their name and displays a greeting message that explains its purpose. The program requests the distance in miles. The user provides the number 158 for miles. The program calculates and displays the results of: 1) 254.28 kilometers, 2) 834240 feet, 3) 278080 yards

Your Task:
For now, we are not going to do any programming! You must understand that you should plan your code. Planning your code saves you time in the long run and allows you to use the solution in any programming language.
For this part of your project, you must write pseudocode explaining the steps that you will take to create the program described above.
Remember that pseudocodes involve absolutely no Python yet.
Remember that in a PSEUDOCODE we should identify the: 1) Input, 2) Process, 3) Output

using pseudocode and give me the process and programming

In: Computer Science

You are a business owner of a firm that services trucks. A customer would like to...

You are a business owner of a firm that services trucks. A customer would like to rent a truck from you for one week, while you service his truck. You must decide whether or not to rent him a truck. You have an extra truck that you will not use for any other purpose during this week. This truck is leased for a full year from another company for $300/ week plus $.50 for every mile driven. You also have paid an annual insurance premium, which costs $50/ week to insure the truck. The truck has a full 100-gallon fuel tank. The customer has offered you $500 to rent the truck for a week. The price includes the 100 gallons of fuel that is in the tank. It also includes up to 500 miles of driving. The customer will pay $.50 for each additional mile that he drives above the 500 miles. You anticipate that the customer will bring back the truck with an empty fuel tank and will have driven more than 500 miles. You sell fuel to truckers at a retail price $3.35/gallon. Any fuel you sell or use can be replaced at a wholesale price of $2.95/gallon. The customer will rent a truck from another company if you do not accept the proposed deal. In either case, you will service his truck. You know the customer and are confident that he will pay all charges incurred under the agreement. 1. Should you accept or reject the proposed deal? Why, or why not? Show calculations. 2. Would your answer change if your fuel supplier limited the amount of fuel up to 100 gallons/ week you could purchase from him at the wholesale price? Explain.

In: Economics

You are a business owner of a firm that services trucks. A customer would like to...

You are a business owner of a firm that services trucks. A customer would like to rent a truck from you for one week, while you service his truck. You must decide whether or not to rent him a truck. You have an extra truck that you will not use for any other purpose during this week. This truck is leased for a full year from another company for $300/ week plus $.50 for every mile driven. You also have paid an annual insurance premium, which costs $50/ week to insure the truck. The truck has a full 100-gallon fuel tank. The customer has offered you $500 to rent the truck for a week. The price includes the 100 gallons of fuel that is in the tank. It also includes up to 500 miles of driving. The customer will pay $.50 for each additional mile that he drives above the 500 miles. You anticipate that the customer will bring back the truck with an empty fuel tank and will have driven more than 500 miles. You sell fuel to truckers at a retail price $3.35/gallon. Any fuel you sell, or use can be replaced at a wholesale price of $2.95/gallon. The customer will rent a truck from another company if you do not accept the proposed deal. In either case, you will service his truck. You know the customer and are confident that he will pay all charges incurred under the agreement.

1. Should you accept or reject the proposed deal? Why, or why not? Show calculations.

2. Would your answer change if your fuel supplier limited the amount of fuel up to 100 gallons/ week you could purchase from him at the wholesale price? Explain.

In: Accounting

On JanuaryJanuary 11?, 20162016?, BriskBrisk Delivery Service purchased a truck at a cost of $ 90...

On

JanuaryJanuary

11?,

20162016?,

BriskBrisk

Delivery Service purchased a truck at a cost of

$ 90 comma 000$90,000.

Before placing the truck in? service,

BriskBrisk

spent

$ 2 comma 200$2,200

painting? it,

$ 600$600

replacing? tires, and

$ 6 comma 200$6,200

overhauling the engine. The truck should remain in service for five years and have a residual value of

$ 9 comma 000$9,000.

The? truck's annual mileage is expected to be

21 comma 00021,000

miles in each of the first four years and

16 comma 00016,000

miles in the fifth

yearlong dash—100 comma 000100,000

miles in total. In deciding which depreciation method to? use,

Harold ParkerHarold Parker?,

the general? manager, requests a depreciation schedule for each of the depreciation methods? (straight-line, units-of-production, and? double-declining-balance).Read the requirements

LOADING...

.

Requirement 1. Prepare a depreciation schedule for each depreciation? method, showing asset? cost, depreciation? expense, accumulated? depreciation, and asset book value.

Begin by preparing a depreciation schedule using the? straight-line method.

Straight-Line Depreciation Schedule

Depreciation for the Year

Asset

Depreciable

Depreciation

Depreciation

Accumulated

Book

Date

Cost

Cost

Rate

Expense

Depreciation

Value

1-1-2016

12-31-2016

/

=

12-31-2017

/

=

12-31-2018

/

=

12-31-2019

/

=

12-31-2020

/

=

Before completing the? units-of-production depreciation? schedule, calculate the depreciation expense per unit. ?(Round depreciation expense per unit to two decimal? places.)

(

-

) /

=

Depreciation per unit

(

-

) /

=

Prepare a depreciation schedule using the? units-of-production method. ?(Enter the depreciation per unit to two decimal? places, $X.X

In: Accounting

A highway department is studying the relationship between traffic flow and speed. The following model has...

A highway department is studying the relationship between traffic flow and speed. The following model has been hypothesized:

y = β0 + β1x + ε where

  • y = traffic flow in vehicles per hour
  • x = vehicle speed in miles per hour.

The following data were collected during rush hour for six highways leading out of the city.

Traffic Flow
(y)
Vehicle Speed
(x)
1,256 35
1,329 40
1,226 30
1,333 45
1,347 50
1,122 25

In working further with this problem, statisticians suggested the use of the following curvilinear estimated regression equation.

ŷ = b0 + b1x + b2x2

(a) Develop an estimated regression equation for the data of the form ŷ = b0 + b1x + b2x2 (Round b0 to the nearest integer and b1 to two decimal places and b2 to three decimal places.)

ŷ =

Find the value of the test statistic. (Round your answer to two decimal places.)

Base on the model predict the traffic flow in vehicles per hour at a speed of 38 miles per hour. (Round your answer to two decimal places.)

vehicles per hour

A study of emergency service facilities investigated the relationship between the number of facilities and the average distance traveled to provide the emergency service. The following table gives the data collected.

Number of
Facilities
Average
Distance
(miles)
9 1.67
11 1.12
16 0.82
21 0.63
27 0.50
30 0.47

Develop an estimated regression equation for the data corresponding to a second-order model with one predictor variable. (Round your numerical values to four decimal places.)

In: Statistics and Probability

Speedy Taxi Service purchased a new cab for $33,500. It is expected to have a salvage...

  1. Speedy Taxi Service purchased a new cab for $33,500. It is expected to have a salvage value of $1000 and a life of 3 years. The cab is expected to be driven 150,000 miles over those three years. It has been driven 30,000 miles in year 1 and 20,000 miles in year 2.
    1. Compute the annual depreciation for the first two years under each of the following methods:
      1. Straight Line
      2. Units-of-Activity
      3. Double-Declining

If you were the owner of the Taxi Service, which method and why would you deem most appropriate?Summit Company sells equipment on June 30, 2020. The equipment originally cost $45,000 and as of December 31, 2019 had accumulated depreciation of $24,000. Depreciation expense for the first six months of 2020 is $4,000.

Prepare the journal entries to record the depreciation expenses up to the date of sale and to record the sale of the equipment in these two independent situations. (Sales price – Book value = gain or loss)

  1. Sold for $25,000 on June 30, 2020
  2. Sold for $10,000 on June 30, 2020

#

Account Titles and Explanation

Ref

Debit

Credit

EXTRA CREDIT: Match the statement with the term most directly associated with it.

Goodwill

Intangible Assets

Research and development costs

Amortization

Franchises

  1. Rights, privileges, and competitive advantages that result from the ownership of long-lived assets that do not possess physical substance.___________________________________
  2. The excess of cost of a company over the fair value of the net assets acquired.___________________________________
  3. A right to sell certain products or services, or use certain trademarks or trade names within a designated geographic area._______________________________________
  4. Costs incurred by a company that often lead to patents or new products. These costs must be expensed as incurred.________________________________________________
  5. The allocation of the cost of an intangible asset to expense in a rational and systematic manner._________________________________________________

In: Accounting

From Gross Domestic Product (GDP), we subtract the depreciation on domestic capital stock, regardless who owns...

From Gross Domestic Product (GDP), we subtract the depreciation on domestic capital
stock, regardless who owns the capital.
$183 million – $7.2 million – $0.3 million = $175.50
Depreciation on Domestic Capital Stock Owned by Citizens 7.2
epreciation on Domest c Capi al S ock O ned by Foreigners 0.3
epreciat on on Foreign Capital Stock Owned by Citizens 0.8
The depreciation on foreign capital stock is not relevant.
Take heed: An exam problem may give a single depreciation figure. Unless the exam
problem specifies the capital base, the depreciation may be applied with no adjustment.

Question 1.4: GNP
What is Gross National Product (GNP) in 20X8?

In: Economics

1) Why is codon bias important? 2) If you had a bacterial cell in a solution...

1) Why is codon bias important?

2) If you had a bacterial cell in a solution of sodium at 0.5 M outside the cell and 0.8 M inside the cell and K+ at 0.3 M outside the cell and 0.5 M inside the cell. If this is an antiporter, with the sodium coming into the cell as the as potassium (K+) moves out of the cell, which molecule sodium or potassium provides the energy for this transporter? How do you know?

In: Biology

I am trying to make a Risk Management tool in Python. I have it partially started....

I am trying to make a Risk Management tool in Python. I have it partially started. The scenario is that the Project Manager needs to be able to log on and enter information ( the required information is located in the code). I then need to capture that data and store it in an array with the ability to call back and make changes if necessary. Could you please help me out and explain what was done?

Current code:

Start of Code:

import os

import numpy

# Clear Screen

clear = lambda: os.system ('cls')

while True:

# Clear Screen

clear()

# Username and Password input from user

username = input("Enter Username: ")

Password = input("Enter Password: ")

# Checks user input against known users

if username == "Teague" and Password == "Pre$c0tt966":

  break

if username == "David" and Password == "W0lvert0n354":

  break

if username == "Seth" and Password == "D0ugl@s537":

  break

if username == "Mike" and Password == "Tunber&156":

  break

if username == "Kim" and Password == "Hu&nh565":

  break

# Clear Screen

clear()

print ("Login Succesful!")

while True:

  menu = input("Press 'p' for project setup: ")

  name = ['-']

  date = ['-']

  risk = ['-']

  likelihood = ['-']

  consequences = [0.0]

  percentage = [0.0]

  riskstate = [0.0]

  x = 0

  if menu == 'p':

  clear()

  while True:

   name[x] = input("Enter Project Name: ")

   date[x] = input("Enter Project Date: ")

   risk[x] = input("Enter Risk Name:")

   likelihood[x] = input("Enter Likelihood of Risk (A-E): ")

   if likelihood == "A":

    likelihood = 0.1

   if likelihood == "B":

    percentage = 0.3

   if likelihood == "C":

    percentage = 0.5

   if likelihood == "D":

    percentage = 0.7

   if likelihood == "E":

    percentage = 0.9

   consequences[x] = input("Enter Consequence Level (1-5): ")

    

   riskstate[x] = percentage * consequences

    

   if Like == 0.1:

    state = "low"

   if Like == 0.3 and Con < 3:

    state = "low"

  

   if Like == 0.3 and Con > 3:

    state = "medium"

   if Like == 0.5 and Con < 3:

    state="low"

   if Like == 0.5 and Con < 5:

    state = "medium"

   if Like == 0.5 and Con == 5:

    state = "high"

   

   if Like == 0.7 and Con < 2:

    state="low"

   if Like == 0.7 and Con< 4:

    state ="medium"

   

   if Like == 0.7 and Con> 4:

    state="high"

  

   if Like == 0.9 and Con < 3:

    state="medium"

   if Like == 0.9 and Con > 3:

    state="high"

   x+1

   break

   print(name[0])

In: Computer Science

What is the expected standard deviation of stock A’s returns based on the information presented in...

What is the expected standard deviation of stock A’s returns based on the information presented in the table? Answer as a rate in decimal format so that 12.34% would be entered as .1234 and 0.98% would be entered as .0098. Note that figures in the table are presented in decimal format, not as percentages. Outcome Probability of outcome Stock A return in outcome Good 0.2 0.8 Medium 0.5 0.1 Bad ? -0.5

In: Finance