For some reason the result of Plot
of the following function:
Plot[-2 ln[{Cosh[1/2 (-(1/2) + x) 2] Sech[2/4]}], {x, 0, 1}]
How can I get the graph of this function?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityFor some reason the result of Plot
of the following function:
Plot[-2 ln[{Cosh[1/2 (-(1/2) + x) 2] Sech[2/4]}], {x, 0, 1}]
How can I get the graph of this function?
Try this:
Plot[-2 Log[10,{Cosh[1/2 (-(1/2) + x) 2] Sech[2/4]}], {x, 0, 1}] (*Log_10*)
Plot[-2 Log[{Cosh[1/2 (-(1/2) + x) 2] Sech[2/4]}], {x, 0, 1}] (*Log_e or ln*)
Plot[-2 Log[A, {Cosh[1/2 (-(1/2) + x) 2] Sech[2/4]}], {x, 0, 1}] (*Log_A*)
A can be any number.
Plot
isn't doing what you expect: try evaluating it at a point, sayx = 0.5
and see if you get what you expect. $\endgroup$ – Brett Champion Jul 24 '18 at 18:17Log
, notln
. $\endgroup$ – corey979 Jul 24 '18 at 18:30