SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
SOLUTIONJUG.COM
ITCO 620 - Unit 5 Project
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
CLICK HERE TO GET THE SOLUTION !!!!!!
Your project as a programming consultant is to create a program that develops an amortization
schedule. Your program should be written as a Java applet. As an applet, your program will be
executed through the use of a browser. Your applet should prompt the user for three different
inputs, loan amount, the duration of the loan and the annual interest rate. Your task is to create a
Java applet that provides the user with a payment schedule, or amortization schedule. The
schedule must include monthly payment amount, interest amount, principal amount and the
remaining balance per pay period. The amortization table must be presented to the user in a nicely
formatted table.
The applet input will be the loan amount, annual percentage rate (APR), and the number of years to
pay out the loan. The output will be the loan amount, interest rate per pay period number of pay
periods and the monthly payment. This information would be followed by the amortization schedule.
Following is an example of the expected output for a $35,000 loan over 8 years at 8.5% interest
rate.
Loan Amount: $35,000
Interest Rate per pay period: 0.085
Pay Periods: 96
Monthly Payment Amount: $503.72
Payment Monthly Amount Interest Principal Balance
35,000.00
1 503.72 247.92 255.80 34,744.20
2 503.72 246.10 257.62 34,486.58
3 503.72 244.28 259.44 33,965.86
….
95 503.72 7.07 496.65 500.78
96 503.72 3.55 500.17 0.61
The necessary calculations are below:
p,loan amount or principal
n,number of payments = payments per year * number of years
i,interest rate per pay period = APR/payments per year = APR/12
t,interest paid = interest rate per pay period * previous principal balance
r,monthly payment amount = principal * interest per period / (1-(1+(interest per
period)/100)^(number of payments-1)^2)
a, principle amount = monthly payment amount – interest paid
b, principle balance = previous balance – principle amount
Hint: In Java syntax the monthly payment calculation is:
r=((p*(i/100))/(1-(Math.pow((1+(i/100)),(n*(-1))))));
Details:
Please note that your program should accept three inputs:
1. The loan amount,
2. Annual Percentage Rate, and
3. The number of years to pay out the loan
And calculate six types of outputs:
1. The monthly payment amount,
2. Interest per pay period,
3. Number of pay periods,
4. Amortization schedule (including amount of interest per pay period, principal per pay period,
and principle balance)
When coding your applet, remember the following:
Your applet needs to extend the Applet (or JApplet) class. Of course, you need
to import the appropriate applet package(s).
Your applet needs to have declarations for the fields, labels, components,
widgets,etc. that you use in the applet.
There are applet methods that are called automatically by browsers (please see
your textbook). Make sure you initialize (implement init()) your applet.
You need the code that does the calculation of the interest.
You need to handle the event of pressing the button. There are some examples
in the book (ask your instructor for the specific pages).
Please create an HTML page that contains the applet tag. In addition to your mortgage
calculator commented Java code, you need to provide the HTML page.
Here is the Hello world Java code example to create an applet:
import java.applet.*;
import java.awt.*;
/**
* The HelloWorld class implements anapplet that
* simply displays "HelloWorld!".
*/
public class HelloWorld extends Applet {
public void paint(Graphics g){
// Display "Hello World!"
g.drawString("Hello world!",50, 25);
}
}
Then you would compile the class and create an HTML page called Hello.htm:
<HTML>
<HEAD>
<Title>A Simple Program.</Title>
</HEAD>
<BODY>
Here is the output of my program:
<APPLET CODE="HelloWorld.class"WIDTH="150" HEIGHT="25">
</APPLET>
</BODY>
</HTML>
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
CLICK HERE TO GET THE SOLUTION !!!!!!

Mais conteúdo relacionado

Semelhante a Itco 620 unit 5 project

Goals• to use a sentinel controlled loop• to use functionsLoa.pdf
Goals• to use a sentinel controlled loop• to use functionsLoa.pdfGoals• to use a sentinel controlled loop• to use functionsLoa.pdf
Goals• to use a sentinel controlled loop• to use functionsLoa.pdfhainesburchett26321
 
Cis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry universityCis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry universitylhkslkdh89009
 
Programming - C++
Programming - C++Programming - C++
Programming - C++Aoun10
 
I cant get the pictures to be any more clear. Thats as clear as the.pdf
I cant get the pictures to be any more clear. Thats as clear as the.pdfI cant get the pictures to be any more clear. Thats as clear as the.pdf
I cant get the pictures to be any more clear. Thats as clear as the.pdfallystraders
 
Cis 407 i lab 1 of 7
Cis 407 i lab 1 of 7Cis 407 i lab 1 of 7
Cis 407 i lab 1 of 7helpido9
 
Cis247 a ilab 5 inheritance
Cis247 a ilab 5 inheritanceCis247 a ilab 5 inheritance
Cis247 a ilab 5 inheritanceccis224477
 
Cis247 a ilab 5 inheritance
Cis247 a ilab 5 inheritanceCis247 a ilab 5 inheritance
Cis247 a ilab 5 inheritancecis247
 
Comp 220 i lab 3 bank account lab report and source code
Comp 220 i lab 3 bank account lab report and source codeComp 220 i lab 3 bank account lab report and source code
Comp 220 i lab 3 bank account lab report and source codepradesigali1
 
Cis247 i lab 5 inheritance
Cis247 i lab 5 inheritanceCis247 i lab 5 inheritance
Cis247 i lab 5 inheritancesdjdskjd9097
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7ashhadiqbal
 
CIS 170 Life of the Mind/newtonhelp.com   
CIS 170 Life of the Mind/newtonhelp.com   CIS 170 Life of the Mind/newtonhelp.com   
CIS 170 Life of the Mind/newtonhelp.com   llflowe
 
CIS 170 Imagine Your Future/newtonhelp.com   
CIS 170 Imagine Your Future/newtonhelp.com   CIS 170 Imagine Your Future/newtonhelp.com   
CIS 170 Imagine Your Future/newtonhelp.com   bellflower42
 
CIS 170 Focus Dreams/newtonhelp.com
CIS 170 Focus Dreams/newtonhelp.comCIS 170 Focus Dreams/newtonhelp.com
CIS 170 Focus Dreams/newtonhelp.combellflower82
 
Cis 170 Extraordinary Success/newtonhelp.com
Cis 170 Extraordinary Success/newtonhelp.com  Cis 170 Extraordinary Success/newtonhelp.com
Cis 170 Extraordinary Success/newtonhelp.com amaranthbeg143
 
LAB REQUIREMENTS 1- Make sure you have a green check in Grader for thi.pdf
LAB REQUIREMENTS 1- Make sure you have a green check in Grader for thi.pdfLAB REQUIREMENTS 1- Make sure you have a green check in Grader for thi.pdf
LAB REQUIREMENTS 1- Make sure you have a green check in Grader for thi.pdfanjutandon12309
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startednoahjamessss
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedgovendaagoovenda
 
918 PM (CST)Privacy Statement Terms and Conditions Contac.docx
918 PM (CST)Privacy Statement Terms and Conditions Contac.docx918 PM (CST)Privacy Statement Terms and Conditions Contac.docx
918 PM (CST)Privacy Statement Terms and Conditions Contac.docxevonnehoggarth79783
 
In c++ Please!!!!!The credit plan at TidBit Computer Store specifi.pdf
In c++ Please!!!!!The credit plan at TidBit Computer Store specifi.pdfIn c++ Please!!!!!The credit plan at TidBit Computer Store specifi.pdf
In c++ Please!!!!!The credit plan at TidBit Computer Store specifi.pdfcontact41
 

Semelhante a Itco 620 unit 5 project (20)

Goals• to use a sentinel controlled loop• to use functionsLoa.pdf
Goals• to use a sentinel controlled loop• to use functionsLoa.pdfGoals• to use a sentinel controlled loop• to use functionsLoa.pdf
Goals• to use a sentinel controlled loop• to use functionsLoa.pdf
 
Cis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry universityCis407 a ilab 1 web application development devry university
Cis407 a ilab 1 web application development devry university
 
Programming - C++
Programming - C++Programming - C++
Programming - C++
 
I cant get the pictures to be any more clear. Thats as clear as the.pdf
I cant get the pictures to be any more clear. Thats as clear as the.pdfI cant get the pictures to be any more clear. Thats as clear as the.pdf
I cant get the pictures to be any more clear. Thats as clear as the.pdf
 
Cis 407 i lab 1 of 7
Cis 407 i lab 1 of 7Cis 407 i lab 1 of 7
Cis 407 i lab 1 of 7
 
Cis247 a ilab 5 inheritance
Cis247 a ilab 5 inheritanceCis247 a ilab 5 inheritance
Cis247 a ilab 5 inheritance
 
Cis247 a ilab 5 inheritance
Cis247 a ilab 5 inheritanceCis247 a ilab 5 inheritance
Cis247 a ilab 5 inheritance
 
Comp 220 i lab 3 bank account lab report and source code
Comp 220 i lab 3 bank account lab report and source codeComp 220 i lab 3 bank account lab report and source code
Comp 220 i lab 3 bank account lab report and source code
 
Cis247 i lab 5 inheritance
Cis247 i lab 5 inheritanceCis247 i lab 5 inheritance
Cis247 i lab 5 inheritance
 
Chapter 2- Prog101.ppt
Chapter 2- Prog101.pptChapter 2- Prog101.ppt
Chapter 2- Prog101.ppt
 
Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7Comp 220 ilab 3 of 7
Comp 220 ilab 3 of 7
 
CIS 170 Life of the Mind/newtonhelp.com   
CIS 170 Life of the Mind/newtonhelp.com   CIS 170 Life of the Mind/newtonhelp.com   
CIS 170 Life of the Mind/newtonhelp.com   
 
CIS 170 Imagine Your Future/newtonhelp.com   
CIS 170 Imagine Your Future/newtonhelp.com   CIS 170 Imagine Your Future/newtonhelp.com   
CIS 170 Imagine Your Future/newtonhelp.com   
 
CIS 170 Focus Dreams/newtonhelp.com
CIS 170 Focus Dreams/newtonhelp.comCIS 170 Focus Dreams/newtonhelp.com
CIS 170 Focus Dreams/newtonhelp.com
 
Cis 170 Extraordinary Success/newtonhelp.com
Cis 170 Extraordinary Success/newtonhelp.com  Cis 170 Extraordinary Success/newtonhelp.com
Cis 170 Extraordinary Success/newtonhelp.com
 
LAB REQUIREMENTS 1- Make sure you have a green check in Grader for thi.pdf
LAB REQUIREMENTS 1- Make sure you have a green check in Grader for thi.pdfLAB REQUIREMENTS 1- Make sure you have a green check in Grader for thi.pdf
LAB REQUIREMENTS 1- Make sure you have a green check in Grader for thi.pdf
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-started
 
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-startedDevry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-started
 
918 PM (CST)Privacy Statement Terms and Conditions Contac.docx
918 PM (CST)Privacy Statement Terms and Conditions Contac.docx918 PM (CST)Privacy Statement Terms and Conditions Contac.docx
918 PM (CST)Privacy Statement Terms and Conditions Contac.docx
 
In c++ Please!!!!!The credit plan at TidBit Computer Store specifi.pdf
In c++ Please!!!!!The credit plan at TidBit Computer Store specifi.pdfIn c++ Please!!!!!The credit plan at TidBit Computer Store specifi.pdf
In c++ Please!!!!!The credit plan at TidBit Computer Store specifi.pdf
 

Mais de comp274

Itco 620 unit 4 project 1
Itco 620 unit 4 project 1Itco 620 unit 4 project 1
Itco 620 unit 4 project 1comp274
 
Itco 620 unit 2 project 2
Itco 620 unit 2 project 2Itco 620 unit 2 project 2
Itco 620 unit 2 project 2comp274
 
Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6comp274
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6comp274
 
Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6comp274
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6comp274
 
Cis 336 ilab 5 of 7
Cis 336 ilab 5 of 7Cis 336 ilab 5 of 7
Cis 336 ilab 5 of 7comp274
 
Cis 336 ilab 2 of 7
Cis 336 ilab 2 of 7Cis 336 ilab 2 of 7
Cis 336 ilab 2 of 7comp274
 
Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7comp274
 
Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7comp274
 
Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7comp274
 
Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7comp274
 
Cis 115 week 6 exercise
Cis 115 week 6 exerciseCis 115 week 6 exercise
Cis 115 week 6 exercisecomp274
 
Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7comp274
 

Mais de comp274 (16)

Week 4
Week 4Week 4
Week 4
 
Week 3
Week 3Week 3
Week 3
 
Itco 620 unit 4 project 1
Itco 620 unit 4 project 1Itco 620 unit 4 project 1
Itco 620 unit 4 project 1
 
Itco 620 unit 2 project 2
Itco 620 unit 2 project 2Itco 620 unit 2 project 2
Itco 620 unit 2 project 2
 
Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6
 
Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6
 
Cis 336 ilab 5 of 7
Cis 336 ilab 5 of 7Cis 336 ilab 5 of 7
Cis 336 ilab 5 of 7
 
Cis 336 ilab 2 of 7
Cis 336 ilab 2 of 7Cis 336 ilab 2 of 7
Cis 336 ilab 2 of 7
 
Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7
 
Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7
 
Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7
 
Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7
 
Cis 115 week 6 exercise
Cis 115 week 6 exerciseCis 115 week 6 exercise
Cis 115 week 6 exercise
 
Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7
 

Último

Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Websitedgelyza
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfinfogdgmi
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
GenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncGenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncObject Automation
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxMatsuo Lab
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IES VE
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?SANGHEE SHIN
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URLRuncy Oommen
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfAnna Loughnan Colquhoun
 

Último (20)

Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
GenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncGenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation Inc
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
 
Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?Do we need a new standard for visualizing the invisible?
Do we need a new standard for visualizing the invisible?
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URL
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdf
 

Itco 620 unit 5 project

  • 1. SOLUTIONJUG.COM ITCO 620 - Unit 5 Project Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 CLICK HERE TO GET THE SOLUTION !!!!!! Your project as a programming consultant is to create a program that develops an amortization schedule. Your program should be written as a Java applet. As an applet, your program will be executed through the use of a browser. Your applet should prompt the user for three different inputs, loan amount, the duration of the loan and the annual interest rate. Your task is to create a Java applet that provides the user with a payment schedule, or amortization schedule. The schedule must include monthly payment amount, interest amount, principal amount and the remaining balance per pay period. The amortization table must be presented to the user in a nicely formatted table. The applet input will be the loan amount, annual percentage rate (APR), and the number of years to pay out the loan. The output will be the loan amount, interest rate per pay period number of pay periods and the monthly payment. This information would be followed by the amortization schedule. Following is an example of the expected output for a $35,000 loan over 8 years at 8.5% interest rate. Loan Amount: $35,000 Interest Rate per pay period: 0.085 Pay Periods: 96 Monthly Payment Amount: $503.72 Payment Monthly Amount Interest Principal Balance 35,000.00 1 503.72 247.92 255.80 34,744.20 2 503.72 246.10 257.62 34,486.58 3 503.72 244.28 259.44 33,965.86 ….
  • 2. 95 503.72 7.07 496.65 500.78 96 503.72 3.55 500.17 0.61 The necessary calculations are below: p,loan amount or principal n,number of payments = payments per year * number of years i,interest rate per pay period = APR/payments per year = APR/12 t,interest paid = interest rate per pay period * previous principal balance r,monthly payment amount = principal * interest per period / (1-(1+(interest per period)/100)^(number of payments-1)^2) a, principle amount = monthly payment amount – interest paid b, principle balance = previous balance – principle amount Hint: In Java syntax the monthly payment calculation is: r=((p*(i/100))/(1-(Math.pow((1+(i/100)),(n*(-1)))))); Details: Please note that your program should accept three inputs: 1. The loan amount, 2. Annual Percentage Rate, and 3. The number of years to pay out the loan And calculate six types of outputs: 1. The monthly payment amount, 2. Interest per pay period, 3. Number of pay periods, 4. Amortization schedule (including amount of interest per pay period, principal per pay period, and principle balance) When coding your applet, remember the following: Your applet needs to extend the Applet (or JApplet) class. Of course, you need to import the appropriate applet package(s). Your applet needs to have declarations for the fields, labels, components, widgets,etc. that you use in the applet. There are applet methods that are called automatically by browsers (please see your textbook). Make sure you initialize (implement init()) your applet. You need the code that does the calculation of the interest. You need to handle the event of pressing the button. There are some examples in the book (ask your instructor for the specific pages).
  • 3. Please create an HTML page that contains the applet tag. In addition to your mortgage calculator commented Java code, you need to provide the HTML page. Here is the Hello world Java code example to create an applet: import java.applet.*; import java.awt.*; /** * The HelloWorld class implements anapplet that * simply displays "HelloWorld!". */ public class HelloWorld extends Applet { public void paint(Graphics g){ // Display "Hello World!" g.drawString("Hello world!",50, 25); } } Then you would compile the class and create an HTML page called Hello.htm: <HTML> <HEAD> <Title>A Simple Program.</Title> </HEAD> <BODY> Here is the output of my program: <APPLET CODE="HelloWorld.class"WIDTH="150" HEIGHT="25"> </APPLET> </BODY> </HTML> Screenshot 1 Screenshot 2 Screenshot 3
  • 4. Screenshot 4 CLICK HERE TO GET THE SOLUTION !!!!!!