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

Eso 208A: Computational Methods in Engineering Semester I, 2015-16 Computer Assignment # 2 Due On Thursday, October 15, 2015

This document provides instructions for Computer Assignment #2 for the course ESO 208A due on October 15, 2015. Students are asked to write programs in Matlab or C to generate a Lagrange polynomial and cubic spline for a given data set without using built-in functions. The programs should take input from a file, write output to another file, and use direct and curvature-based methods for cubic spline with options for different boundary conditions. Students must submit a zip file with codes, inputs, outputs and a readme, as well as hard copies of all files by 5pm on the due date.

Uploaded by

pravesh
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)
17 views

Eso 208A: Computational Methods in Engineering Semester I, 2015-16 Computer Assignment # 2 Due On Thursday, October 15, 2015

This document provides instructions for Computer Assignment #2 for the course ESO 208A due on October 15, 2015. Students are asked to write programs in Matlab or C to generate a Lagrange polynomial and cubic spline for a given data set without using built-in functions. The programs should take input from a file, write output to another file, and use direct and curvature-based methods for cubic spline with options for different boundary conditions. Students must submit a zip file with codes, inputs, outputs and a readme, as well as hard copies of all files by 5pm on the due date.

Uploaded by

pravesh
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/ 1

ESO 208A: COMPUTATIONAL METHODS IN ENGINEERING

Semester I, 2015-16
Computer Assignment # 2
Due on Thursday, October 15, 2015

Write programs (preferably in Matlab but without using the inbuilt functions or in C)
to generate (i) Lagrange polynomial and (ii) cubic spline for a given data set (n data
points). The program should take input from a file and write the output in another file.
For cubic spline, use (a) direct method and (b) curvature-based formulation utilizing
Thomas algorithm for solving the system of equations. Also, keep options for
different boundary conditions (i.e., natural spline, parabolic runout spline).
Submit by 5pm, Oct 15, 2015 or before
A zip file (named as yourRoll.zip) containing
1. Readme.txt to help in understanding the files
2. All codes, input and output files

Hard copy of all files.

You might also like