Message Boards Message Boards

5 Replies
1 Total Likes
View groups...
Share this post:

Solving for C in a function

Posted 10 years ago

Been looking everywhere on how to solve for C in the given function. y(x)=Tan(X^3+C), y(0)=1. Below is my code or at least what I could come up with in the last few days. Any help would be much appreciated. Don't really need the answer but a push in the right direction.

Clear[y, x]
x0 = 0
y0 = 1
eqn1[x_, C_] = Tan[x^3 + C]
cSoln = Solve[eqn1[x0, C] == y0, C]
POSTED BY: Michael Beers
5 Replies

By the way, note that C is a Protected System symbol in Mathematica. It is a good practice not to use symbols beginning in an upper case letter or your symbols. Also, if when you first type a symbol it is colored black rather than blue, then it is something that is already defined in some way.


C[i] is the default form for the ith parameter or constant generated in representing the results of various symbolic computations.  
POSTED BY: David Reiss

y Reduce[y[0]==1,c]

Posted 10 years ago

C[1] [Element] Integers && C == [Pi]/4 + [Pi] C[1]

Is this Mathematica's way of saying C = Pi/4 ? Thanks for the reply!

POSTED BY: Michael Beers

its Mathematica's way of saying c = pi/4 + n pi

Posted 10 years ago


POSTED BY: Michael Beers
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract