# S.O.S. Mathematics CyberBoard

Your Resource for mathematics help on the web!
 It is currently Tue, 18 Jun 2013 06:32:41 UTC

 All times are UTC [ DST ]

 Page 1 of 1 [ 2 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: error functionPosted: Tue, 1 Nov 2011 20:25:48 UTC
 S.O.S. Newbie

Joined: Tue, 1 Nov 2011 20:24:21 UTC
Posts: 1
Hello!
don t understant the question.
Calculate the error function for f(x)=tan(x), [-1.25,1.25] for linear, quadratic and cubic shape functions and carry out the calulation using Mathematica or Fortran, C for 10,100 and 1000 elements.
WHat does mean for linear, quadratic and cubic shape functions
It refers to interpolation or means f(x)=tan(x) in 1, 2, u 3 degree
As i understand first i have to replace the function with polinomial in n degree (10, 100 or 1000 by problem specification) and then some how calculate the aproximation

Top

 Post subject: Re: error functionPosted: Wed, 2 Nov 2011 10:44:19 UTC
 Moderator

Joined: Mon, 29 Dec 2008 17:49:32 UTC
Posts: 6062
Location: 127.0.0.1, ::1 (avatar courtesy of UDN)
goyu wrote:
Hello!
don t understant the question.
Calculate the error function for f(x)=tan(x), [-1.25,1.25] for linear, quadratic and cubic shape functions and carry out the calulation using Mathematica or Fortran, C for 10,100 and 1000 elements.
WHat does mean for linear, quadratic and cubic shape functions
It refers to interpolation or means f(x)=tan(x) in 1, 2, u 3 degree
As i understand first i have to replace the function with polinomial in n degree (10, 100 or 1000 by problem specification) and then some how calculate the aproximation

What exactly are your "linear, quadratic and cubic shape functions" --- which nodes are you using to interpolate? Uniformly-spaced with both endpoints? Chebyshev? All at one points? Some other combinations? Or are you minimising some measure of errors over all polynomials of given degree? Or maybe you are using a spline of such functions? Once you know what you are looking at it is just a matter of writing the codes.

_________________

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 2 posts ]

 All times are UTC [ DST ]

#### Who is online

Users browsing this forum: No registered users

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forum

Search for:
 Jump to:  Select a forum ------------------ High School and College Mathematics    Algebra    Geometry and Trigonometry    Calculus    Matrix Algebra    Differential Equations    Probability and Statistics    Proposed Problems Applications    Physics, Chemistry, Engineering, etc.    Computer Science    Math for Business and Economics Advanced Mathematics    Foundations    Algebra and Number Theory    Analysis and Topology    Applied Mathematics    Other Topics in Advanced Mathematics Other Topics    Administrator Announcements    Comments and Suggestions for S.O.S. Math    Posting Math Formulas with LaTeX    Miscellaneous