Hausuebung_11_suchenInLinearenFeldern

Hausuebung_11_suchenInLinearenFeldern - RETURN t ELSE IF x...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Altinger Harald 0630936
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
INTSUCH(von,bis,x) IF A[von] < A[bis] THEN t = floor(sqrt((x-A[von]*(von^2 - bis^2)) / (A[von] - A[bis]) + von^2) IF x = A[t] then
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: RETURN t ELSE IF x &lt; A[t] THEN RETURN INTSUCH(von,t-1,x) ELSE RETURN INTSUCH(t+1,bis,x) ELSE IF x = A[von] THEN RETURN von ELSE RETURN -1...
View Full Document

Page1 / 5

Hausuebung_11_suchenInLinearenFeldern - RETURN t ELSE IF x...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online