Re: Which computer language program is best for undergrads?




"Ben Bacarisse" <ben.usenet@xxxxxxxxx> wrote in message
news:87myliwtv5.fsf@xxxxxxxxxxxx
"Bartc" <bc@xxxxxxxxxx> writes:

"Jon Harrop" <jon@xxxxxxxxxxxxxxxxx> wrote in message
news:pZednWcAG8mcd8XVnZ2dnUVZ8uadnZ2d@xxxxxxxxxxxxxxxxx
cr88192 wrote:
I would vote for C, Java, or C++.
C and Java are both fairly good for doing math, should both be
acceptably
easy to learn, and are IMO both decently good languages in general.

Try doing:

Integrate[Sqrt[Tan[x]], x]

in C/C++. :-)

I make it about 0.72 in the range 0..1. Anywhere close?

Yes, but I think the expected answer was more like:

<snip equation>

Yes I had a feeling this was what Jon Harrop was after.

But I don't really call this programming as I understand it.

Re-reading the OP's post, I think he's being asked to choose a conventional
programming language to do conventional programming. Maybe tools such as
Mathematica are already on hand (if in fact it's needed at all for a Maths
degree; I've no idea).

--
Bartc



.



Relevant Pages

  • Re: Hows dot.net doing nowadays?
    ... like terse programming languages, tend to write ... are often more at home with math as a language ... Well, I firmly belong in, and am comfortable with, the verbosity camp. ...
    (microsoft.public.vb.general.discussion)
  • Re: Hows dot.net doing nowadays?
    ... like terse programming languages, tend to write ... are often more at home with math as a language ... than they are with human languages.) ...
    (microsoft.public.vb.general.discussion)
  • Programming languages and math
    ... I was thinking about programming languages today and it occurred to me ... having them lead the development of computer science we got programming ... languages for math people. ...
    (comp.lang.forth)
  • Re: Ten Commandments (On Topic!)
    ... Kernighan & Pike assert that programming for personal use is one to two orders of magnitude faster than programming for someone else. ... First read in all the data, then crunch it with calls to netlib or other math packages, and finally write the results to a few files that you can view with an editor. ... Exception: make full use of fortran's variable-dimension bounds-checked arrays: these are safer, more flexible, more convenient,and more portable than arrays in other languages. ... Character and structure types are unnecessary when you stick to numerics. ...
    (comp.lang.fortran)
  • Re: compiler for Chinese development language
    ... This relates to the development of vernacular ... Indian vernacular display, OS and programming languages. ... Bangla and other vernaculars. ...
    (comp.compilers)