Message Boards Message Boards

0
|
3132 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Error plotting logarithmic function?

Posted 3 years ago

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.

POSTED BY: Nikolas Kwok
3 Replies

Welcome to Wolfram Community! Please make sure you know the rules: https://wolfr.am/READ-1ST

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

POSTED BY: Moderation Team

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

POSTED BY: Robert Nachbar

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]}}]
POSTED BY: Robert Nachbar
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract