0% found this document useful (0 votes)
2 views1 page

Probability Density Function Program

The document contains a Python program that demonstrates how to plot the Probability Density Function (PDF) of a normal distribution using libraries such as NumPy, Matplotlib, and SciPy. The program sets the mean and standard deviation to 0 and 1, respectively, and visualizes the PDF over a range of x values. The output is a graph displaying the normal distribution PDF with appropriate labels and a grid.

Uploaded by

sitinseries
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Probability Density Function Program

The document contains a Python program that demonstrates how to plot the Probability Density Function (PDF) of a normal distribution using libraries such as NumPy, Matplotlib, and SciPy. The program sets the mean and standard deviation to 0 and 1, respectively, and visualizes the PDF over a range of x values. The output is a graph displaying the normal distribution PDF with appropriate labels and a grid.

Uploaded by

sitinseries
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

25/10/2025, 20:44 Program on Probability Density Function - Colab

# Program on Probability Density Function


# Name of Student : Mr. Jatin Singh
# Roll No.: 302B029
import numpy as np
import [Link] as plt
from [Link] import norm
mean= 0
std= 1
x_values = [Link](-5,5,1000)
y_values= [Link](x_values, loc=mean, scale=std)
[Link](figsize= (10,6))
[Link](x_values,y_values,label='PDF',color ='red')
[Link]('X')
[Link]('PDF')
[Link]('Normal Distribution PDF')
[Link](True)
[Link]()
[Link]()

[Link] 1/1

You might also like