jakubi

1384 Reputation

12 Badges

19 years, 357 days

MaplePrimes Activity


These are answers submitted by jakubi

I have inserted a table of 4 rows and 2 columns after executing:

y:=x->x^2;

Then I have inserted prompts in each cell in 2nd to 4th row with Ctrl-J, like in the image of the section "Execution Order Dependency". On the left column  the  input  are numbers  (eg  2;)  and on the  right column y(%); (selecting  in Table properties  "Execution  ordering by rows ")

Then executed the whole worksheet (!!!) obtaining the desired output. Finally I have followed the steps in the section "Table of Values" for hiding input, and added the labels "x" and "y" in the first row.

If this is the intended way of doing it, I do not find this kind of tables an attractive option.

 

 

View 143_table.mw on MapleNet or Download 143_table.mw
View file details

of the calculation and then everything will work fine.

 

with(Maplets[Elements]):
f:=x->x^2:
L:=[seq([i,f(i)],i=1..3)]:
maplet1 := Maplet([
   BoxCell(Table([x, f(x)], L), 'as_needed'),
   Button("OK", Shutdown())
]):
Maplets[Display](maplet1);


There are several ways to use 'assuming' and cut down typing if it will be repeatedly used. One way, useful here, is:

Z:=SetOf(integer):
sin(n*Pi) assuming n in Z;

-2;`≤`x;`≤`;2;

Yes, there is a bug here in the conversion to gif, apparently for some expressions of type `+`. A workaround seems to be to convert each term individually:

x^2;-1/4*k^2;=0

<maple>x^2;</maple><maple>-1/4*k^2;</maple><maple>=0 </maple>

Right click on the picture. Select properties opens "Element properties", and "Alternate text" shows:

(1-x^2)*diff(y(x),x$2)-2*x*diff(y(x),x$1)-(k^2/(1-x^2)-j*(j+1))*y(x)=0;

 The server seems to be mapleoracles.maplesoft.com

 

 

Eg. using the Standard Units environment. See:

?Standard,trig

with(Units[Standard]):
plot(sin(x*Unit('deg')),x=0..180);
 
Another option is GRTensor II.
This is a way that works, though I do not like much: eval(sum(r[i]*y[i],i=1..m),[m=3,sum=add,y[1]=2]);
Maple is largely inconsistent in this regard. Consider just a few examples: in ?coords:
(u,v,w)... x = u*cos(v)*sin(w) y = u*sin(v)*sin(w) z = u*cos(w)
in ?VectorCalculus,Coordinates:
(u,v,w) ... x = u*cos(w)*sin(v) y = u*sin(w)*sin(v) z = u*cos(v)
in ?plot3d[coords]
(r,theta,phi) ...distance from the origin, r... theta is the counterclockwise angle measured from the x-axis in the x-y plane. phi is the angle measured from the positive z-axis, or the colatitude.
in ?Physics:-Vectors:
(r, theta, phi) = spherical coordinates (_r, _theta, _phi) = spherical unit vectors
plus ?Physics:-Vectors:-ChangeBasis:
_i = (sin(theta)*cos(phi)*_r + cos(theta)*cos(phi)*_theta -sin(phi)*_phi) _j = (sin(theta)*sin(phi)*_r + cos(theta)*sin(phi)*_theta + cos(phi)*_phi) _k = (cos(theta)*_r - sin(theta)*_theta)
in ?SphericalY
...spherical coordinates (r,theta,phi)
in ?definition,sphericalcoordinates
(r, phi, theta)... x=r*sin(phi)*cos(theta) y=r*sin(phi)*sin(theta) z=r*cos(phi)
For me, user friendliness means consistency throughout the whole system, much more than fancy GUI toys.
I think that it is easier: int(int(7*z,[x,y] = Circle( < 0,0 >, R ) ),z=0..m);
Maple is multifaceted: with(MultiSeries): limit(abs(sin(x))/x,x=infinity); 0 limit(abs(sin(x)/x),x=infinity); 0
I suppose the problem is that after the assignment Maple forgets the assumption a>0(?). Is there a way to make _real_ assumptions on variables, which Maple will not forget and possibly warn me if I try to violate?
No, Maple does not provide such "strong assumptions context" facility. I wonder whether it would be useful. On the other hand, an error message occurs the other way, eg: a:=-1; assume(a>0); Error, (in assume) contradictory assumptions
Problems with the help system are more complex than that. How would a thesaurus be useful here?
First 21 22 23 24 Page 23 of 24