Message Boards Message Boards

0
|
1766 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

matrix - diagram and the minimum value

Posted 10 years ago

Let 'A' be the matrix of degree 5 of the matrix elements

A = Table[Sin[(n - m)^2*x], {n, 1, 6}, {m, 1, 6}]

How to draw a graph of the function?--> f[x]=detA and determine the minimum value of this function in the range of {[Pi]/2, [Pi]}

POSTED BY: Artur Smura
2 Replies
Posted 10 years ago

Thank You very much

POSTED BY: Artur Smura
Clear[x, det, g]
det = Det[Table[Sin[(n - m)^2*x], {n, 1, 6}, {m, 1, 6}]];
g[y_?NumberQ] := det /. x -> y

To get the min can use NMinimize.

NMinimize[{g[x], Pi/2 <= x <= Pi}, x]

Out[201]= {-15.6808053249, {x -> 1.94853409545}}

This will plot it.

Plot[g[x], {x, Pi/2, Pi}, PlotRange -> All]
POSTED BY: Daniel Lichtblau
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