For tax purpose an item may be depreciated


Part 1: For tax purpose an item may be depreciated over a period of several years N. With the double-declining balance method of depreciation, each year the item depreciates by 2/Nths of its value at the beginning of that year. In the last year it is depreciated by its value at the beginning of the last year. Create a HTML page with a textbox to enter property value and a textbox to enter property life and a button to submit the form and call a PHP web page to show the property's depreciation schedule. Test your program with property value = 2000 and life = 5. The output page should show property value and life in textboxes and display the depreciation table. Turn in the webpage view and source code view.



Part 2: Use PHP to prepare an amortization table for a loan. Creating a PHP web page that uses: 1. a textbox to enter the loan amount, 2. a dropdown list to select annual interest rate, 3. three radiobuttons to select 1, 2, or 3 years term, and a button to submit the form. After submitting the form, the page calls itself to produce amortization table with the entered loan, rate and term. Use the formula given in assignment 1 to compute the monthly payment The amount to interest column is calculated by multiplying the previous month's remaining balance by the monthly rate (annual rate/12). Amount to principal is Payment - Amount to Interest. Remaining Balance is previous month's remaining balance - amount to principal. Dollar figures should be displayed with a currency format. A loan amortization table example is given below. Turn in the webpage view and source code view.

Loan = $5,000, Year = 1, Annual Rate=6%:

1 $430.33 $25.00 $405.33 $4,594.67
2 $430.33 $22.97 $407.36 $4,187.31
3 $430.33 $20.94 $409.40 $3,777.91
4 $430.33 $18.89 $411.44 $3,366.47
5 $430.33 $16.83 $413.50 $2,952.97
6 $430.33 $14.76 $415.57 $2,537.40
7 $430.33 $12.69 $417.65 $2,119.76
8 $430.33 $10.60 $419.73 $1,700.03
9 $430.33 $8.50 $421.83 $1,278.19
10 $430.33 $6.39 $423.94 $854.25
11 $430.33 $4.27 $426.06 $428.19
12 $430.33 $2.14 $428.19 $0.00 

Additional Requirements 

Other Requirements: This needs to be done in php/html

 

 

Request for Solution File

Ask an Expert for Answer!!
PHP Web Programming: For tax purpose an item may be depreciated
Reference No:- TGS089561

Expected delivery within 24 Hours