wu :: forums
« wu :: forums - Computer Programs and Problem Solving »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 9:41am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   general problem-solving / chatting / whatever
(Moderators: Eigenray, ThudnBlunder, SMQ, Icarus, Grimbal, towr, william wu)
   Computer Programs and Problem Solving
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Computer Programs and Problem Solving  (Read 277 times)
Sameer
Uberpuzzler
*****



Pie = pi * e

   


Gender: male
Posts: 1261
Computer Programs and Problem Solving  
« on: Aug 8th, 2007, 9:21am »
Quote Quote Modify Modify

Actually its a deceiving title name!! This is more like a survey/poll. I observe that lot of people use programs to simulate or verify their answers to a given problem in this forum or even get a jump start to a difficult problem. I am interested in knowing which mathematical programs do you use to perform this simulation. Also if you write program in C/C++ or any other language to do it please mention that too. Also please mention your preference over another and why.
 
I have used Matlab in past but I don't have access to it anymore. I normally use C or Perl.
 
Thanks!!!  
 
Also if you want to discuss the role of computer programs as a means of mathematical proofs, please do so!! Cheesy
IP Logged

"Obvious" is the most dangerous word in mathematics.
--Bell, Eric Temple

Proof is an idol before which the mathematician tortures himself.
Sir Arthur Eddington, quoted in Bridges to Infinity
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Computer Programs and Problem Solving  
« Reply #1 on: Aug 8th, 2007, 10:11am »
Quote Quote Modify Modify

I usually use javascript for simple tasks. It is convenient because I can run it in the browser, which I'm already using anyway.
For more difficult problems I resort to C++ or Prolog, but that means I have to log in on the university server. (Or alternatively, I'd have to install the compiler/interpreter first). Main advantages here is that they're faster and more powerful in handling larger problems. C++ is of course the fastest of the two, but Prolog often allows solving the problem with less code.
« Last Edit: Aug 8th, 2007, 10:12am by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Computer Programs and Problem Solving  
« Reply #2 on: Aug 8th, 2007, 10:26am »
Quote Quote Modify Modify

I generally use C++, because it's the language I'm most comfortable with (despite being employed to write primarily Java and Javascript), and so the one I write fastest in.  From working through the problems over at Sir Col's Project Euler website, I now have a bit of a discrete math toolkit at my disposal.  Now if only I could learn to actually write code that does what I think it does (unlike this recent mess, for example), I'd really have something. Wink
 
--SMQ
IP Logged

--SMQ

Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board