Find Jobs
Hire Freelancers

Small Java Homework

$30-40 USD

Closed
Posted over 16 years ago

$30-40 USD

Paid on delivery
Consider the issue of compound interest. Let P = principal = present value, n = years of investment (loan), i = annual interest rate (decimal), m = number of time periods in a year, S = future value, and R = annual rate. These variables are related as follows: S/P =compound amount or single payment future value factor = (1+i/m)n*m P/S = single payment present worth factor = (1+i/m)-n*m S/R = uniform series compound amount factor = [(1+i/m)n*m-1]/(i/m) R/S =uniform series sinking fund factor = (i/m)/[(1+i/m)n*m-1] P/R = uniform series present worth factor = [(1+i/m)n\*m-1]/[(i/m)\*(1+i/m)n*m] R/P = uniform series capital recovery factor = [(i/m)\*(1+i/m)n\*m]/[(1+i/m)n*m-1] For example, a loan of P dollars for n years at interest rate 100i% can be paid back with a payment of R dollars paid m times per year. The total money paid in is R\*n\*m but the worth of that money at the end of the loan is S. Write a program, in java, that allows one to enter all but two of the variables (n, i, m, P, R, S) and calculate one or both of the other two variables. Note that one can calculate P given R, n, i, and m in a straightforward manner, as is the case with calculating R given P, n, i, and m. This is also true for calculating S given R, n, i, and m, and for calculating R given S, i, n, and m. It may be more difficult, perhaps involving root finding or trial and error methods, for solving for n or given the other variables. The program must include a recursive exponentiation function that is used. The Program should prompt the user for the inputs 1 by 1. Once 4 of the variables have been entered, prompt if user wishes to calculate the other variables or not, 1 by 1. Output is to the screen. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform I run Windows XP and am used to programming in NetBeans 5.5.1, so something that is compatible with that.
Project ID: 2675842

About the project

25 proposals
Remote project
Active 17 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
25 freelancers are bidding on average $24 USD for this job
User Avatar
See private message.
$34 USD in 2 days
4.9 (115 reviews)
7.1
7.1
User Avatar
See private message.
$25.50 USD in 2 days
5.0 (164 reviews)
6.1
6.1
User Avatar
See private message.
$17 USD in 2 days
4.9 (274 reviews)
5.9
5.9
User Avatar
See private message.
$21.25 USD in 2 days
5.0 (126 reviews)
5.5
5.5
User Avatar
See private message.
$29.75 USD in 2 days
4.9 (70 reviews)
5.2
5.2
User Avatar
See private message.
$25.50 USD in 2 days
5.0 (30 reviews)
5.2
5.2
User Avatar
See private message.
$21.25 USD in 2 days
4.9 (39 reviews)
4.8
4.8
User Avatar
See private message.
$21.25 USD in 2 days
5.0 (31 reviews)
4.8
4.8
User Avatar
See private message.
$25.50 USD in 2 days
5.0 (34 reviews)
4.5
4.5
User Avatar
See private message.
$17 USD in 2 days
4.7 (16 reviews)
3.2
3.2
User Avatar
See private message.
$21.25 USD in 2 days
4.8 (28 reviews)
3.1
3.1
User Avatar
See private message.
$34 USD in 2 days
5.0 (13 reviews)
1.9
1.9
User Avatar
See private message.
$25.50 USD in 2 days
5.0 (3 reviews)
2.0
2.0
User Avatar
See private message.
$34 USD in 2 days
5.0 (3 reviews)
2.2
2.2
User Avatar
See private message.
$29.75 USD in 2 days
5.0 (3 reviews)
1.3
1.3
User Avatar
See private message.
$7.65 USD in 2 days
0.0 (1 review)
0.0
0.0
User Avatar
See private message.
$30.60 USD in 2 days
0.0 (1 review)
0.0
0.0
User Avatar
See private message.
$11.05 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$12.75 USD in 2 days
0.0 (1 review)
0.0
0.0
User Avatar
See private message.
$29.75 USD in 2 days
0.0 (2 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Baton Rouge, United States
5.0
1
Member since Sep 6, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.