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.
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. download 48kb .zip
Last Modified: October 21, 2014
F. Esquembre, Computer Program DATA FITTING JS MODEL (2014), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13350&DocID=3923).
Esquembre, F. (2014). Data Fitting JS Model [Computer software]. Retrieved September 8, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13350&DocID=3923
%A Francisco Esquembre %T Data Fitting JS Model %D January 21, 2014 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13350&DocID=3923 %O text/html
%0 Computer Program %A Esquembre, Francisco %D January 21, 2014 %T Data Fitting JS Model %8 January 21, 2014 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13350&DocID=3923
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.