Question: PLEASE SHARE YOUR JAVA CODE... NA2021 DERIVATIVE PROBLEM 1 Function is given calculate the first derivative of the function between 0 and 0.9, plot the


PLEASE SHARE YOUR JAVA CODE...
NA2021 DERIVATIVE PROBLEM 1 Function is given calculate the first derivative of the function between 0 and 0.9, plot the results. // Numerical Analysis package in java // example to show utilisation of integration integral) // and differentiation (derivative) functions //Derivative formulas 4/ D. Turhan Coban ==== import java.io.* class f1 extends f_x { double func(double x) {return Math.log(1.0+x*x) Math.sqrt(1-x*x);} } class NASID { public static double derivative(f_x f,double x) { double ho=0.001; int i,m; int n=7; double T[][]=new double[n][n]; double h[]: h=new double[n]: h[0]=h0: double r=0.5; for(i=1:Kn;i++) {h[i]=h0*Math.pow(:1);} for(i=0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
