64 Reputation

4 Badges

16 years, 141 days

MaplePrimes Activity

These are questions asked by sentinox

HI. I hope anybody can help me. I have in parametric form a volumetric element in space: >restart: >A:=(r,theta,phi) -> [r*sin(theta)*cos(phi),r*sin(theta)*sin(phi),r*cos(theta)] where: r in [1,3], theta in [Pi/4,Pi/3], phi in [0,3*Pi/4] I know want to plots this as an volume element in maple if possible. This means, that every surface has a grid. Can anyone help me with this one? I only seems to be able to plot planes i maple? //Sentinox
Hello. I hope someone has a trick for me: I have the following polynomia: >restart:with(linalg): >g:=(x,y,z)->5*x^2+8*y^2+5*z^2-4*y*z+8*x*z+4*x*y; My question know is how to create the following list (for use with subs, eval or similar: >L:=x^2=5,y^2=8,z^2=5,z*y=-4,x*z=8,x*y=4; I can offcourse just enter the list, but this is not possible when I have very large polynomias. I tried the "coeff" and the "coeffs", but was not able to get what i wanted. Any suggestions? //Sentinox
Hi Hope anyone can help. When using this syntax in Maple 10: >restart:_EnvAllSolutions:=true: f:=(x,y)->x^3*y-2*x^2*y+x*y^3; GRAD:=[diff(f(x,y),x),diff(f(x,y),y)]; STATS:=solve(GRAD,[x,y]); I get the following output: 3 2 3 f := (x, y) -> x y - 2 x y + x y 2 3 3 2 2 GRAD := [3 x y - 4 x y + y , x - 2 x + 3 x y ] STATS := [[x = 2, y = 0], [x = 0, y = 0], [x = 0, y = 0], 2 [x = 5/4, y = 1/4 RootOf(_Z - 5, label = _L2)]]
Hi. Anyone knows a command on how to calculate the norm (length) of a vector? For example: Maple input: START >restart:with(linalg):#I know this package is obsolete, but my Teach only teaches theese commands.. >u:=vector([1,1,1,1]);#a vector i defined >LengthU:=sqrt(u[1]^2+u[2]^2+u[3]^2+u[4]^2);#This is how I calculate the length theese days... END Anybody knows a command, so that my third line will not be neccesary? TIA
Page 1 of 1