Assist me please

Paros

New member
Joined
Jun 8, 2019
Messages
4
I have been battling with these exercise please help
1.using the nodal points x0=0,x1=1/3 and x2=1 construct lagrange interpolation polynomial for the function f(x) =sin(π x/2). Hence evaluate f(3/4).

And
2.compute the roots of the equations x-sin18x=0.75 at x0=5 using Newton Raphson iterative formulae. Hint stop after six iterations.
 

Attachments

  • 2019-06-08 18.30.40.jpg
    2019-06-08 18.30.40.jpg
    3.4 MB · Views: 5
I have been battling with these exercise please help
1.using the nodal points x0=0,x1=1/3 and x2=1 construct lagrange interpolation polynomial for the function f(x) =sin(π x/2). Hence evaluate f(3/4).

And
2.compute the roots of the equations x-sin18x=0.75 at x0=5 using Newton Raphson iterative formulae. Hint stop after six iterations.
12500
What have you tried? Where are you exactly stuck?
 
The issue I have with number one is am nt sure of what i solved and the formulae am using to find f(3/4) not sure too..
And quetion 2 is I cant simplify fx into f prime. Please work it out let me learn..
 

Attachments

  • IMG_20190608_212557.jpg
    IMG_20190608_212557.jpg
    3.2 MB · Views: 2
  • IMG_20190608_212605.jpg
    IMG_20190608_212605.jpg
    3 MB · Views: 3
  • IMG_20190608_212639.jpg
    IMG_20190608_212639.jpg
    3.3 MB · Views: 3
  • IMG_20190608_212645.jpg
    IMG_20190608_212645.jpg
    3.8 MB · Views: 1
For \(\displaystyle f(x)= sin(\pi x/2)\), \(\displaystyle f(0)= sin(0)= 0\), \(\displaystyle f(1/3)= sin(\pi/6)= \frac{1}{2}\), and \(\displaystyle f(1/2)= sin(\pi/4)= \frac{\sqrt{2}}{2}\). The Lagrange Polynomial then is \(\displaystyle 0\frac{(x- \pi/6)(x- \pi/4)}{(0-\pi/6)(0- \pi/4)}+ \frac{1}{2}\frac{(x- 0)(x- \pi/4)}{(\pi/6- 0)(\pi/6- \pi/4)}+ \frac{\sqrt{2}}{2}\frac{(x-0)(x-\pi/6)}{(\pi/4- 0)(\pi/4- \pi/6)}\).
 
The issue I have with … quetion 2 is I cant [find the derivative] ... Please work it out let me learn.
Typing sin18x could mean sin(18)∙x or sin(18x). Below, I've guessed it's supposed to be sin(18x).

? \(\;\) Trig functions are functions, so it's best to use 'function notation' (i.e., type parentheses around inputs).

f(x) = x - sin(18x) - 0.75

We differentiate function f term by term:

The first term is x, and the derivative of x is 1

The second term is -sin(18x) -- that's a composite function, so we use the Chain Rule to get -18∙cos(18x)

The third term is a constant, and the derivative of any constant is 0

?
 
Thanks Otis I think I now understand a little on that questions on the Newton raphson.. But the divided difference is not yet clear to me.
A table like the normal table we always draw in the forward n backward differences.
 
Top