SlideShare una empresa de Scribd logo
1 de 4
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 !!!!!!

Más contenido relacionado

Similar a Itco 620 unit 5 project

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
 
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
 
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docxStudent Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docxemelyvalg9
 
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
 
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
 
CSC139 Chapter 9 Lab Assignments (1) Classes and Obj.docx
CSC139 Chapter 9 Lab Assignments (1) Classes and Obj.docxCSC139 Chapter 9 Lab Assignments (1) Classes and Obj.docx
CSC139 Chapter 9 Lab Assignments (1) Classes and Obj.docxruthannemcmullen
 
Comp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source codeComp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source codepradesigali1
 

Similar a Itco 620 unit 5 project (20)

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
 
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
 
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docxStudent Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
Student Lab Activity A. Lab # CIS CIS170A-A1B. Lab.docx
 
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
 
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
 
Lecture#2
Lecture#2 Lecture#2
Lecture#2
 
CSC139 Chapter 9 Lab Assignments (1) Classes and Obj.docx
CSC139 Chapter 9 Lab Assignments (1) Classes and Obj.docxCSC139 Chapter 9 Lab Assignments (1) Classes and Obj.docx
CSC139 Chapter 9 Lab Assignments (1) Classes and Obj.docx
 
Comp 220 lab 3
Comp 220 lab 3Comp 220 lab 3
Comp 220 lab 3
 
Comp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source codeComp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source code
 

Más 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
 

Más 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

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Último (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

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 !!!!!!