0% found this document useful (0 votes)
12 views

Matlab Problems

This document is a lab manual for a Calculus course that provides instructions for students to complete various programming exercises using MATLAB. It includes 5 sections that involve plotting functions, finding maxima and minima, calculating limits, performing vector differentiation, and evaluating vector line integrals. Students are asked to write MATLAB programs to generate outputs for over 30 different calculus problems and concepts.
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)
12 views

Matlab Problems

This document is a lab manual for a Calculus course that provides instructions for students to complete various programming exercises using MATLAB. It includes 5 sections that involve plotting functions, finding maxima and minima, calculating limits, performing vector differentiation, and evaluating vector line integrals. Students are asked to write MATLAB programs to generate outputs for over 30 different calculus problems and concepts.
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
You are on page 1/ 43

LAB MANUAL

MAT1001
CALCULUS FOR ENGINEERS
Submitted by
Mahek Solanki
Reg. Number: 23BCE7446
To
Dr. Dibyendu Sekhar Mandal
Slot: L37+L48
Venue: 304 AB-1

VIT-AP UNIVERSITY
ANDHRA PRADESH
INDIA
1. Plot r^2 = 2 sin 5t 0 <= t <= 2pi using fill command

Program:

Output:
2. Plot y=sin(x)/x -3pi <= x <= 3pi using area command

Program:

Output:
3. Histogram of 50 randomly distributed numbers between 0 and 1.

Program:

Output:
4) z= -½(x^2) + xy + y^2 where |x| less than equal to 5, |y| less than
equal to 5 using contour function.

Program:

Output:
5) z = x^2 + y^2 - 5sin(xy) where |x| less than equal to 2, |y| less
than equal to 2, using quiver function.

Program:

Output:
3D PLOTS:

1. Plot a parametric space curve x(t) = t, y(t) = t^2, z(t) = t^3 where 0
less than equal to t less than equal to 1 using plot3 function.

Program:

Output:
2. Plot of four filled polygons with three vertices each

Program:

Output:
3. z = cosx. Cos y. e^(-root(x^2+y^2)/4), |x| less than equal to 5, |y|
less than equal to 5, using surf function where u= -5:.2:5, [X, Y]
=mesh grid (u, u).

Program:

Output:
4.Surfl → 3D surface plot with specified light source.

Program:

Output:
5) z=-5/(1+x^2+y^2), |x| less than equal to 3, |y| less than equal to 3
using function mesh.

Program:

Output:
6)A unit sphere centered at origin and generated by three matrices
x, y and z of size 21 * 21 each

Program:

Output:
7) A cylinder generated by r = sin(3*pi*z) + 2 where 0 less than equal
to z less than equal to 1, and 0 less than equal to theta less than
equal to 2pi.

Program:

Output:
Maxima Minima 1st page
1.

Program:

Output:
2.

Program:

Output:
3.

Program:
Output:
MAX MIN 2ND PAGE

1.

Program:

Output:
2.

Program:
Output:
3.

Program:
Output:
4.

Program and Output


5.
Program and Output
Limits

1.

Program and output

2.

Program and output:


3.

Program and Output

4.

Program and Output


5.

Program and Output


6.

Program and Output


7.

Program and Output

8.

Program and Output


Limit 2nd page

1.

Program and Output

2.

Program and Output


3)

Program and Output


4)

Program and Output


5)

Program and Output

Vector Differentiation

1.

Program And Output


2
Program and Output

3)

Program and Output


4)

Program and Output


5)

Program and Output


Vector line Integral

1.

Program and Output


2.

Program and Output


3.

Program Output

You might also like