Skip to content

Commit ee29601

Browse files
committed
update chap07
1 parent 579e8b9 commit ee29601

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎code/chap07mine.org‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Simulate the temperature of 50 mL of milk with a starting temperature of 5 \deg
5252
When you call =fsolve=, it calls =error_func1= several times.
5353
To see how this works, add a print statement to =error_func1= and run fsolve again.
5454

55-
#+BEGIN_SRC python :results output :noweb yes
55+
#+BEGIN_SRC python :results output :noweb yes :exports both
5656
<<pre>>
5757

5858
def error_func1(r):
@@ -79,7 +79,7 @@ To see how this works, add a print statement to =error_func1= and run fsolve aga
7979
* Exercise 3
8080
Repeat this process to estimate =r_milk=, given that it starts at 5 \deg and reaches 20 \deg after 15 minutes.
8181

82-
#+BEGIN_SRC python :noweb yes :results output
82+
#+BEGIN_SRC python :noweb yes :results output :exports both
8383
<<pre>>
8484
def milk_func(r):
8585
system = make_system(r=r, T0=5, t_end=15)
@@ -99,7 +99,7 @@ In that case is it better to add the milk at the coffee shop, or wait until I ge
9999

100100
- Hint :: Think about the simplest way to represent the behavior of a refrigerator in this model. The change you make to test this variation of the problem should be very small!
101101

102-
#+BEGIN_SRC python :noweb yes :results output
102+
#+BEGIN_SRC python :noweb yes :results output :exports both
103103
<<pre>>
104104

105105

@@ -126,4 +126,4 @@ In that case is it better to add the milk at the coffee shop, or wait until I ge
126126
: temp 62.685393
127127
: dtype: float64
128128

129-
It is slightly better to mix first.
129+
It is slightly better to mix later.

0 commit comments

Comments
 (0)