To evaluate & plot Bessel function in scilab:
AIM OF THE EXPERIMENT:
THEORY:
AIM OF THE EXPERIMENT:
To evaluate & plot Bessel function of 1st kind using scilab.
REQUISITES:
A PC/laptop.
Scilab 6.0.0 must be installed.
THEORY:
The linear second order ordinary differential equation of type
x2y′′+xy′+(x2−v2)y=0
is called the Bessel equation. The number v is called the order of the Bessel equation.
Scilab is loaded with varieties of function to handle Bessel functions & modified Bessel function of its 1st & 2nd kind. Here Bessel function of 1st kind is plotted.
PROCEDURE:
1. Switch on your PC/laptop.
1. Switch on your PC/laptop.
2. Go to all programs & open scilab 6.0.0.
3. Go to Scinotes.
4. Write the coding/program.
5. Save the file & use extension name .sci
6. Then execute & go to the scilab console window for output.
7. Go to scilab graphic window to write the graph.
7. Go to scilab graphic window to write the graph.
CODING:
clf() x = linspace(0,40,5000)'; plot2d(x,besselj(0:4,x), style=2:6, leg="J0@J1@J2@J3@J4") legend('I'+string(0:4),1); xtitle("Some Bessel functions of the first kind")
OUTPUT:Model syllabus (+3): Downoad
List of all practicals: Download
Get all Books: DownloadPhysics Notes CLICK
- How to Prepare for IIT-JAM ⇠ ⇠ Click Here
- How to prepare for JEST ⇠ ⇠ Click Here
"Life is like riding a bicycle. To keep your balance you must keep moving." Albert Einstein
Post a Comment