Author |
Topic: Computer Programs and Problem Solving (Read 277 times) |
|
Sameer
Uberpuzzler
Pie = pi * e
Gender:
Posts: 1261
|
|
Computer Programs and Problem Solving
« on: Aug 8th, 2007, 9:21am » |
Quote 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!!
|
|
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:
Posts: 13730
|
|
Re: Computer Programs and Problem Solving
« Reply #1 on: Aug 8th, 2007, 10:11am » |
Quote 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:
Posts: 2084
|
|
Re: Computer Programs and Problem Solving
« Reply #2 on: Aug 8th, 2007, 10:26am » |
Quote 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. --SMQ
|
|
IP Logged |
--SMQ
|
|
|
|