Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Solving a non-linear but yet continuous function' topicStudent Support Forum > General > "Solving a non-linear but yet continuous function"

Next Comment >Help | Reply To Topic
Author Comment/Response
Raja Kountanya
12/13/99 09:01am

Somehow Mathematica is not able to solve a function which involves a ''Which'' function. That is, the function is defined differently in different regions.

So a simple NSolve or a FindRoot should have worked.But it gives this warning


CompiledFunction::''cfr'':
''Cannot use compiled code; Argument \!\(theta\) at position \!\(1\) \
should be a machine-size real number.''
Solve::''dinv'':
''The expression \!\(Which[\(\(theta < \(-1.74532925199432948`\)\), \
\(\\[LeftSkeleton] 4 \\[RightSkeleton]\), \(\*StyleBox[\''20.`\'', \
Rule[PrintPrecision, 2], Rule[StyleBoxAutoDelete, True]]\\ \
\(Sin[theta]\)\)\)]\) involves unknowns in more than one argument, so inverse \
functions cannot be used.''

and does not solve the equation.
Is there any rule about the kind of equations Mathematica can solve?

Thanks a lot, I am very thankful for the advice which I get in this forum from time to time.

Raja

URL: ,

Subject (listing for 'Solving a non-linear but yet continuous function')
Author Date Posted
Solving a non-linear but yet continuous function Raja Kountanya 12/13/99 09:01am
Re: Solving a non-linear but yet continuous fun... Forum Modera... 12/13/99 09:11am
Next Comment >Help | Reply To Topic