MaplePrimes Questions

I want to make triangle oAB with the angle AoB equal to 2*Pi/3. The following code is not right.

> restart:

N:=10:

 

L:=[]:

 

for x1 to N do

 

for y1 from x1 to N do

 for z1 from y1 to N do

 for x2 to N do

 for y2 to N do

 for z2 to N do

 a:=sqrt(x1^2+y1^2+z1^2):

b:=sqrt(x2^2+y2^2+z2^2):

c:=sqrt(a^2+b^2-2*a*b*cos(2*Pi/3)):

What is the next two terms for this pattern...

1, -2, 2, -4, 0, ...

I'm trying to plot and fill the area between these two curves from x[0,450]

line1:=20-0.05*x

line2:=2+0.0002*x^2

 

I can do it separately but when I do them together, it gives me extra area that isn't shared between the two curves.

Also, whenever I try to plot them together I get the following error message:

Error, (in plot) unexpected option: 2+0.2e-3*x^2

 

Any help will be greatly appreciated!

hi guys,

say i have an expression like this:

Hi,

I want to solve this  fractional differential system in maple please help me.

 


                          (alpha)
                         D        y[0](x) = 0

I have a question regarding vectors and functions.

I have a function that depends on the magnitude of some vector k, whose dimension I do not know so let's assume it can be n-dimensional. How can I define such a function and proceeed manipulate it...partial differentiation, integration, addditions etc?

 

thanks for the help

Hi:

i am trying to pick off some terms programatically from a list of expressions/equations, and am having some trouble.

consider:


> select(has, y+3*x(t), x); # works
                                               ...

Hi:

I am having trouble with the Physics[diff] operator.

restart:
with(Physics):

#Setup noncommutative operators:
Setup(noncommutativeprefix = {P, H, rho});
              [noncommutativeprefix = {H, P, rho}]

#this works:
diff(P(t),t);
                    
#even more complicated stuff works:

I am right now attempting to install Maple16, and somewhere in the installation process the following appears to be happening: "installing... THBI_____.ttf". This something then proceeds to be installed for more than half an hour, at which point I stopped the installation process. Is this supposed to take super long or might something be wrong here? 

An example:

evalf(frac(10^2*exp(1)));

0.8281828

Two digits lost.

And here is even worse:

evalf(frac(10^9*exp(1)));

0.

Correct unswer:

evalf[20](frac(10^9*exp(1)));

0.4590452354

The correct answer

Many many thanks for your help. I want to learn about why op[1,1] returns only the first operator (which itself has two operators as summands). Also please point me the link for convert on float values.

I wish to use an array of the size 3000x1000 inorder to calaculate electric fields. Can Maple support such large matrices? The calculations involved in the simulation are of algebraic nature like, addition, subtraction and division.

Is Matlab better in this case?

Basically I am trying to generate equipotential lines abd electric field plot from a given distribution of electric potential.

 

I provide a code that I tried to optimize (minimize the calculation time) several times, finally I succeeded to:

######   Define global variables 
DGV:=proc() 
 global CI0P,CI1P,CK0P,CK1P,CK0G,CK1G; 

 CI0P:=Array([1,6.25,9.765625,6.781684,2.6490953,0.66227383,0.1149781,0.014665573,0.0014321849,0.11050809e-3,0.69067559e-5,0.35675392e-6,0.

Not sure what (in DNS/RunSimulation) means but it preceeds my "simulation failed, an error occurred" note.

Hi guys, can someone tell me how I can get a numerical answer to the following question:

 

>with(inttrans):

>invlaplace (15/(s+ 6s2 + 15s + 15), s, t)


The answer I receive from entering the above commands is not the numerical answer. I know that the answer should contain sines/cosines/exponentials - how do I get that?

 

thx

First 1699 1700 1701 1702 1703 1704 1705 Last Page 1701 of 2434