Hello,
I'm practicing some java with Suns Netbeans IDE.
I tried to square (^2) two floats but the compiler complained about this
attempt.
So I want to find some DETAILED info about the use of mathematical functions
like squaring, square root, logarithm etc... and which types of variables
they 'eat'.
But I cannot find any info on Suns site.
Can someone recommend me a site with some useful info on mathematics and/or
algorithms?
thanks a lot in advance
best regards,
martin 4 4523
martin wrote: Hello,
I'm practicing some java with Suns Netbeans IDE.
I tried to square (^2) two floats but the compiler complained about this attempt. So I want to find some DETAILED info about the use of mathematical functions like squaring, square root, logarithm etc... and which types of variables they 'eat'. But I cannot find any info on Suns site.
Can someone recommend me a site with some useful info on mathematics and/or algorithms?
thanks a lot in advance
best regards,
martin
Look at the api docs for the Math class: http://java.sun.com/j2se/1.4.2/docs/...lang/Math.html
All classes: http://java.sun.com/j2se/1.4.2/docs/api/
--
Kind regards,
Christophe Vanfleteren
dankjewel, Christophe
martin
"Christophe Vanfleteren" <c.***********@pandora.be> wrote in message
news:Ob**********************@phobos.telenet-ops.be... martin wrote:
Hello,
I'm practicing some java with Suns Netbeans IDE.
I tried to square (^2) two floats but the compiler complained about this attempt. So I want to find some DETAILED info about the use of mathematical functions like squaring, square root, logarithm etc... and which types
of variables they 'eat'. But I cannot find any info on Suns site.
Can someone recommend me a site with some useful info on mathematics and/or algorithms?
thanks a lot in advance
best regards,
martin
Look at the api docs for the Math class:
http://java.sun.com/j2se/1.4.2/docs/...lang/Math.html
All classes:
http://java.sun.com/j2se/1.4.2/docs/api/
-- Kind regards, Christophe Vanfleteren
In java, the ^ operator means XOR (exclusive-or, and not power.
Power can be achieved by Math.pow()
See: http://java.sun.com/j2se/1.4.2/docs/...uble,%20double)
Moshe
martin wrote: Hello,
I'm practicing some java with Suns Netbeans IDE.
I tried to square (^2) two floats but the compiler complained about this attempt. So I want to find some DETAILED info about the use of mathematical functions like squaring, square root, logarithm etc... and which types of variables they 'eat'. But I cannot find any info on Suns site.
Can someone recommend me a site with some useful info on mathematics and/or algorithms?
thanks a lot in advance
best regards,
martin
your referring to the Math.<whatever> class ?
java.util.*
search sun's site on "class Math" under the api's
- perry
martin wrote: Hello,
I'm practicing some java with Suns Netbeans IDE.
I tried to square (^2) two floats but the compiler complained about this attempt. So I want to find some DETAILED info about the use of mathematical functions like squaring, square root, logarithm etc... and which types of variables they 'eat'. But I cannot find any info on Suns site.
Can someone recommend me a site with some useful info on mathematics and/or algorithms?
thanks a lot in advance
best regards,
martin
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sebastien GIRAUD |
last post by:
Hello,
First let say that am french and that i'll try to write the best english i can...
I'm a python newbe and have the following problem : I try to create 2 threads in a server program and they...
|
by: Ron |
last post by:
Is this built into any of the python versions? Need it! Using 2.3.5 and
doesn't seem to have it.Newbe needs help!email ron@nac.net Thanks Ron
|
by: Steven T. Hatton |
last post by:
If you are into 3d programming, you may be interested in this book:
_Essential Mathematics for Games and Interactive Applications_
http://tinyurl.com/4wrl6
I just bought it on a lark. After...
|
by: Jean Pierre Daviau |
last post by:
Hi,
<script language="javascript" type="text/javascript">
if(navigator.appName.indexOf("Netscape") != -1){
document.writeln('<link rel="stylesheet" href="~styles/aquarelle_ns.css"...
|
by: Yaro |
last post by:
Hello
DB2/NT 8.1.3
Sorry for stupid questions. I am newbe in DB2.
1. How can I read *.sql script (with table and function definitions) into a
database? Tool, command...
2. In Project Center...
|
by: Jim |
last post by:
I have created a windows form that contains several tab
pages which contain a panels. On a tab page I am trying
to dynamically create a series of buttons in that pages
panel. I am failing because...
|
by: Juan R. |
last post by:
Since the idea of encoding mathematics using MathML is being very far
from popular due to a number of factors -expensive tools, bad
accesibility of generated code, unusual verbosity, lack of...
|
by: Eric_Dexter |
last post by:
def simplecsdtoorc(filename):
file = open(filename,"r")
alllines = file.read_until("</CsInstruments>")
pattern1 = re.compile("</")
orcfilename = filename + "orc"
for line in alllines:
if not...
|
by: stan |
last post by:
I am a complete newbe to python and only got here because I am trying to set
up iTunes in game Second Life. Have followed all instructions but keep
getting an error reading from my XP Pro OS as...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |