[JAVA] Wortel trekken

Pagina: 1
Acties:
  • 1.282 views sinds 30-01-2008

Acties:
  • 0 Henk 'm!

Verwijderd

Topicstarter
Ik ben bezig met een rekenmachine voor informatica op school. Ik heb daarin optellen, aftrekken, vermenigvuldigen, delen, machtsverheffen, en wortel wil ik er dus in. Maar hoe moet dat.

Heb gezocht, maar kon niets vinden ;(

alvast bedankt :)

Acties:
  • 0 Henk 'm!

  • WFvN
  • Registratie: Oktober 2000
  • Laatst online: 22-06 13:25

WFvN

Gosens Koeling en Warmte

[google=java sqrt]

http://java.sun.com/j2se/1.3/docs/api/java/lang/Math.html

Zoiets?

* WFvN heeft geen verstand van Java

[ Voor 25% gewijzigd door WFvN op 10-04-2003 17:24 ]


Acties:
  • 0 Henk 'm!

  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 22-07 01:20

Janoz

Moderator Devschuur®

!litemod

Euhm.. beetje wiskunde kan geen kwaad :)
code:
1
2
2__     1/2
V x = x

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


Acties:
  • 0 Henk 'm!

  • Sick Nick
  • Registratie: Februari 2001
  • Laatst online: 26-07 17:40

Sick Nick

Drop the top!

math.sqrt(hier je getal)

sim-pel

Acties:
  • 0 Henk 'm!

  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 22-07 01:20

Janoz

Moderator Devschuur®

!litemod

tss... blijkt dus gewoon ook nog in de math class te zitten. Doordat TS had gezocht en niet gevonden en al wel de machtsfunctie had gevonden ging ik er maar ff vanuit dat de wortelfunctie dan wel niet in math zou zitten |:(

Nou.. iig eens een stuk beter zoeken TS!

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


Dit topic is gesloten.