Message Boards Message Boards


Error plotting logarithmic function?

Posted 5 months ago
3 Replies
0 Total Likes

enter image description here

Been stuck on this for hours. Can someone help me identify the problem? I can't seem to graph my second logarithmic function. Thanks.

3 Replies

The second Plot uses u[x] instead of u1[x], which is not defined. This version works:

PS. the PlotStyle option should be

u2[x_] := 0.5 Log[x] + 0.8 Log[6]
Plot[{u2[x], u1[x]}, {x, 0, 10}, 
 PlotStyle -> {{Blue, Thickness[0.01]}, {Red, Thickness[0.01]}}]

Welcome to Wolfram Community! Please make sure you know the rules:

The rules explain how to format your code properly. Images don't help other members to copy your code. Please EDIT your post and make sure code blocks start on a new paragraph and look framed and colored like this.

int = Integrate[1/(x^3 - 1), x];
Map[Framed, int, Infinity]

You can also embed notebook or attach notebook.

enter image description here

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract