Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello everybody,

Im trying to plot a f (x) function but maple keeps giving me an empty plot error.

From my maple worksheet:

> f:=x-> (7+4*sin((2*pi/43200)*x+3*(pi/2)));
>plot({f(x),8},x=-1000..360000,y=-1..11);

Error:

I recently realized that maple/standard has some plotting capabilities not available in maple/classic. I nevertheless plan to stick with classic except for the occasional printing of graphs. I don't want to write multiple worksheets, so I want my worksheet to know when I'm printing in standard and when I'm printing in classic. I don't want a maple/classic plot to overwrite a maple/standard plot (and vice versa). I want to set some classic-specific and standard-specific options.

I have an equation of a line that intersects the ellipse.  I can get Maple to find one intersection.  How do I get the other?

E1:=x^2/300+y^2/1000=1;

E2:=y=2*x+40;

solve({E1,E2},{x,y});

evalf(%);

gives me {x=-4.810723698, y=30.37855260}

or I could use fsolve({E1,E2},{x,y}); and get the numeric result right away. 

There is a second intersection point I can find graphically around x=-5 y=30 but I don't know how to get maple to find it numerically.

 

Dear Sir
Can you please help me to minimize the following cost function with maple 10.I want that " t and T must be greater than zero(not equal to zero) , t < T  and C > 0." I tried a lot but I am not getting the values of t and T as mentioned above " ". Also why  the solution obtained by the 2 methods below is different  ? Which one of them is correct ?

Priyaasha

Hi all, I have a non-linear differential equation x := diff(y(r), r, r)+2*(diff(y(r), r))/r+ C*polylog(3/2, -exp(C2*(C3-y(r)))) = 0 with boundary values D(y)(0)=0 and y(infinity)=0. The hint says to use a subroutine to solve polylog and then integrate the differential equation with help of a Runge-Kutta like scheme. I was wondering if anyone could help me with this. I have no clue how to use subroutines and specially when y(r) is within polylog. Thanks in advance, MS

Is this the best way to produce a random 2-d array? 

L:= Array(1..10,1..10,(rand(1..50));

What's unusual about the operation is that I seem to get an unusually high number of doubles in the rows.  All of the time I'm getting 50% of the rows with a matching pair of numbers (ie. every time I run the line, I get 5 rows with a matching pair of numbers) 

Does the probability of that seem a little high?  Also are there other ways to produce a 2-d random array? 

Thanks.

Hey, I have this complex ecuation on maple: (x+Iy)^3-x-Iy-A=0,

And I have to do an animation for -2<=A<=2, I tried using implicit plot and giving A that range, but it only returns a blank plot, any help would be appreciated!

Oh! I also have to search for what A values the ecuation has 1, 2, and 3 real solutions, any help in this would be appreciated to!

Thanks,

SolracQ

These functions give different indices for the x variables:

> test := j->sum(x[j-i mod 24], i = 0 .. 8); test2 := j->seq(x[j-i mod 24)], i = 0 .. 8);

> test(3); test2(3);

x[3]+x[26]+x[49]+x[72]+x[95]+x[118]+x[141]+x[164]+x[187]

x[3], x[2], x[1], x[0], x[23], x[22], x[21], x[20], x[19]

The second line uses the indices I would like.  What am I doing wrong?

Hello!



Is there a function that allows finding address of array/matrix's element equal or closest to given number. Or I have to write a loop.



en example


array


[1 2 5 6 9 10]



given value


5.1



the closest is 5 and it is in 3th column.



Regards,



Smagliczka

I'm trying to get Maple to shade the approximating rectangles in a Riemann Sum but am having no luck -- any help would be appreciated.  Curretnly I've typed the following:

 

RiemannSum( x^2+1,x=0..2, boxoptions = [filled = true] );

 

Doesn't seem to want to shade the area.  Changing other boxoptions (e.g. color, etc.) does have an effect -- it's just the shading that is not working.

 

Thanks in advance,

 

-Greg

Hello, i am trying to make a maplet that animates the trajectory of a thrown object.
unfortunately i am having a problem with the animation, the plot looks fine but it is just a simple plot and not an animation. Need help!

Dear Sir
I am getting the solution lambda=−1.518022637,beta=0.5666679932,p=4.035629244

Does this solution maximizes my objective function Zv. Also I am not getting the solution for non negative values of  p, lambda and beta.Can you please help me to solve following non linear equations with maple 10.

How can  i take derivative of a vector fuction

r := proc (t) options operator, arrow; `<,>`(x0*e^(-t/t0)*cos(t/t0), y0*e^(-t/t0)*sin(t/t0), z0*e^(-t/t0)) end proc

 

how can i use "plot" command in a "for" loop as in each cycle, plotting an equation without printing other assignments?

I have implemented an economic model into Maple with the objection to plot a 3d graph from the final equation in order to visualize the effects these three parameters have on each other. But I don't no how to do it. Here is the equation I want to plot;

The_equation := [-(u+delta)*[(1-`c`)*(`c`-`c2h`-`t`)]+[(1-u)*(1-`q`^2)*[1/((4-`q`^2)*(1-`q`^2))]^2*[(2-`q`^2)*(`theta`-c2l-`t`)+[-`q`*(1-`c`)]]^2-(1-u)*(1-`q`^2)*([1/((4-`q`^2)*(1-`q`^2))]*[(2-`q`^2)*(`theta`-`c2h`-`t`)]+[-`q`*(1-`c`)])^2]]

First 1915 1916 1917 1918 1919 1920 1921 Last Page 1917 of 2219