write a cubic spline program using fortran 90 (ID:3446)
Project Creator: |
francis
FC Member For 6448 Days
Credits 20 Completed Proj. Num. 0 / 1 Total payment USD Avg Daily Online 0.00 h (From 21/5/2007) Available on MSN/Skype No Last Login 11/16/2007 Peers Rating 0.00% ![]() ![]() ![]() |
---|---|
Budget: | Less than 250 |
Created: | 11/13/2007 12:29:04 PM EST |
Bidding Ends: | 11/17/2007 12:29:04 PM EST ( Expired ) |
Development Cycle: | 2 Days |
Bid Count: | 2
|
Average Bid: | 30.00 |
Project Description:
hello guys i have to do the following: Write a cubic spline program to fit the following experimental data: x: x1= 0.0 ; x2= 1.0; x3= 2.2 ; x4= 3.8; x5= 4.8; x6= 6.0; x7=8.0; x8=9.7 ; x9=12.5; x10=14.0 y: y1= -1.9 ; y2= -0.9; y3=0.3; y4= 2.2; y5= 2.9; y6= 3.2; y7= 3.0; y8= 2.7; y9= 2.05; y10= 1.4 Use the cubic splines to interpolate for the following x values: 3.0, 4.0, 7.0, 10.0, 12.0. Use the linear extrapolation boundary conditions. Use your general Gaussian elimination subroutine, from program 5, to solve for the 2nd derivatives needed. You should only input the x, y data points to your program as well as the x values for interpolating. Your program should calculate the Hi intervals as well as the coefficient matrix for the 2nd derivatives and the right hand side vector using general DO loops and IF statements. The program should also calculate the interpolated y values Print the following information to an output file: input data, coefficient matrix and right hand sided values, second derivatives, coefficients for each interval, and the interpolated values. Graph the interpolated values as well as the input data using another program such as excel, or matlab. if you can do it please let me know . |
|
Job Type | |
Attached Files: | N/A |