Flag Magical Mathematics[Interesting Approach]> how to convert Piecewise function to norm...
question mark

how to convert Piecewise function to normal function of one line like
f(x)={ 2:x=0 ;; 1 : x>0 }
f(x)=floor( (x+2) / (x+1) )
g(x)={ a : x=0 ;; b*a : x>0 }
g(x)=a + (a-1)*b*( 2-f(x) )

bhavik , 6 Years ago
Grade 12th pass
anser 2 Answers
Rituraj Tiwari

Last Activity: 4 Years ago


As Rect( (x-a)/b ) = H(x - a - b/2) - H(x - a + b/2) then your expression is exactly the same as that given above by @Christoforos. Hence, it still does not satisfy the BC at at x = 0; x = 0.5 and x = 1.
If you define G(x) = H(x) + H(- x²) then
f(x) = G(x) + G(x-1) - 2G(x-0.5

Rituraj Tiwari

Last Activity: 4 Years ago


As Rect( (x-a)/b ) = H(x - a - b/2) - H(x - a + b/2) then your expression is exactly the same as that given above by @Christoforos. Hence, it still does not satisfy the BC at at x = 0; x = 0.5 and x = 1.
If you define G(x) = H(x) + H(- x²) then
f(x) = G(x) + G(x-1) - 2G(x-0.5

star
LIVE ONLINE CLASSES

Prepraring for the competition made easy just by live online class.

tv

Full Live Access

material

Study Material

removal

Live Doubts Solving

assignment

Daily Class Assignments