Continuous real function/Q to Q/Zero/Exercise

From Wikiversity
Jump to navigation Jump to search

Show that for every real number , there exists a continuous function

such that is the only zero of and such that for every rational number , also is rational.