e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 8: December 28 - January 10. Functions. Part 2

Price function - 1

Find the value of price function: funksiya-test-2.png

Input

Two real numbers x and k.

Output

Print the value of price function y with 2 decimal digits.

Time limit 1 second
Memory limit 128 MiB
Input example #1
5 8.2
Output example #1
21.04
Author Mayis Eyniyev