Loading [MathJax]/jax/output/HTML-CSS/jax.js

To compute some values by Xcas

If you compute the following values by Xcas, then you should execute commands below. See also this page.

Case 1. One computes any maximum values for given functions with 1 parameter, for example y=x24x+5 for 37/19x35/17. Then, he should execute as follows. The answer must be 290/289.
maximize(x^2 - 4*x + 5, x=37/19..35/17)


Case 2. One computes any minimum values for given functions with 2 parameters, for example z=x3+y3xy for x>0 and y>0. Then, he should execute as follows. The answer must be 1/27.
minimize(x^3 + y^3 - x*y, [x > 0, y > 0], [x, y])


Case 3. One computes any maximum values for given 2-parameter-functions with 1 bounded condition, so-called Lagrange Multiplier method, for example z=x/2+y/3+1(x2/4)(y2/9) with x+y=53/3. Then, he should execute as follows. The answer must be (1034)/9.
maximize((x/2) + (y/3) + sqrt(1 - (x^2 / 4) - sqrt(y^2/9)), x + y = 5*sqrt(3)/3, [x, y])


Case 4. One differentiates any implicit functions such as ylnx=xlny (x>0 and y>0). Then, he should execute as follows. The answer must be (dy/dx=)(y2xylny)/(x2xylnx).
implicitdiff(y*ln(x) = x*ln(y), y, x)


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.