cumulative distribution function absolute value x [closed]

how to calculate the cumulative distribution function $(F(x))$ of a random variable x with pdf $f(x)=|x|, ~~-1<x<1$

thanks

closed as off-topic by Did, user223391, iadvd, Shailesh, E. JosephOct 24 '16 at 7:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Did, Community, iadvd, Shailesh, E. Joseph
If this question can be reworded to fit the rules in the help center, please edit the question.

As you are dealing with a continuous random variable, I would suggest that you use the definition for the cumulative distribution function: $$F(x) = \int_{-\infty}^x f(t) \,dt$$