I want user to be able to input a function for example " x*x - 6 " than this code to find a fixed point iteration. Can anyone help me ? Tell me what did i do wrong.
thank you
import...
Type: Posts; User: ammehmeti
I want user to be able to input a function for example " x*x - 6 " than this code to find a fixed point iteration. Can anyone help me ? Tell me what did i do wrong.
thank you
import...
i initialized x variable but now i am in endless loop .. ? what is the problem i cant understand .. any sugesst
can not find variable x and i dont know why
FalsePosition.java:16: error: cannot find symbol
if(Math.abs(x-x1) < tol){
^
symbol: variable x
location: class...
import java.math.*;
public class FalsePosition{
public static void main(String [] args ){
double x0 = 3;
double x1 = 2;
double tol = 0.001;
int n0 = 5;
...
Thanks Abhilisha
The code works good and its not problem with (String a[]) but i dont know why when i run it only displays four zeros like this
0
0
0
0
why this code only displays four zeros ?????
public class VargjetUshtrimi2 {
public static void main (String a []) {
int r[] = new int[11];
for (int i = 1 ;i < 10;...
okay all i need is to help me how to initialize a two dimensional array first dimension should save serial number ,second dimension time of 15 competitors
int Candidate = 15;
int a =...
link together i mean .. i want the serial number and time of the competitor to input with JOptionPane (interactive input)
i dont know how to link together " int a and int b " in array ? i tried but no succes
My request 1.Application must admit at most 15 competitors.
2.Data of competitor will be saved in two dimensional array , In first dimension
save the serial number of the competitor in the...
no this is all can you help me please
Write an application which makes the selection of the first three places in a ski race :
1.Application must admit at most 15 competitors.
2.Data of competitor will be saved in two dimensional...