PROGRAMMING:JMU Python piecewise function & mathematical function
This problem requires the calculation of the value of the following piecewise function f (x) (x is an arbitrary real number input from the keyboard)
![ Piecewise function & I / o.jpg] (~ / 098f49bb-a221-4606-bf0d-c4878707ae91. JPG)
###Input format:
Enter a real number x directly
###Output format:
Output in the format of "f (x) = result" in one line, where * * x and result retain three decimal places * *.
###Input example:
```in
three point one four
```
###Output example:
```out
f(3.140)=0.865
```
answer:If there is no answer, please comment
![ Piecewise function & I / o.jpg] (~ / 098f49bb-a221-4606-bf0d-c4878707ae91. JPG)
###Input format:
Enter a real number x directly
###Output format:
Output in the format of "f (x) = result" in one line, where * * x and result retain three decimal places * *.
###Input example:
```in
three point one four
```
###Output example:
```out
f(3.140)=0.865
```
answer:If there is no answer, please comment