0% found this document useful (0 votes)
2 views

Algo 06

Uploaded by

Yousif Hazim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Algo 06

Uploaded by

Yousif Hazim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Algorithms

Analysis and Design


from scratch
‫ ﻣﻦ ﺗﺤﺖ‬Algorithms ‫ﲓ‬ ‫ﺗﺤﻠﻴﻞ وﺗ‬

‫أ حمد تم ول ي‬
Calculus .. Functions .. ‫ اﻟﺪوال‬.. ‫ﺗﻔﺎﺿﻞ وﺗﻜﺎﻣﻞ‬

what is function? what about equation?


y = 2x -5
x, y 2x -5 = 1
y = 2x -5 .. 2x = 1 + 5
f(x) = 2x -5
.. 2x = 6
if x = 3, then y = 1 .. x = 6/2
f(3) = 2 * 3 - 5 = 1
if x = 4, then y = 3 .. x = 3
f(4) = 2 * 4 - 5 = 3
if x = 5, then y = 5 x equal 3 and only 3.
f(5) = 2 * 5 - 5 = 5
. .
.

‫أ حمد تم ول ي‬ Algorithms Analysis and Design from scratch ‫ ﻣﻦ ﺗﺤﺖ‬Algorithms ‫ﲓ‬ ‫ﺗﺤﻠﻴﻞ وﺗ‬
Calculus .. Functions .. ‫ اﻟﺪوال‬.. ‫ﺗﻔﺎﺿﻞ وﺗﻜﺎﻣﻞ‬

function domain (‫( )ﻣﺟﺎل‬D)

lowest value ≤ X ≤ greatest value


lower bound ≤ X ≤ upper bound : (D) ‫ﻣﺟﺎل اﻟداﻟﺔ‬
0 ≤ X ≤ +∞ 16 ≤ X ≤ +∞
D = [ 0; +∞ [ D = [ 16; +∞ [
.
-------------------------------------------
function Range (‫( )ﻣدى‬R) : ® ‫ﻣدى اﻟداﻟﺔ‬
0 ≤ X ≤ +∞
lowest value ≤ Y ≤ greatest value R = [ 0; +∞ [
lower bound ≤ Y ≤ upper bound
0 ≤ X ≤ +∞
R = [ 0; +∞ [

‫أ حمد تم ول ي‬ Algorithms Analysis and Design from scratch ‫ ﻣﻦ ﺗﺤﺖ‬Algorithms ‫ﲓ‬ ‫ﺗﺤﻠﻴﻞ وﺗ‬
Calculus .. Functions .. ‫ اﻟﺪوال‬.. ‫ﺗﻔﺎﺿﻞ وﺗﻜﺎﻣﻞ‬

Limits
f(x) = 3X2 - 1 lim 3X2 - 1 = 11
x -> 2

lim 3X2 - 1 = ? f(2) = 3 * 22 - 1 = 11 ! when:


x -> 2
x = 1.9 then f(x) = 3.9
when: x = 1.99 then f(x) = 3.99
x = 1.9 then f(x) = 9.83 x = 1.999 then f(x) = 3.999
x = 1.99 then f(x) = 10.8803 =4
x = 1.999 then f(x) = 10.988003
x = 1.9999 then f(x) = 10.99880003

‫أ حمد تم ول ي‬ Algorithms Analysis and Design from scratch ‫ ﻣﻦ ﺗﺤﺖ‬Algorithms ‫ﲓ‬ ‫ﺗﺤﻠﻴﻞ وﺗ‬

You might also like