Error propogation using complext functions
Code: "propog_errors3.java". Programming language: Java DMelt Version 1. Last modified: 05/09/2015. License: Pro
https://datamelt.org/code/cache/propog_errors3_8795.java
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.




import jhplot.math.ValueErr;

public class propog_errors3 
{   
   public static void main(String[] argv)
   {
 


  ValueErr x= new ValueErr(10,2);
  System.out.println(x.toString());
  ValueErr y=x.log10(x);  //  log10 and associated error
  System.out.println("log(x)="+y.toString());
  ValueErr yy=y.plus(y); 
  System.out.println("    ");
  System.out.println("y+y="+yy.toString());


     
   }
}

Ads help maintain this website.