-->
当前位置:首页 > 题库

PROGRAMMING:Function programming - piecewise function

Luz5年前 (2021-05-10)题库417
Write a function to calculate the value of the following piecewise function.
![](~/ 373)
Input format:
Enter the value of a real number X
Output format:
Output the result value of Y
Input example:
0
Output example:
y=-1.000000
Input example:
three point five
Output example:
y=-8.619337






answer:If there is no answer, please comment