Chapter 5: Problem 1
Fill lists with function values. A function with many applications in science is defined as $$ h(x)=\frac{1}{\sqrt{2 \pi}} e^{-\frac{1}{2} x^{2}} $$ Fig. 5.13 Plot of the dimensionless temperature \(T(z, t)\) in the ground for two different \(t\) values and \(b=2\). Fill lists xlist and hlist with \(x\) and \(h(x)\) values for uniformly spaced \(x\) coordinates in \([-4,4]\). You may adapt the example in Chapter 5.2.1. Name of program file: fill_lists.py.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.