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*|!REG3XP3!>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*|!REG3XP3!>cos(x)^2
else
y=3*(x-1)^(1/3)
end if
print y
end