You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ee29601
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: code/chap07mine.org
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Simulate the temperature of 50 mL of milk with a starting temperature of 5 \deg
52
52
When you call =fsolve=, it calls =error_func1= several times.
53
53
To see how this works, add a print statement to =error_func1= and run fsolve again.
54
54
55
-
#+BEGIN_SRC python :results output :noweb yes
55
+
#+BEGIN_SRC python :results output :noweb yes :exports both
56
56
<<pre>>
57
57
58
58
def error_func1(r):
@@ -79,7 +79,7 @@ To see how this works, add a print statement to =error_func1= and run fsolve aga
79
79
* Exercise 3
80
80
Repeat this process to estimate =r_milk=, given that it starts at 5 \deg and reaches 20 \deg after 15 minutes.
81
81
82
-
#+BEGIN_SRC python :noweb yes :results output
82
+
#+BEGIN_SRC python :noweb yes :results output :exports both
83
83
<<pre>>
84
84
def milk_func(r):
85
85
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
99
99
100
100
- 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!
101
101
102
-
#+BEGIN_SRC python :noweb yes :results output
102
+
#+BEGIN_SRC python :noweb yes :results output :exports both
103
103
<<pre>>
104
104
105
105
@@ -126,4 +126,4 @@ In that case is it better to add the milk at the coffee shop, or wait until I ge
0 commit comments