work on limits section
This commit is contained in:
@@ -17,13 +17,51 @@ The [`Julia`](http://www.julialang.org) programming language is well suited as a
|
||||
## Installing `Julia`
|
||||
|
||||
|
||||
`Julia` is an *open source* project which allows anyone with a supported computer to use it. To install locally, the [downloads](https://julialang.org/downloads/) page has several different binaries for installation. Additionally, the downloads page contains a link to a docker image. For Microsoft Windows, the new [juilaup](https://github.com/JuliaLang/juliaup) installer may be of interest; it is available from the Windows Store. `Julia` can also be compiled from source.
|
||||
`Julia` is an *open source* project which allows anyone with a supported computer to use it free of charge.
|
||||
|
||||
To install locally, the [downloads](https://julialang.org/downloads/) page has directions to use the `Juliaup` utility for managing an installation. There are also links to several different binaries for manual installation. Additionally, the downloads page contains a link to a docker image. `Julia` can also be compiled from source.
|
||||
|
||||
|
||||
`Julia` can also be run through the web. The [https://mybinder.org/](https://mybinder.org/) service in particular allows free access, though limited in terms of allotted memory and with a relatively short timeout for inactivity.
|
||||
`Julia` can also be run through the web.
|
||||
|
||||
The [https://mybinder.org/](https://mybinder.org/) service in particular allows free access, though limited in terms of allotted memory and with a relatively short timeout for inactivity.
|
||||
|
||||
* [](https://mybinder.org/v2/gh/jverzani/CalculusWithJuliaBinder.jl/main?labpath=blank-notebook.ipynb) (Image without SymPy)
|
||||
|
||||
|
||||
* [](https://mybinder.org/v2/gh/jverzani/CalculusWithJuliaBinder.jl/sympy?labpath=blank-notebook.ipynb) (Image with SymPy, longer to load)
|
||||
|
||||
|
||||
[Google colab](https://colab.research.google.com/) offers a free service with more computing power than `binder`, though setup is a bit more fussy. To use `colab`, you need to execute a command that downloads `Julia` and installs the `CalculusWithJulia` package and a plotting package. (Modify the `pkg"add ..."` command to add other desired packages):
|
||||
|
||||
```
|
||||
# Installation cell
|
||||
%%capture
|
||||
%%shell
|
||||
if ! command -v julia 3>&1 > /dev/null
|
||||
then
|
||||
wget -q 'https://julialang-s3.julialang.org/bin/linux/x64/1.10/julia-1.10.2-linux-x86_64.tar.gz' \
|
||||
-O /tmp/julia.tar.gz
|
||||
tar -x -f /tmp/julia.tar.gz -C /usr/local --strip-components 1
|
||||
rm /tmp/julia.tar.gz
|
||||
fi
|
||||
julia -e 'using Pkg; pkg"add IJulia CalculusWithJulia; precompile;"'
|
||||
julia -e 'using Pkg; Pkg.add(url="https://github.com/mth229/BinderPlots.jl")'
|
||||
echo 'Now change the runtime type'
|
||||
```
|
||||
|
||||
After this executes (which can take quite some time, as in a few minutes) under the `Runtime` menu select `Change runtime type` and then select `Julia`.
|
||||
|
||||
After that, in a cell execute these commands to load the two installed packages:
|
||||
|
||||
```
|
||||
using CalculusWithJulia
|
||||
using BinderPlots
|
||||
```
|
||||
|
||||
As mentioned, other packages can be chosen for installation.
|
||||
|
||||
|
||||
[Launch Binder](https://mybinder.org/v2/gh/CalculusWithJulia/CwJScratchPad.git/master)
|
||||
|
||||
|
||||
## Interacting with `Julia`
|
||||
|
||||
Reference in New Issue
Block a user