Group Abstract Group Abstract

Message Boards Message Boards

How do I find all the zero's in a Conditional Expression for the given exp?

Posted 12 years ago

Hi all,

I am doing an assignment for school and I need to find the minima's and maxima's of 4 different functions. This is the case when their derivatives are equal to 0. The problem is that mathematica finds it very hard to find these zero's with the Solve function.

I also need to implement this in a machine so it has to be programmable. This means that I need a expression that gives the zero's for p = ... with all the constants in a ConditionalExpression. I can't give values to the constants yet since they are different for every segment/part. One of the formulas looks like this:

Xlinedp[p_] := dx -djep (-(1/4) Sqrt[3] dq ( 1 - Cos[a0 + da p]) Cos[dq p + q0] + 1/2 da Cos[a0 + da p] Cos[dq p + q0] - 1/4 Sqrt[3] da Sin[a0 + da p] Sin[dq p + q0] - 1/2 dq Sin[a0 + da p] Sin[dq p + q0])

p is the only variable since the rest of the constants are given for each part/segment. [0 > p <= 1] Is there anyway to solve this? Or is this formula just too hard for mathematica? I added the file I am working with, the constants are disabled and just implemented to test from time to time.

I hope anyone can help me or tell me I am working on an impossible solution

Cheers,

Wayne

Attachments:
POSTED BY: Wayne Roest
4 Replies
Posted 12 years ago
POSTED BY: Bill Simpson
Posted 12 years ago
POSTED BY: Wayne Roest
Posted 12 years ago
POSTED BY: Bill Simpson
Posted 12 years ago

I am using mathematica 8.0.4 by the way.

POSTED BY: Wayne Roest
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard