Thank you for registering.

One of our academic counsellors will contact you within 1 working day.

Please check your email for login details.
MY CART (5)

Use Coupon: CART20 and get 20% off on all online Study Material

ITEM
DETAILS
MRP
DISCOUNT
FINAL PRICE
Total Price: Rs.

There are no items in this cart.
Continue Shopping

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) )

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)  )

Grade:12th pass

2 Answers

Rituraj Tiwari
askIITians Faculty 1792 Points
one year 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
askIITians Faculty 1792 Points
one year 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

Think You Can Provide A Better Answer ?

Provide a better Answer & Earn Cool Goodies See our forum point policy

ASK QUESTION

Get your questions answered by the expert for free