Темы:
Calculation by a given formula
Two integers are entered from the keyboard: first a , then b (both numbers are not greater than 1000).
Write a program to calculate x and y values using formulas.
\(x = \frac {\frac 2 {a^2+25}+b} {\sqrt b + \frac {a+b} 2}\) and \(y = \frac {\vert a \vert +2 \cdot sin(b)} {5.5 \cdot a}\)
Input
The input is 2 integers a and b (both modulo no more than 1000).
Imprint
Display the x and y values, as
x=value
y=value
Examples
# |
Input |
Output |
1 |
5 3 |
x=0.530351
y=0.192081
|
|