Skip to content

Commit 69cd180

Browse files
authored
Move using DynamicQuantities into example
1 parent 44ed9e4 commit 69cd180

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/src/examples.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# Toy Examples with Code
22

3-
```jldoctest examples
4-
julia> using DynamicQuantities
5-
6-
```
7-
83
## 1. Solving a Chemistry Homework Problem
94

105
On your chemistry homework, you are faced with the following problem on the photoelectric effect[^1]:
@@ -16,6 +11,8 @@ On your chemistry homework, you are faced with the following problem on the phot
1611
1712
Let's solve this problem with `DynamicQuantities.jl`!
1813
```jldoctest examples
14+
julia> using DynamicQuantities
15+
1916
julia> using DynamicQuantities.Constants: h, m_e
2017
2118
julia> Φ = 4.33u"Constants.eV" # work function

0 commit comments

Comments
 (0)