12345 6 def f(x): return math.sqrt(-x/(x+1)) def g(x): return math.tan (math.sqrt(2*(x + 1))) xs = np.linspace (-0.999,-0.1, 100) fx = [f(x) for x in xs] 7 8 gx [g(x) for x in xs] 9 10 plt.plot(xs,fx) plt.plot(xs, gx) 11 plt.grid 12 ✓ 0.0s 30 25 20 15 10 10 5 0 -1.0 -0.8 -0.6 -0.4 -0.2 Problem 3 In quantum physics, when finding a bound state for a finite potential well one would end up with the following equation(Yes E is negative): -E = tan 2m √ E + Vo E+Vo ħ² a The goal is to find all Energy(Ę) that satisfy this equation. For simplicity, let = 1 Vo • m = 1 • a = 1 • ħ = 1(Yes this is called natural unit) -E E+1 = tan √2(E+1) Find the value for E € (−1.0, 0) which satisfy the equation above). Make sure you accuracy is < ±10–4
12345 6 def f(x): return math.sqrt(-x/(x+1)) def g(x): return math.tan (math.sqrt(2*(x + 1))) xs = np.linspace (-0.999,-0.1, 100) fx = [f(x) for x in xs] 7 8 gx [g(x) for x in xs] 9 10 plt.plot(xs,fx) plt.plot(xs, gx) 11 plt.grid 12 ✓ 0.0s 30 25 20 15 10 10 5 0 -1.0 -0.8 -0.6 -0.4 -0.2 Problem 3 In quantum physics, when finding a bound state for a finite potential well one would end up with the following equation(Yes E is negative): -E = tan 2m √ E + Vo E+Vo ħ² a The goal is to find all Energy(Ę) that satisfy this equation. For simplicity, let = 1 Vo • m = 1 • a = 1 • ħ = 1(Yes this is called natural unit) -E E+1 = tan √2(E+1) Find the value for E € (−1.0, 0) which satisfy the equation above). Make sure you accuracy is < ±10–4
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
%matplotlib inline
import math
import numpy as np
from matplotlib import pyplot as plt
def f(x):
return math.sqrt(-x/(x+1))
def g(x):
return math.tan(math.sqrt(2*(x + 1)))
xs = np.linspace(-0.999,-0.1, 100)
fx = [f(x) for x in xs]
gx = [g(x) for x in xs]
plt.plot(xs,fx)
plt.plot(xs,gx)
plt.grid
![12345
6
def f(x):
return math.sqrt(-x/(x+1))
def g(x):
return math.tan (math.sqrt(2*(x + 1)))
xs = np.linspace (-0.999,-0.1, 100)
fx = [f(x) for x in xs]
7
8
gx [g(x) for x in xs]
9
10
plt.plot(xs,fx)
plt.plot(xs, gx)
11 plt.grid
12
✓ 0.0s
<function matplotlib.pyplot.grid(visible=None, which='major', axis='both', **kwargs)>
30
25
20
15
10
10
5
0
-1.0
-0.8
-0.6
-0.4
-0.2](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ff97c0725-689e-40d7-87a0-46553d65cfc3%2Fa9e2f62d-030a-4808-8b89-f1cf9e988059%2Fh8b41w_processed.png&w=3840&q=75)
Transcribed Image Text:12345
6
def f(x):
return math.sqrt(-x/(x+1))
def g(x):
return math.tan (math.sqrt(2*(x + 1)))
xs = np.linspace (-0.999,-0.1, 100)
fx = [f(x) for x in xs]
7
8
gx [g(x) for x in xs]
9
10
plt.plot(xs,fx)
plt.plot(xs, gx)
11 plt.grid
12
✓ 0.0s
<function matplotlib.pyplot.grid(visible=None, which='major', axis='both', **kwargs)>
30
25
20
15
10
10
5
0
-1.0
-0.8
-0.6
-0.4
-0.2

Transcribed Image Text:Problem 3
In quantum physics, when finding a bound state for a finite potential well one would end up with the following equation(Yes E is negative):
-E
= tan 2m
√ E + Vo
E+Vo
ħ²
a
The goal is to find all Energy(Ę) that satisfy this equation. For simplicity, let
= 1
Vo
• m = 1
• a = 1
•
ħ = 1(Yes this is called natural unit)
-E
E+1
=
tan √2(E+1)
Find the value for E € (−1.0, 0) which satisfy the equation above). Make sure you accuracy is < ±10–4
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 2 images

Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education