David McHarg
  • Member for 9 years
  • Last seen more than 7 years ago
  • United Kingdom
Programming a numerical method in the functional style
7 votes

This is an implementation of Eulers method i put together using NestList. NestList and Euler's method Hope that helps. I would also recommend Paul Wellins book called Programming with ...

View answer
What Mathematica book to buy?
7 votes

I would recommend - The Student's Introduction to MATHEMATICA :A Handbook for Precalculus, Calculus, and Linear Algebra Programming with Mathematica by Paul Wellin. Leonid Shifrin's Mathematica ...

View answer
Mathematica for Computer Scientists
4 votes

If you are relatively new to Mathematica, I would definitely pick up a copy of "Programming with Mathematica: An Introduction" by Paul Wellin. This will give you an excellent starting point and solid ...

View answer
Manipulate flickering and consuming lots of CPU
4 votes

Solved the problem by changing things around a little. This resolves the flickering and CPU usage. Module[{f,x,y,dx,dy}, dx=dy=1; f[x_]:=x^2; tangent[x_,y_]:={{x-dx,y-f'[x] dy},{x+dx,y+f'[x] dy}}; p=...

View answer
Manipulate - why does the axis scale change when I release the slider?
3 votes

I updated my example to allow both the plane to be moved up/down and to change the inclination of the plane. I nice little example for conic sections, good for kids to see this stuff in action. ...

View answer
financial data behind Wolfram|Alpha and Finance Platform
2 votes

When you say price what do you mean ? Are you talking about retrieving historical market prices for securities i.e shares or are you talking about more complex pricing such as options, futures etc ? ...

View answer
Manipulate: SetterBar with list of functions
1 votes

This works. Manipulate[Plot[f[x],{x,0,2 Pi}],{f,{Sin[#]^2 &,#^2&,Cos,Tan,Cot}}] David.

View answer
Extract Specific Dates from DateList
0 votes

I think you can use a simple pattern match i.e Cases[sampleDates, {{_, 1, 1}, _}, 2]

View answer