DIM x,y
CLS
INPUT "BBEDITE X=",X
IF x<0 THEN
y=2*x^2-3*x+5
ELSEIF x>2 THEN
y=4*COS(x)^2
ELSE
y=3*(x-1)^(1/3)
END IF
PRINT y
END
DIM x,y
CLS
INPUT "BBEDITE X=",X
IF x<0 THEN
y=2*x^2-3*x+5
ELSEIF x>2 THEN
y=4*COS(x)^2
ELSE
y=3*(x-1)^(1/3)
END IF
PRINT y
END