Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-15-2011, 08:46 AM   #1
Baseband Member
 
Join Date: Feb 2011
Posts: 28
Default math program

I am looking for a program which can calculate interest in a given period. Example, the principal amount is x and is subjected to interest of y% per year, what would the final amount (principal + interest) if we were to compute this from say 3/1/2009 to 28/2/2011? Well, i have to do this sort of math very often so it would of much convenience for me if i can get the final amount at the click of my mouse. Or is it possible with spreadsheet? Well, i have to admit that i know very little about programming so i am unable to write a code to do that math for me. Thank you for your time.
__________________

mistycom is offline   Reply With Quote
Old 03-15-2011, 09:39 AM   #2
Daemon Poster
 
Dngrsone's Avatar
 
Join Date: Nov 2006
Location: 'Murica
Posts: 951
Default Re: math program

That's the purpose of spreadsheets. Excel is part of the Microsoft Office suite and it's very easy to use, as Microsoft products go.

OpenOffice.org is a free office suite which is mostly compatible with Office and it has a spreadsheet program called Calc.
__________________

__________________
Civility, Substance, Subtlety, Style: Success
Dngrsone is offline   Reply With Quote
Old 03-21-2011, 08:42 AM   #3
Baseband Member
 
Join Date: Mar 2011
Posts: 21
Default Re: math program

You could a program like that in c++. I could create a program in Unity if you want with cool GUI. I could even teach you if you want.
ahaykal is offline   Reply With Quote
Old 03-23-2011, 11:35 AM   #4
Baseband Member
 
Join Date: Feb 2011
Posts: 28
Default Re: math program

Quote:
Originally Posted by ahaykal View Post
You could a program like that in c++. I could create a program in Unity if you want with cool GUI. I could even teach you if you want.
Hey, thank you for your reply. Can i do it using Netbeans IDE because that's the only compiler i have? How can i write the code? Would really appreciate it if you can teach me.

@Dngrsone, I have tried using spreadsheet but it doesn't do exactly what i want. I used the days360 to calculate the number of days between two dates and it seems that it assumes that each month has 30 days, which obviously affected the calculation.
mistycom is offline   Reply With Quote
Old 03-23-2011, 03:49 PM   #5
Baseband Member
 
Join Date: Mar 2011
Posts: 21
Default Re: math program

hey misty I really dont know Netbeans and never worked with it from before. If you can tell me details I will create one for you as a sample and you decide if its good. If its good then i urge u to download unity if not ill try to check on netbeans! do u agree?
ahaykal is offline   Reply With Quote
Old 03-26-2011, 02:35 AM   #6
Baseband Member
 
Join Date: Feb 2011
Posts: 28
Default Re: math program

Quote:
Originally Posted by ahaykal View Post
hey misty I really dont know Netbeans and never worked with it from before. If you can tell me details I will create one for you as a sample and you decide if its good. If its good then i urge u to download unity if not ill try to check on netbeans! do u agree?
Thanks Ahaykal, the details are in my OP. Btw, what is Unity? Is it also a code compiler?
mistycom is offline   Reply With Quote
Old 03-26-2011, 06:39 AM   #7
Baseband Member
 
Join Date: Mar 2011
Posts: 21
Default Re: math program

unity is a game engine but I can control the GUI in a better way...

btw im waiting for you to tell me to start or not..
ahaykal is offline   Reply With Quote
Old 04-09-2011, 10:49 PM   #8
Solid State Member
 
Join Date: Jan 2010
Posts: 18
Default Re: math program

NetBeans can be used to program Java applications. You can create a java program just by clicking File-> New Project and create a simple java application. But you'll need some knowledge in java programing. First, to deal with this date problem, you can use the classes avaliable in Java SDK. Second, to write a program with a GUI, you will need to know about Swing Aplications. With NetBeans IDE you can do almost everything in a graphic way...
pimenta14 is offline   Reply With Quote
Old 04-10-2011, 03:05 AM   #9
Fully Optimized
 
Join Date: Nov 2006
Posts: 3,629
Send a message via AIM to ߧ∩H♠H䎀
Default Re: math program

If you actually want to learn how to write a program on this do a quick youtube search and you'll find a lot of solutions. This is pretty basic and the type of thing you'll learn when you start entry level programing.

Or of course you could spend 5 seconds Googling it and find a web based tool to do exactly what you need - Free Online Simple Interest Calculator — Date Math Calculator
ߧ∩H♠H䎀 is offline   Reply With Quote
Old 04-11-2011, 10:32 AM   #10
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: math program

The above post has hit the spot - before jumping in and suggesting C++, unity or anything else (let's face it, you could do this in ANY language under the sun) let's find out more about what the OP wants. Is this a programming exercise in which case are you looking to start out programming, or is this merely because you want something to do the job? The two approaches require very different sorts of responses.
__________________

__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 12:44 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0