Professional Documents
Culture Documents
CL314 Assignment 5
CL314 Assignment 5
Full Marks: 40
[For the MATLAB program Q1 and Q3and so on (highlighted in yellow) you give the name
of the program as “yourname_A5Q1” and “yourname_A5Q3” respectively and upload the
program in the following link given. In the starting of the program by “commenting”, you
should put your name and roll number as well]
https://drive.google.com/drive/folders/1SjNkBslibcycscvWjbSnLhDKcem64Ys8?usp=sharing
Q1. Write a program for Newton Raphson method to find out complex conjugate roots of
the equation 𝑥 2 − 5𝑥 + 6 = 0. Find out the roots by giving initial guess as (0.2+i3) and
again as (4+i3). [10]
Q2. Using pen and paper solve the following set of nonlinear equations upto 3 iterations
by Newton Raphson method. (the initial guess is 0th iteration, so you have to do 3 more
iterations)
Q3. Following table shows the attendance vs marks obtained in the examination for 10
students:
Find out the linear regression equation by least square method using pen and paper.
Also write a code for the same in MATLAB and validate your result. [5+10]