Solution assignment 10 Absolute value |x|

Return to Assignments Absolute value |x|

Assignment 10

Draw the graph of f(x)=e^{|x|}

Solution

We apply the definition of the absolute value and get:

e^{|x|}=e^x if x\geq0

e^{|x|}=e^{-x} if x<0

The graphs of the functions e^x and e^{-x} are mirrored in the Y-axis and thus the graph is as follows.

exp(abs(x))

Return to Assignments Absolute value |x|

0
Web Design BangladeshWeb Design BangladeshMymensingh