You are on page 1of 2

The below curve is a triangular wave for to find general equation (function):consider st.

line OA, whose equation given as (x-x1) /(y-y1) =(x2-x1)/ (y2-y1)


.. (x - 0)/ (y - 0) = (/4-x)/ (/40 - y) in a range 0<x</4
.. x=10y or, x-10y =0
.. x = 10 y

{0 < x /4}

Similarly for AB st. Line we get,


(x - /4)/ (y - /40) = (/2- /4)/ (0 - /40)
.. x = -10y + /2

{/4 < x /2}

Similarly for BC st. Line we get,


(x - /2)/ (y - 0) = (3/4 - /2)/ (- /40 - 0)

{/4 < x 3 /4}

.. x = -10y + /2

{/4 < x 3 /4}

For line CD,


(x - 3 /4)/ [y (- /40)] = (- 3 /4)/ [0 - (- /40)]

{3 /4 < x }

.. x = 10y +

{3 /4 < x }

.. Combining we get,
x = 10 y

{0 < x /4}

x = -10y + /2

{/4 < x 3 /4}

x = 10y +

.. f(x) =

{3 /4 < x }

n=0

n=

(-1) n 10y + n (/2)

For wave see curve below:-

/40

B
O0

D
3/4

/4

/2

-/40

You might also like