Skip to content

Commit d0f7376

Browse files
authored
Update introduction.md
2 fixes
1 parent d81a417 commit d0f7376

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

concepts/complex-numbers/introduction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ This is a simple idea, but it leads to interesting consequences.
8989

9090
## Arithmetic
9191

92-
All of the standard mathematical `operators`] and elementary functions used with floats and integers also work with complex numbers. A small sample:
92+
All of the standard mathematical `operators` and elementary functions used with floats and integers also work with complex numbers. A small sample:
9393

9494
```julia-repl
9595
julia> z1 = 1.5 + 2im
@@ -159,7 +159,7 @@ julia> round(imag(euler), digits=15) # round to 15 decimal places
159159
0.0
160160
```
161161

162-
The polar `(r, θ)` notation is so useful, that there are built-in functions `cis` and `cispi` for constructing it more efficiently.
162+
The polar `(r, θ)` notation is so useful, that there are built-in functions `cis` (short for cos(x) + isin(x)) and `cispi` (short for cos(πx) + isin(πx)) which can help in constructing it more efficiently.
163163

164164
```julia-repl
165165
julia> exp(1im * π) ≈ cis(π) ≈ cispi(1)

0 commit comments

Comments
 (0)