Write and run a sample ecmascript program using the


Please I need a really simple JavaScript code for Quadratic spline interpolation... I have to save it as HTML file then run it in a browser to get the output ( write and run a sample ECMASCRIPT program using the MicroSoft Windows operating system) build the quadratic spline interpolation piecewise continuous and differentiable set of quadratic polynomials that go through those points and evaluate the function at x=1.5.

Define the data points like this:

p=[[0,3.8414709848078967],[0.6931471805599453,6.6818861490654635],[1.0986122886681098,7.5355691627323065],[1.3862943611198906,7.788374949171635],[1.6094379124341003,8.478827375073264],[1.791759469228055,9.887622378713294],[1.9459101490553132,11.440627194940042],[2.0794415416798357,12.307124413342725]]

Connect the first two points with a straight line. Then use the ending point and slope together with the following point to build the quadratic equation using the attached Cramer's Rule function.

Keep repeating this until your last interval includes the value x. Use the that quadratic function to calculate the value of y.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write and run a sample ecmascript program using the
Reference No:- TGS02892423

Expected delivery within 24 Hours