C++ statement represent each formula

Write single C++ statement to represent each of the following formula.
Greatly appreciate if anyone can show me the C++ statement.

(a) p = √|ab-cd|

(b) sum = a(r^2 - 1)/r-1

(c) v = ae^-bt + sint

(d) y = ((b^2-2c)^1/4 )/ 4b

(e) v = (|m-k|/h )^1/3

(f) f= acos2t-bsin^2t
Last edited on
closed account (48T7M4Gy)
Have you tried to do them yourself Desmond?
@kemort yeap. i just want to check the answer. I not sure whether i did it correctly or not.
Topic archived. No new replies allowed.