MaplePrimes Questions

 

Hi all, 

Please help me to solve this system of equations.


 

Download System.mwSystem.mw

Hi everyone,
I have to make a project that need to use openmaple in java. The problems is when i get the output data of the textCallBack method, i try to convert the output to utf-8 format using the UTF8Encoder provided in java Maple JAR file in order to display Vietnamese language but it doesn't work (the output type is String). Are there any solutions? Thank you.

Hi everybody,

I have two questions about DataSummarize when used with "summarize=embed"

  1. Is it possible to set the width of the table DataSummarize returns ?
    (I thought DataSummarize used DocumentTools[Tabulate] but the option "width=..." doesn't work)
  2. Is it possible to save this table programmatically (for instance in a jpeg file) ?
     

Thanks in advance.

 

 

 

Here are two inocent Vectors.

V1 := Vector[row]([`+`, 1, 2]);

_rtable[18446744074366295326]

(1)

V2 := Vector[row]([1, `+`, 2]);

_rtable[18446744074366288110]

(2)

lprint(V1);

Vector[row](3, {1 = `+`, 2 = 1, 3 = 2}, datatype = anything, storage = rectangular, order = Fortran_order, shape = [])

 

 

The questions:

 

1.  Try to guess the Maple's answer for:

 

V1, V2;

 

2. Try to explain.

 


Download v1v2.mw

Hi All;

I have a maple code made a text file which is readable by another software. My code works as a worksheet but when I run it as a .mpl file does not work well. The text file created in this situation has a limited in the word typing (split a long line into two line by "\" ) . So the text file is not readable by next software (shows a syntax error).

example:


f6 = -2*u*(-u^2+ux-1)-2*ux*(-2*u*ux+uxx)-2*uy*(-2*u*uy+uxy)-uy+10001/10000*u+.438112544881510e-4

 

in 


f6 = -2*u*(-u^2+ux-1)-2*ux*(-2*u*ux+uxx)-2*uy*(-2*u*uy+uxy)-uy+10001/10000*u+.\
438112544881510e-4

I would appreciate for your help.

Baran

HI!, 

first time post.

I am reletivly new to maple and am having some problems getting maple to solve my differential equasions

basically my equasion is -

m*dv/dt=mg-R 

v(0)=0

m is mass at 100kg, g is gravity at 9.81m/s and R is air resistence (k*v) where v is a constant yet to be determined

the constant k needs to be that which would make the terminal velocty 5m/s 

this is all i have so far and im scratching my head:

de := 100*diff(v(t),x)=100*9.81-R;
                      de := 0 = 981.00 - R
Y :=rhs(dsolve({de,v(0)=0}, v(t)));
Error, (in dsolve) not a system with respect to the unknowns [v(t)]
 

what am i doing wrong?. 

Hello ,

I need your help , I have this loops and I  want to save data to a file , but the table save just the last one 

this is the code

thank you

for i from 1 by 1 to 3 do 
Q:=[]:
simplfloat:=rand(-1.0..1.0): 
a:=simplfloat():     
eq:=a+i:
Q:=[op(Q),[i,a,eq]]:
writedata("all.dat", Q):
end do;


exemple.mw

Below is a link to my worksheet.  I am attempting to evaluate a Fourier series for a particular number of terms & at a specific location xmax.  As far as I can tell xmax is assessed correctly.  Howver, when I go to evaluate the Fourier series for x = xmax using either the 'value' or 'evalf' command they do on seem to recognize that x = xmax.

So I am guessing I must have some syntax problem.  Can anyone show me what I have wrong?

command_syntax.mw

I'm having sone trouble with my matricies after running restart. When creating the matrice, everything is fine and they are defined as normal. But, if I run restart and try to erdefine them, they are defined as some form of 

The only way I've been able to fix this besides restarting Maple is to either add or remove the colon after the matrix, depending on wether there was one. If ther was, when I remove it the matrix is defined normally and vice versa. I'm relatively new to Maple coming from Matlab and would like to start using it more, but this matrix thing is very frustrating. I've attached a copy of the maple file. Thanks

First definition, everything is normal:

After restart, everything goes bad:

I want to animate a ball rolling on the surface cos(abs(x)+abs(y)).  The ball mass m is 1kg, radius r is 0.1meters starts at (0.5,0.5,cos(abs(5)+abs(5))) meters using g=9.8.  If we say the initial velocity of the ball is pushed in some random direction.  How do I show the path of the ball and animate?

Howto make all points start from [0,0] and goto [1,0] 
and make my loop not overwrite my initial conditions for the next steps?

M:=10; N:=1000;

for i to M do
X[i, 0] := 0;
Y[i, 0] := 0;
X[i, 1] := 1;
Y[i, 1] := 0;
for j to N do
Vinkel := c*rand()-Pi;
X[i, j] := X[i, j-1]+cos(Vinkel);
Y[i, j]:= Y[i, j-1]+sin(Vinkel)
end do:
end do :

 

 

 

Hi...  I use the "solve" command to solve an algebraic  system. Sometimes, the solution is given using some unknowns as parameters.

A toy example: x+y+z=1,x-y+3z=7 gives x=-2z+4,y=z-3 as a function of the parameter z (in the RHS).

Can I obtain directly (without going through the block-by-block solution) the set of parameters used in the given solution?

Thanks in advance.

Hello Maple users,
Help me to find all positive real solutions of the polynomial containing a small parameter "c" as:

(solution must be in term of c).


 

Hello,  after almost a decade not using Maple, I am trying to get going to solve a set of differential equations and I have some problems that are probably pretty basic.

 

1.  I have the following simplification equations

which rightfully gives

and

which I hoped would give

but gives

"Error, invalid left hand side in assignment".  What am I doing wrong?

 

2.  The above simplification equations will be used to simplify this vector:

Once I get passed the "Invalid left hand side assignm,ent" issue, I would like to reorganize each line of the above vector and simplify using the small equations above.  What command do I need to use to do this?  The Phi & Beta variables are not necessarily next to one another so the equations need to be reorganized and the substitution for Omega & Omega_dot done.

Any help is appreciated! Thanks

Dear friends,


 

 

 

Effect of A and B on z values

``

A

``

B

x values

y = 5

y = 10

y = 15

y = 5

y = 10

y = 15

x = 4

"[ 4 5 1.9]"

"[ 4 10 1.8]"

"[ 4 15 3.2]"

"[ 4 5 2.2]"

"[ 4 5 2.0]"

"[ 4 15 3.3]"

x = 6

"[ 6 5 1.7]"

"[ 6 10 1.5]"

"[ 6 15 2.2]"

"[ 6 5 1.9]"

"[ 6 10 1.7]"

"[ 6 15 2.3]"

x = 8

"[ 8 5 3.0]"

"[ 8 10 1.7]"

"[ 8 15 3.1]"

"[ 8 5 3.2]"

"[ 8 10 1.9]"

"[ 8 15 3.2]"

``

``

Table 1: Effect of Modified Parameters on z output

 

Dear friends.,
I want a suitable plot for the above data. I have given the values as [ x  y  z] for z values to be plotted for the two cases, A and B in the same graph to compare and get the best option x ,    y and A or B .

Mathematically an x vs y vs z plot. Any bar or similar plot is what seems suitable to me.

I could not locate any help for plotting 3D data values in help page.

Any suggestions and solution please.

Thanks.

Ramakrishnan V

NULL


 

Download 3Dplot_given_Data_xyz.mw

First 892 893 894 895 896 897 898 Last Page 894 of 2428