| jupytext | kernelspec | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
This chapter contain all the codes in the python programing language.
If you have to the access to the github repository of my Jupyter Book then I strongly recommand to read this chapter from the Chapter2.ipynb. Since this chapter is all about the codes therefore it will be easy to see the code and respective output.
For the detail information plese click see the LaTeX file.
+++
This line is added from the notebook. So I open the Chapter2.ipynb file in notebook and I added this line. The purpose is to see if I can see this changes in the htttp link and also in the Chapter2.md file.
+++
Here is the mathematical equation
A = 2
B = 6
C = A + B
print("The value of C is =", C)
import matplotlib.pyplot as plt
# Example: Creating a simple plot
x = [1, 2, 3, 4, 5]
y = [10, 20, 25, 30, 35]
plt.figure(figsize=(6, 4)) # Set the figure size
plt.plot(x, y, marker='o', label='Line')
plt.title('Example Figure')
plt.xlabel('X-axis Label')
plt.ylabel('Y-axis Label')
plt.legend()
plt.show() # Display the figure in the notebook