0% found this document useful (0 votes)
47 views10 pages

Maths Practical 01

The document outlines a series of Python programming tasks for plotting 2D graphs using various mathematical functions. It includes instructions for plotting functions such as f(x) = x², g(x) = x³, f(x) = log10(x), and others over specified intervals. The tasks also involve customizing graph styles, including colors and markers.
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)
47 views10 pages

Maths Practical 01

The document outlines a series of Python programming tasks for plotting 2D graphs using various mathematical functions. It includes instructions for plotting functions such as f(x) = x², g(x) = x³, f(x) = log10(x), and others over specified intervals. The tasks also involve customizing graph styles, including colors and markers.
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

JAIKRANTI COLLEGE OF SCIENCE AND MANAGEMENT STUDIES

MATHEMATICS PRACTICAL NO. 01


MTC-243: Mathematics Practical: Python Programming Language-II

Title: 2D Graphs
1) Write a Python program to plot 2D graph of the functions f(x) = x2 and g(x)
= x3 in [−1, 1].
2) Write a Python program to plot 2D graph of the functions f(x) = log10(x) in
the interval [0, 5].
3) Using Python plot the graph of function f(x) = sin(x) on the interval [0, 2π].
4) Using Python plot the graph of function f(x) = sin-1 (x) on the interval [−1,
1].
5) Using Python, plot the graph of function f(x) = sin(x) − ex + 3x − log10(x) on
the Interval [0, π].
6) Plot the graph of f(x) = x5 in [0, 5] with red dashed line with circle markers.
7) Plot the graphs of sin x, cos x, ex and x 2 in [0, 5] in one figure with (2 × 2)
subplots.
8) Write a python program to Plot 2D X-axis and Y-axis black color and in the
same diagram plot green triangle with vertices [5, 4], [7, 4], [6, 6].
9) Plot the graph of y = e −x 2 in [−5, 5] with red dashed-points line with Upward
Pointing triangle.
10) Write a Python program to plot the graph 2x2 − 4x + 5 in [–10, 10]
in magenta colored dashed pattern.

* * *

You might also like