You are on page 1of 5

FS 2020-21

• Course: MAT1011(CFE) - ELA


• Regd. No.
• Name:
• Slot: L43 + L44

Last Date of submission: 06.01.2021

Experiment 1: Plotting and visualizing general functions, Mean Value Theorem and
its Application

Guidelines for Submission:

• Download this sheet, and write your answers in detail neatly without any corrections.
In case of graphical answer, create the image file of it and paste it in the answer, where
ever needed
• Write your name and do the signature on the top of every page
• Take the snap shot of the title page and the filled-in answer sheet carefully which should
be clearly visible, and make a single pdf file only
• Then upload it through the lab log-in portal.
• Do not send different image files or zipped files. Do not send the answer sheet to my
mail
• Follow the guidelines strictly. Any deviation from the above instructions will lead to the
reduction in marks

Submission Format:
(a) Aim of the Experiment
(b) Definitions, Mathematical formulas or brief concept related to the exercise
(c) Matlab Code
(d) Input
(e) Output (including the graphical representation)
Uploading of answers in any other format is not acceptable
Regd. No. Name: Sign.

Exercise 1 (3 marks). Write a MATLAB code to verify Mean Value Theorem for the poly-
nomial function f ( x) on the interval [a, b] and visualize it. Execute the code for the function
f ( x) = ( x − 3)( x − 6)( x − 9) on the interval [3, 5].

Answers:

Matlab Experiment 1 2 MAT1011


Regd. No. Name: Sign.

Answer (Continued...)

Matlab Experiment 1 3 MAT1011


Regd. No. Name: Sign.

Exercise 2 (3 marks). Write a function which takes 2 arguments x and n is a single number
and n is a strictly positive integer. The function should return the values of

x x2 x3 xn
1+ + + +···+ .
1 2 3 n
Excute the code for x = 3 and n = 5.

Answers:

Matlab Experiment 1 4 MAT1011


Regd. No. Name: Sign.

Answer (Continued...)

Matlab Experiment 1 5 MAT1011

You might also like