Quantcast

Maximum PC

It is currently Tue Jul 29, 2014 12:11 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Small math programs
PostPosted: Sun Oct 10, 2004 4:50 pm 
7yrs+11,000 Posts
7yrs+11,000 Posts
User avatar

Joined: Tue Jul 27, 2004 5:44 pm
Posts: 11242
Location: The kitten above is not on fire.
I want to write small programs for my class to do certain kinds of math for me, like compounding interest ect. what language would be best for this?


Top
  Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 5:41 pm 
Java Junkie
Java Junkie
User avatar

Joined: Mon Jun 14, 2004 10:23 am
Posts: 24222
Location: Granite Heaven
To do simple arithmetic? Whatever language you are most comfortable in, I'd say.


Top
  Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 6:51 pm 
I judge you GUILTY!
I judge you GUILTY!
User avatar

Joined: Tue May 25, 2004 4:38 pm
Posts: 162
Location: New York City
Whataver language has a good math liibrary.
Maybe Fortran :p


Top
  Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 6:54 pm 
Java Junkie
Java Junkie
User avatar

Joined: Mon Jun 14, 2004 10:23 am
Posts: 24222
Location: Granite Heaven
Yes.

Fortran.

Fortran and Cobol. Those are your best choices, gamerfreak. You should learn those immediately.

:D


Top
  Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 7:27 pm 
Smithfield
Smithfield
User avatar

Joined: Sun Sep 05, 2004 9:01 am
Posts: 8091
since you may or may not get kenshins joke dont learn fortran or cobol.

Learn either qbasic or visual basic, those are your easiest to learn languages (for those who consider them languages).


Top
  Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2004 7:35 pm 
Team Member Top 100
Team Member Top 100

Joined: Fri Sep 17, 2004 5:35 pm
Posts: 1176
I'd say C / C++.


Top
  Profile  
 
 Post subject: Re: Small math programs
PostPosted: Mon Oct 11, 2004 5:25 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Mon Jun 14, 2004 4:04 pm
Posts: 985
Location: Earth
gamerfreak wrote:
I want to write small programs for my class to do certain kinds of math for me, like compounding interest ect. what language would be best for this?


Your TI-83 will do this for you, heck, a sheet of paper can as well. A VB app can do the same thing.

Now, if you want to write your own vector class with overloaded operators...then I'd say C++. :P


Top
  Profile  
 
 Post subject: Re: Small math programs
PostPosted: Tue Oct 12, 2004 12:05 am 
Bitchin' Fast 3D Z8000*
Bitchin' Fast 3D Z8000*
User avatar

Joined: Tue Jun 29, 2004 11:32 pm
Posts: 2555
Location: Somewhere between compilation and linking
gamerfreak wrote:
I want to write small programs for my class to do certain kinds of math for me, like compounding interest ect. what language would be best for this?

Why does it seem like you ask them same question once a month. :?

An easy solution would be to use Mathematica. Otherwise, I would suggest either Python or Java. As previously mentioned, most languages are fine for simple math.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Oct 12, 2004 12:07 am 
Bitchin' Fast 3D Z8000*
Bitchin' Fast 3D Z8000*
User avatar

Joined: Tue Jun 29, 2004 11:32 pm
Posts: 2555
Location: Somewhere between compilation and linking
Dude-X wrote:
Whataver language has a good math liibrary.
Maybe Fortran :p

Making fun of Fortran is all fun and games until you realize that it contains some calc or trig function that is going to cause you severe brain damage to implement in C++ or some other language. :)


Top
  Profile  
 
 Post subject:
PostPosted: Tue Oct 12, 2004 12:09 am 
Bitchin' Fast 3D Z8000*
Bitchin' Fast 3D Z8000*
User avatar

Joined: Tue Jun 29, 2004 11:32 pm
Posts: 2555
Location: Somewhere between compilation and linking
urmumsacow wrote:
since you may or may not get kenshins joke dont learn fortran or cobol.

Learn either qbasic or visual basic, those are your easiest to learn languages (for those who consider them languages).

PITA brain damaged languages. Try reading and understanding some old qbasic code and you'll see what I mean.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Oct 12, 2004 7:10 pm 
I judge you GUILTY!
I judge you GUILTY!
User avatar

Joined: Tue May 25, 2004 4:38 pm
Posts: 162
Location: New York City
Gadget, I am of the philosophy of the right tool for the right job.
Writing a mathematically intense application? Use fortran
Need to do som text processing? Usy python/perl
Need to write an OS? Use C/C++


Top
  Profile  
 
 Post subject:
PostPosted: Thu Oct 14, 2004 12:23 am 
Bitchin' Fast 3D Z8000*
Bitchin' Fast 3D Z8000*
User avatar

Joined: Tue Jun 29, 2004 11:32 pm
Posts: 2555
Location: Somewhere between compilation and linking
Dude-X wrote:
Gadget, I am of the philosophy of the right tool for the right job.
Writing a mathematically intense application? Use fortran
Need to do som text processing? Usy python/perl
Need to write an OS? Use C/C++

Good philosphy. ;)


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group