Data Fitting JS Model Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Data Fitting JS Model 

written by Francisco Esquembre

The Data Fitting JS Model uses a least square fitting algorithm to fit a polynomial curve to a data set. Users can add points  by clicking within the plotting panel.  This model is designed to show how to use the numeric JavaScript library that is distributed with EjsS.

The Data Fitting JS Model was developed using the Easy Java/JavaScript Simulations (EjsS) version 5.  Although EjsS is a Java program, it can create stand alone JavaScript programs that run in almost any PC or tablet.

Published January 21, 2014
Last Modified June 14, 2016

This file has previous versions.

Source Code Documents

Data Fitting JS Source Code 

This source code zip archive contains an XML representation of the Data Fitting JS Model.   Unzip this archive in your Ejs workspace to compile and run this model using EJS 5.  Although EJS is a Java program, EJS 5 creates a stand alone JavaScript program from this source code.

Last Modified October 21, 2014