# Why is the Output is the same as my Input !!

GROUPS:
 Minimize[{(c/2 - OverBar[c]/2)^2 + (c*Csc[a + b]*Sin[a]*Sin[b] -       Csc[OverBar[a] + OverBar[b]]*OverBar[c]*Sin[a]*        Sin[b])^2, -((b - OverBar[b])/OverBar[b]) >= -h,      (b - OverBar[b])/OverBar[b] <=    h, -((a - OverBar[a])/OverBar[a]) >= -h, (a - OverBar[a])/     OverBar[a] <= h, h - (c - OverBar[c])/OverBar[c] >= -h,      (c - OverBar[c])/OverBar[c] <= h, c >= 0, a > 0, b > 0,   OverBar[c] >= 0, OverBar[a] > 0, OverBar[b] > 0, a + b < Pi,   h > 0}, {c, OverBar[c], a, b, OverBar[a], OverBar[b]}][/b][/b][/b][/b][/b][/b][/b][/b][/b]
4 years ago
6 Replies
 why when ever mathematica wants to do it , it want say what is the reason for that !!
4 years ago
 Peter Fleck 1 Vote When the Mathematica kernel cannot find an answer to what you want to evaluate, it will simply return the input.This can also occur when the function you are using is undefined: In[1]:= MyUndefinedFunction[3]  Out[1]= MyUndefinedFunction[3]  In[2]:= Sin[3, 2]  During evaluation of In[2]:= Sin::argx: Sin called with 2 arguments; 1 argument is expected. >>  Out[2]= Sin[3, 2]For your case I'd guess that Minimize does not have any algorithm to solve your system for general h.For given values of h NMinimize might work.
4 years ago
 This is perhaps pedantic, but . . .Mathematica is a rules engine. When it evaluates an input, it applies all the rules it has, until it reaches an expression to which no further rules apply. Then it returns that result.  These rules are the total of those built in and those you have added during the session by making assignments. For example Sin(x) is defined, where x is a number, by a built in rule. If you ask for Sin(3), you will get a numerical answer. But if you ask for Sin(x), where x is not defined, then it will return Sin(x). It can't evaluate this further because it does not have a numerical value for x. So it returns the fully evaluated answer, which is still Sin(x). However, if you had earlier made the assignment x=3, then it would also have a transformation rule for x. Applying that to Sin(X) gives Sin(3), and then it's built in rule is applied to give a numerical value.In the case of Sin(3,2), there is no rule which applies. Mathematicas rules understand which arguments types are proper, and it has no rule called Sin which accepts two arguments, so it returns Sin(3,2). There is no rule to tranform the input. You will at times see this in functions you define. If you define foo(x_):=x, and then input foo(2,3), it will return foo(2,3).NOTE THAT I INCORRECTLY USE () FOR ARGUMENTS BECAUSE THIS EDITOR STRIPS SQUARE BRACKETS.Best regards,David