- #1

- 45

- 0

h(x)=0 when x is even

h(x)=1 when x is odd

and is there there any function g(x) such that:

g(x)=0 when x is odd

g(x)=1 when x is even

thank you.

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter mohamadh95
- Start date

- #1

- 45

- 0

h(x)=0 when x is even

h(x)=1 when x is odd

and is there there any function g(x) such that:

g(x)=0 when x is odd

g(x)=1 when x is even

thank you.

- #2

- 17,539

- 8,536

- #3

- 45

- 0

Thank you for your quick reply g(x) can be (1+(-1)^x)/2 and h(x) (1-(-1)^x)/2

- #4

- 15,393

- 686

Share:

- Replies
- 4

- Views
- 3K