Source Code applikasi
Post on 09-Oct-2015
6 Views
Preview:
DESCRIPTION
Source Code tugas
Transcript
1. Metode Tabel
package Tabel;public class tabel { public static void main(String[] args) { double a = -1; double b = 0; int n = 10; double h = (b-a)/n; double x[] = new double[n+2]; x[0] = a; double fx[] = new double[x.length]; fx[0] = a*Math.exp(-(a))+1; for (int i = 0; i
top related