03/16/19
Why does this not seem to be random?
I was running a procedure to be like one of those games were people try to guess a number between 1 and 100 where there are 100 people guessing.I then averaged how many different guesses there...
more
03/16/19
If I roll two fair dice, the probability that I would get at least one 6 would be....?
11 out of 36? I got this by writing down the number of possible outcomes (36) and then counting how many of the pairs had a 6 in them (1,6) (2,6) (3,6) (4,6) (5,6) (6,6) (6,5) (6,4) (6,3) (6,2)...
more
03/16/19
Find a polynomial function of degree 3 with real coeffcients that has the given zeros. -1, 2, -5
03/16/19
How do I parse command line arguments in Java?
What is a good way of parsing command line arguments in Java?
03/16/19
What is the point of "final class" in Java?
I am reading a book about Java and it says that you can declare the whole class as `final`. I cannot think of anything where I'd use this. I am just new to programming and I am wondering **if...
more
03/16/19
How to convert Milliseconds to "X mins, x seconds" in Java?
I want to record the time using `System.currentTimeMillis()` when a user begins something in my program. When he finishes, I will subtract the current `System.currentTimeMillis()` from the `start`...
more
03/16/19
How to convert comma-separated String to ArrayList?
Is there any built-in method in Java which allows us to convert comma separated String to some container (e.g array, List or Vector)? Or do I need to write custom code for that?
String...
more
03/16/19
checking if a point is inside a specified Rectangle?
ok, so i'm doing an assignment for a Java class and one part of the assignment is to find out if a point is within the dimensions of a rectangle. so I created this code:
public boolean...
more
03/15/19
Check whether a string is not null and not empty?
How can I check whether a string is not null and not empty?
public void doStuff(String str)
{
if (str != null && str != "**here I want to check the 'str' is empty or not**")
{
...
more
03/15/19
Java tree data-structure?
Is there a good available (standard Java) data structure to represent a tree in Java? Specifically I need to represent the following:
- The tree at any node can have an arbitrary number of...
more
03/15/19
differential and invertable function f (x)
1. The table below gives some value for a differential and invertable function f and it’s derivative f'
X
F(x)
F’(x)
0
49
0
1
2
-8
2
-1
-80
Use the above table to find the value of...
more
Defining the derivative without limits?
These days, the standard way to present differential calculus is by introducing the Cauchy-Weierstrass definition of the limit. One then defines the derivative as a limit, proves results like the...
more
03/15/19
If 15x + 6 =36, what is x?
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.