function y = kosong(x) level = x; if level <= 0 y = 0; else y = 1; end