This wikilog article is a draft, it was not published yet.
Crash course in Scientific Computing
Crash Course in Scientific Computing
or, as officially known, The Wolverhampton Lectures on Physics: VI — Scientific Computing.
- Computers
- Operating Systems
- Software
- $\TeX$ and $\LaTeX$
- Computation
- Computer Programming
- Julia
- Plotting
- Numbers
- Random numbers
- Algorithms–the idea
- Algorithms–applications
- Root finding
- Linear Equations
- Interpolation and Extrapolation
- Fitting
- Integrals
- Derivatives
- Ordinary Differential Equations
- Differential calculus of vector fields
- Partial Differential Equations
- Finite elements and finite volumes
- Fourier and DFT
- Chaos and fractals
- Fun problems
or do you mean
- Operating Systems
- $\TeX$ and $\LaTeX$
- Computer Programming
- Julia
- Plotting
- Numbers
- Random numbers
- Algorithms–the idea
- Algorithms–applications
- Complexity
- Integrals
- Derivatives
- Root finding
- ODE: Euler
- ODE: Heun & Runge-Kutta
- Higher Dimensions
- Linear algebra
- Fourier and DFT
- Interpolation
- Extrapolation
- Stability and Convergence
- Chaos and fractals
- Objects
- Librairies
- Fun problems
Crash course in Julia (programming)
When plotting pure functions, you might find that the density of points (PlotPoints in Mathematica) is not enough. This can be increased by specifying the step in the range, but in this case beware not to query your functions outside of its validity range, which would work otherwise. Compare:
plot(x->sqrt((15/x^2)-1),0,4,linewidth=5,linealpha=.5,linecolor=:red,ylims=(0,3))
plot!(x->sqrt((15/x^2)-1),0:.0001:3.8729,linewidth=2,linecolor=:blue,ylims=(0,3))
The first version can plot over the range 0–4 but does so by not plotting the full function, while the second (with x-steps of 0.0001 allowing for the nice curvature) shows everything but would return an error if going over the limit where the argument gets negative.