Categories
Writers Solution

Writing a Python program to compute the daily pay for an Uber driver

Instruction:

This week’s assignment involves writing a Python program to compute the daily pay for an Uber driver. 

The driver gets paid an hourly rate plus a percentage of the miles driven plus the tips provided by passengers. The driver’s daily wage is based on the number of hours worked times his hourly rate.  The commission pay is based on the total miles driven times the commission percentage rate. The daily total pay should be computed as the daily wage plus commission pay plus tips. 

Write a program that prompts the user for the following input:

  • the number of miles driven for the day,
  • the number of hours worked for the day
  • the amount of tips received for the day

and defines (not prompt) the constant values for:

  • the hourly rate for the driver (pick a reasonable value, e.g. $12.50)
  • the commission rate (pick a reasonable value e.g. 5%)

Your program should compute and display the output for:

  • the daily wage,
  • the commission pay
  • the tips for the day, and
  • the total pay for the day

Your program should include Header comments (what the program does) and in-line comments (the major design steps). Document the values you chose for the cost per paper and percentage rate in your comments as well.

Submit your Python program as a text file (.py) file. In addition, submit a Design outline and a Test plan (3 different test cases) in a Word document or a PDF file which also includes a screenshot of execution of your program for each test case.

Your submission must also adhere to the Submission Requirements document (i.e., Filename and display your name, class, date in the output).

Grading:

10% – Design – outline proper sequence of steps, calculations (if necessary). Identify values of any known constants (e.g. commission rate). Identify what the user inputs will be and what the output will be.

10% – Completeness of your Test plan (at least three test cases). Include screenshots for each test case.

10% – Documentation – Header and in-line comments. Include documentation for the values you chose as the known constants (hourly rate, commission rate) in your comments as well. Documentation of major steps (from Design outline).

70% – Program prompts and executes correctly on all test cases. Satisfies all requirements, compiles, effectiveness and neatness, descriptive variables, def main.

Important note: This is an individual assignment and students are required to submit their original/independent work and adhere to UMGC academic integrity policy. Your submission should adhere to the Submission Requirements document. It is advised that you read all the material, including the Lecture before attempting the assignment. Also, review the example programs and practice exercises. If you do not understand something, reach out to your professor or the UMGC tutor.

Order from Academic Writers Bay
Categories
Writers Solution

Implement an Array-based Stack to compute linear time algorithm to compute span days

c++ programming

1. Implement an Array-based Stack to compute linear time algorithm to compute span days (slides 25 ~ 27 from lecture note 7). Program in lecture note 7 (P. 26 ~ 27) uses STL stack, but you should implement your stack data structure in this assignment. a. Download historical data for any stock of your choice b. Compute Span for each data point 

2. Implement BubbleSort 1 and 2 a. You will need to implement NodeList and Sequence b. You will need to implement Iterator in NodeList as well as Sequence c. Finally, you can use the functions on the previous slides from lecture note 8 to test your implementations

GET SOLUTION FOR THIS ASSIGNMENT

CLICK HERE TO MAKE YOUR ORDER

TO BE RE-WRITTEN FROM THE SCRATCH

NO PLAGIARISM

  • Original and non-plagiarized custom papers- Our writers develop their writing from scratch unless you request them to rewrite, edit or proofread your paper.
  • Timely Deliverycapitalessaywriting.com believes in beating the deadlines that our customers have imposed because we understand how important it is.
  • Customer satisfaction- Customer satisfaction. We have an outstanding customer care team that is always ready and willing to listen to you, collect your instructions and make sure that your custom writing needs are satisfied
  • Confidential- It’s secure to place an order at capitalessaywriting.com We won’t reveal your private information to anyone else.
  • Writing services provided by experts- Looking for expert essay writers, thesis and dissertation writers, personal statement writers, or writers to provide any other kind of custom writing service?
  • Enjoy Please Note-You have come to the most reliable academic writing site that will sort all assignments that that you could be having. We write essays, research papers, term papers, research proposals. Implement an Array-based Stack to compute linear time algorithm to compute span days

Get Professionally Written Papers From The Writing Experts 

Green Order Now Button PNG Image | Transparent PNG Free Download on SeekPNG Our Zero Plagiarism Policy | New Essays
Categories
Writers Solution

compute the solution to the 2D heat equation on a circular disk in Matlab

Now, compute the solution to the 2D heat equation on a circular disk in Matlab.

Recall that the heat equation is given by:

ut =  alpha^2 * grenadian^2 * u:

For this problem, we will solve the heat equation using a  fnite difference scheme on a Cartesian

grid, as in class. We will use a grid of 300 300 with the circular disk in the center. The radius of

the circle is r = 1,  alpha = 1, and the domain is [-1:5; 1:5] in x and [-1:5; 1:5] in y.

You can impose the boundary conditions by enforcing the temperature at points that are outside

of the disk at the beginning of each new time-step. It should be easy to  nd points that are outside

the disk, because they satisfy x^2 + y^2 > 1.

Simulate the unsteady heat equation for the following boundary conditions:

• The left half of the boundary of the disk is  fixed at a temperature of u = 1 and the right

half of the boundary is fixed at u = 2. Try simulating this with zero initial conditions  first.

Next, try initial conditions inside the disk where the top half is u = 1 and the bottom half

is u = 1.

• The temperature at the boundary of the disk is  fixed at u(theta) = cos(theta).

Include your Matlab code and show some plots of your solutions to the heat equation. Plot the

temperature distribution for each case 1) early on in the diffusion process, 2) near steady state,

and 3) somewhere in the middle.

More details please see the picture.

GET SOLUTION FOR THIS ASSIGNMENT

CLICK HERE TO MAKE YOUR ORDER

TO BE RE-WRITTEN FROM THE SCRATCH

NO PLAGIARISM

  • Original and non-plagiarized custom papers. Our writers develop their writing from scratch unless you request them to rewrite, edit or proofread your paper.
  • Timely Delivery. capitalessaywriting.com believes in beating the deadlines that our customers have imposed because we understand how important it is.
  • Customer satisfaction. Customer satisfaction. We have an outstanding customer care team that is always ready and willing to listen to you, collect your instructions and make sure that your custom writing needs are satisfied
  • Privacy and safety. It’s secure to place an order at capitalessaywriting.com We won’t reveal your private information to anyone else.
  • Writing services provided by experts. Looking for expert essay writers, thesis and dissertation writers, personal statement writers, or writers to provide any other kind of custom writing service?  film dealing with the march on Washington on August 28, 1963
  • Enjoy our bonus services. You can make a free inquiry before placing and your order and paying this way, you know just how much you will pay. compute the solution to the 2D heat equation on a circular disk in Matlab
  • Premium papers. We provide the highest quality papers in the writing industry. Our company only employs specialized professional writers who take pride in satisfying the needs of our huge client base by offering them premium writing services.

Get Professionally Written Papers From The Writing Experts 

Green Order Now Button PNG Image | Transparent PNG Free Download on SeekPNG Our Zero Plagiarism Policy | New Essays
Categories
Writers Solution

PRESENT VALUE AND BOND VALUATION: Compute the future value


Assignment Overview
This assignment is in a different direction than your Module 1 Case in that it is mostly computational in nature. Before starting this assignment, work through some of the examples in the background readings to make sure you understand all of the steps involved in future value and present value, including use of present value formulas to compute the value of a bond.

Case Assignment
Please download the Case 2 Template. You will type your answers into this document. Save the document with your last name and submit to the dropbox. Note that you will get partial credit if you show your work even if the answers are incorrect.

  1. Compute the future value for the following:
    a. $2,000 after being invested for two years in a savings account with 3% interest rate
    b. $5,000 after being invested for ten years in a savings account with a 1% interest rate
    c. $3,500 after being invested for nine years in a savings account with an 11% interest rate
  2. Compute the present value for the following:
    a. $3,000 to be paid in one year with a 9% discount rate
    b. $3,000 to be paid in three years with a 9% discount rate
    c. $4,000 to be paid in ten years with a 5% discount rate
  3. Compute the present value for the following:
    a. An investment that will pay you $1,000 in one year, another $1,000 in two years, and a third payment of $1,000 in three years (e.g., three payments of $1,000 to be paid once a year for three years). The discount rate is 4%.
    b. The same three $1,000 payments as in part a) above, but with a 6% discount rate
    c. An investment that will pay you $2,000 in one year, another $1,500 in two years, and a third payment of $3,000 in three years. The discount rate is 4%.
  4. Compute the value of the following bonds assuming a 3% discount rate (required rate of return):
    a. A zero-coupon bond that pays $1,000 in five years
    b. A bond that pays $1,000 in five years, with five annual coupon payments of $20 each
    c. What is the coupon rate if coupon payments are $20 per year? At what discount rate would the value of the bond be “at par” (e.g., be worth $1,000?). Explain your reasoning.
  5. This part of the assignment is purely conceptual with no computations required. Explain the following with references to the required readings:
    a. What is likely to happen to interest rates if the rate of inflation suddenly increases?
    b. Suppose there are two bonds each with coupon payments of $50. The first bond pays $1,000 in five years, and the other one pays $1,000 in ten years. If interest rates increased, would the value of the bonds increase or decrease? Which of the two bonds would have their value change more after the increase in interest rates? Explain your reasoning.
    Assignment Expectations
    Answer the assignment questions directly.
    • Stay focused on the precise assignment questions. Do not go off on tangents or devote a lot of space to summarizing general background materials.
    • For computational problems, make sure to show your work and explain your steps.
    • For short answer/short essay questions, make sure to reference your sources of information with both a bibliography and in-text citations. See the Student Guide to Writing a High-Quality Academic Paper, including pages 11-14 on in-text citations. Another resource is the “Writing Style Guide,” which is found under “My Resources” in the TLC Portal.

GET SOLUTION BELOW

CLICK HERE TO MAKE YOUR ORDER

TO BE RE-WRITTEN FROM THE SCRATCH

NO PLAGIARISM

WHY USE OUR COMPANY?

  • Original and non-plagiarized custom papers. Our writers develop their writing from scratch unless you request them to rewrite, edit or proofread your paper.
  • Timely Delivery. capitalessaywriting.com believes in beating the deadlines that our customers have imposed because we understand how important it is.
  • Customer satisfaction. Customer satisfaction. We have an outstanding customer care team that is always ready and willing to listen to you, collect your instructions and make sure that your custom writing needs are satisfied
  • Privacy and safety. It’s secure to place an order at capitalessaywriting.com We won’t reveal your private information to anyone else.
  • Writing services provided by experts. Looking for expert essay writers, thesis and dissertation writers, personal statement writers, or writers to provide any other kind of custom writing service?
  • Enjoy our bonus services. You can make a free inquiry before placing and your order and paying this way, you know just how much you will pay. PRESENT VALUE AND BOND VALUATION: Compute the future value
  • Premium papers. We provide the highest quality papers in the writing industry. Our company only employs specialized professional writers who take pride in satisfying the needs of our huge client base by offering them premium writing services.

Get Professionally Written Papers From The Writing Experts 

Green Order Now Button PNG Image | Transparent PNG Free Download on SeekPNG Our Zero Plagiarism Policy | New Essays  
Categories
Writers Solution

Compute financial ratios, time value, variables, and returns using industry standard tools for optimizing financial success

 Part II Overview

For this part of the final project, you will be given a scenario in which you are asked to illustrate your financial computation and analysis skills. This part of the assessment addresses the following course outcomes:

  Compute financial ratios, time value, variables, and returns using industry standard tools for optimizing financial success

  Analyze corporate financial data for multiple companies in evaluating past and future financial performances

Part II Prompt

For this section of your employment exam, you will select two companies. The first company needs to come from your TDAU thinkorswim portfolio. The second needs to be a competitor of the first company from the same industry. You will be responsible for collecting, synthesizing, and making decisions regarding both companies. After evaluating these companies’ financial data, you will then decide which company’s stock is the better investment.

This section of your employment examination must be submitted in two parts. Part A will contain the workbooks that house all of your quantitative data and formulas, along with any of the information that is relevant for your chosen companies. Part B will contain your answers to the questions asked below, composed in a cohesive manner. If you are referring to data that is found within the workbooks in Part A, be sure to include a citation—for example, “rate of return is 3.570 USD (E64, WB2),” where E64 is the cell that the calculation took place in and WB2 is designating “workbook 2.” This ensures that your instructor can quickly and accurately check data entry, formula use, and financial calculations.

Your submission must address the following critical elements:

Preparing the Workbooks

Download the annual income statements, balance sheets, and cash flow statements for the last three completed fiscal years for your chosen

companies. This information must be included in your final submission.

Prepare a worksheet for each of the companies to display their financial data for the last three fiscal years. Ensure your data is accurate and

organized. Include these worksheets as a workbook in your final submission.

Find historical stock prices for both companies and add this information to the respective spreadsheets. Consider the appropriate date range

you should use.

Three-Year Returns

What is the three-year return on the stock price of the first company (Company A)? How is the stock performing? Ensure that you use the appropriate formula in your spreadsheets to calculate the three-year return on the given company’s stock price.

What is the three-year return on the stock price of the second company (Company B)? How is this stock performing? Ensure that you use the appropriate formula in your spreadsheets to calculate the three-year return on your chosen company’s stock price.

How do these two stocks compare in terms of three-year returns? What does this indicate about these two companies?

III. Financial Calculations

Using the appropriate spreadsheets, which are to be included in the workbooks, calculate the price-to-earnings ratio for the last three fiscal

years of the given and your chosen companies. Be sure that you are entering and using the correct formula.

Using the appropriate spreadsheets, which are to be included in the workbooks, calculate the debt-to-equity ratios for the last three fiscal years

of the given and your chosen companies. Be sure that you are entering and using the correct formula.

Using the appropriate spreadsheets, which are to be included in the workbooks, calculate the return-on-equity ratios for the last three fiscal

years of the given and your chosen companies. Be sure that you are entering and using the correct formula.

Using the appropriate spreadsheets, which are to be included in the workbooks, calculate the earnings per share for the last three fiscal years of

the given and your chosen companies. Be sure that you are entering and using the correct formula.

Using the appropriate spreadsheets, which are to be included in the workbooks, calculate the profit margins for the last three fiscal years of the

given and your chosen companies. Be sure that you are entering and using the correct formula.

Using the appropriate spreadsheets, which are to be included in the workbooks, calculate the free cash flows for the last three fiscal years of the

given and your chosen companies. Be sure that you are entering and using the correct formula.

IV. IndustryAverages

Obtain current industry averages of three of the financial calculations above for both companies and add this information to your spreadsheet for comparison. Ensure the accuracy and organization of your data.

In this context, how is each company’s financial health? How do these two companies compare to one another? Consider the appropriate date range you should use.

V. Performance Over Time

Analyze the performance of the Company A over time. What financial strengths and weaknesses does this company have? Consider addressing

the free cash flows and ratios you calculated earlier.

Analyze the performance of your Company B over time. What financial strengths and weaknesses does this company have? Consider addressing

the free cash flows and ratios you calculated earlier.

Analyze how the data differ between these two companies. Why do you think this is? Consider addressing the free cash flows and ratios you

calculated earlier.

VI. Investment

Are the companies considered growth or value companies? Why?

Which company’s stock is the better investment? Consider supporting your answer with data.