THE MOST ON DOCSITY
Find users

Boundary Value Problem-Numerical Analysis-MATLAB Code

Exercises, Numerical Analysis

Post: July 31th, 2012
Description
This is solution to one of problems in Numerical Analysis. This is matlab code. Its helpful to students of Computer Science, Electrical and Mechanical Engineering. This code also help to understand algorithm and logic behind the problem. This code includes: Boundary, Value, Problem, Cubic, Spline, Rayleigh, Ritz, Algorithm, Coefficients, Basis, Function, Derivative, Interpolants
This is solution to one of problems in Numerical Analysis. This is matlab code. Its helpful to students of Computer Science, Electrical and Mechanical Engineering. This code also help to understand algorithm and logic behind the problem. This code includes: Boundary, Value, Problem, Cubic, Spline, Rayleigh, Ritz, Algorithm, Coefficients, Basis, Function, Derivative, Interpolants
-
Embed this document

aaxcxaa

aaxcxaa

20 February 2013

very goooood
First Previous 1 Next Last

Report Report

Reason:

Send Message

Login or register to download this document!

If you are already registered, login otherwise Register , it just takes 1 minute!

Uploaded by:

saripella

saripella
Universityuni_5documents_40doc_answ
Embed this document
Get the App
Contents
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % CUBIC SPLINE RAYLEIGH-RITZ ALGORITHM 11.6 To approximate the solution to the boundary-value problem -D(P(X)Y')/DX + Q(X)Y = F(X), 0 <= X <= 1, Y(0)=Y(1)=0 With a sum of cubic splines: INPUT: Integer n OUTPUT: Coefficients C(0),...,C(n+1) of the basis functions GENERAL OUTLINE 1. Nodes labelled X(I)=(I-1)*H, 1 <= I <= N+2, where H=1/(N+1) so that zero subscripts are avoided 2. The functions PHI(I) and PHI'(I) are shifted so that PHI(1) and PHI'(1) are centered at X(1), PHI(2) and PHI'(2) are centered at X(2), . . . , PHI(N+2) and PHI'(N+2) are centered at (X(N+2)---for example, PHI(3) = S((X-X(3))/H) = S(X/H + 2) 3. The functions PHI(I) are represented in terms of their coefficients in the following way: (PHI(I))(X) = CO(I,K,1) + CO(I,K,2)*(X-X(J)) + CO(I,K,3)*(X-X(J))**2 + CO(I,K,4)*(X-X(J))**3 for X(J) <= X <= X(J+1) where K=1 IF J=I-2, K=2 IF J=I-1, K=3 IF J=I, K=4 IF J=I+1 since PHI(I) is n..

Docsity.com

Learning becomes social!

Authentication required

This feature is reserved for registered user

Register Login

Docsity.com

Learning becomes social!

Authentication required

Hi!
In order to freely download all the documents on Docsity, please register or login:

Register Login