Message Boards Message Boards

Plot the following custom functions?

Posted 4 years ago

Good day all,

I am new to Mathematica, so I need some guidance. I am looking to plot a function on a graph, but it did not appear. I have declared all the necessary variables thus I do not know what i have missed out. I have attached the code in the notebook for reference.

In the attached file I have 2 functions, theta and theta2. I am able to get the plots for theta, which is a linear function but I am unable to do so for theta2. Hence I would like to seek some guidance in getting the plots for theta2 .

Thanks and regards, Bryan

Attachments:
POSTED BY: Bryan Koh
2 Replies
Posted 4 years ago

Thank you for the advice Rohit, it worked.

POSTED BY: Bryan Koh
Posted 4 years ago

Hi Bryan

The function definition should be

Subscript[?, 2][R_] := (B1*R^2) + B2

Since built-in WL symbols always start with an uppercase letter it is best to avoid using symbols that start with an uppercase letter to avoid potential redefinition.

POSTED BY: Rohit Namjoshi
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