# Problem with plotting a function [closed]

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}]


is

How can I get the graph of this function?

• First step when Plot isn't doing what you expect: try evaluating it at a point, say x = 0.5 and see if you get what you expect. – Brett Champion Jul 24 '18 at 18:17
• It should be Log, not ln. – corey979 Jul 24 '18 at 18:30

Plot[-2 Log[10,{Cosh[1/2 (-(1/2) + x) 2] Sech[2/4]}], {x, 0, 1}] (*Log_10*)

• Log[10, x] === Log10[x] – Bob Hanlon Jul 24 '18 at 20:10