MaplePrimes Questions

I have the following code snippet which uses solve to get the 4 solutions to a quartic equation. In my application I must know which solution is which, for they each have a specific placement in later calculations. I know that most of Maple's datasets use memory address as their method of sorting, and therefore each run can give a different order to the results. Is this also true for solve? I need to know a way which the order of the solutions will always be constant. (sorting by returned value will not suffice) WaveEQDet := proc(layer,eV) local E1, E2; > E1:=Epp1(layerelementtable[layer], eV);
The plot function will not work with the following code:

> vatt:= (r,b,rc) -> -epsilon*(cos(Pi*(r-rc)/(2*wc)))^2;

> VattR := proc(r,b)
> rc:= evalf(b*2^(1/6));if r < rc then RETURN(-epsilon) elif rc <= r and r <= (rc+wc) then RETURN(vatt(r,b,rc)) else RETURN(0) end if;
> end proc;

> plot(VattR(r,1),r=1.1..1.2);
Error, (in VattR) cannot determine if this expression is true or false: r < 1.122462048
> VattR(1.1,1);
-1.0

The functions work fine on their own....
I would like to set my sessions to show the 1D Maple sheets - however when trying the options in the menu - it still wont happen. What am I doing wrong? Help - the 2D version drives me nuts!
Please recommend a good introductory book for Maple. My math skills are very high & I have much programming experience, so a Maple for Dummies approach would be too simplistic.
I have been messing with the various functions in the VectorCalculus package and have been getting some unexpected behavior w.r.t. some of the functions. My current issue is with the SurfaceInt function. Consider a sphere whose surface density increases linearly from one point on the sphere to the opposite pole. What is its overall mass. I set up the package... > restart; > with(VectorCalculus); > SetCoordinates(spherical[r, phi, theta]); and a density function... rho := proc (r, phi, theta) options operator, arrow; phi end proc; and perform the integration...
I'm trying to integrate various expressions like f''(x)*g(x)+f'(x)*g'(x). In this case, the answer is obvious by inspection, f'(x)*g(x), but I can't coerce Maple to produce the result. Any ideas?
I am looking into using Maple in an undergraduate Vibrations class and put together the attached worksheet as a sort of combination rough draft and feasibility study. The equation showing up after the algsubs command really bothers me; is there a way to remove the imaginary exponential terms and substitute trigonometric identities?
From "t*x^3-q*x-2q^2=0" I got a complicated real solution. Then I want to evaluate "y= -x/2 -(x+2q)^2/(8t*x^2)" with the solution. But my Maple exited without results. I have tried many times. It was alway so. How can I evaluate it? Do I need some package? Or my memory (526M) is too small? Thanks
cant send you a private message so i just post my question about your reply to my post.it just gave the final answer?how do i get the solution?thanks!
thank you georgios kokovidis for acknowledging my question.thank you so much!however i still have questions.can anybody here please help me with this type of questions,im not an engineering or math major,so you can guys say im so bad with math.please help me.this are the questions. sketch the following and convert to rectangular: > 1.)x=t^(3), y=t^(2); 2.)x = (sec t)+2, y = (tan t)-1 3.) r = 2+2sin4thetha 4.) r = 4cos2theta find the dy/dx of the following: > 1.)x=t^(3), y=t^(2); 2.)x = (sec t)+2, y = (tan t)-1 3.) r = 2+2sin4thetha 4.) r = 4cos2theta find the equation of the tangent line to the function with the indicated information:
I would like to solve a non analytical problem. I dont know the functions behaviour explicity because it involves a number of ranges - if and then statements. How best can I say find the point at which it becomes minimum? Thanks
guys please help me with this questions. instruction:determine whether the following converge or diverge {n/n+1} (∑)(2^(n))/(n^(2)) (∑)((n!)^(2))/((2n)!) (∑) (n.3^(2n))/(5^(n-1)) (∑) (-1)^(n+1) n/(n^(2)+4) sum((-1)^n*n*(1/(ln*n)), n = 2 .. infinity) determine where the following power series converge: sum(n*x^n/(n^2+1), n = 2 .. infinity) (∑)(1.3.5.7...(2n-1))/(3.6.9.12...3n)(x-2)^(n) please
I have the following matrix solution problem. M * v = v where M is a square matrix (integer values). v is a vector of variables whose values I want to solve for. I cannot figure out how I can get Maple to do this. Do I need to use some other software? It seems to me that I should be able to obtain a soltion to the problem. Is there a reason why there may be no solution? Thanks.
I have a function which comprises a number of sub functions or procedures. E:= (r01,r12,r02) -> VrepR(r01,b01) + VrepR(r12,b12) + VrepR(r02,b02) + VattR(r12,b12)+Vbend(r02); > VrepR := proc(r,b): > rc:= evalf(b*2^(1/6)); if (r
As a simple progress bar, I want to print a dot every time one step of a for loop is finished, for example I tried for i from 1 to nsteps do printf("."); end do: However, this prints all dots at once the moment the complete loop is finished. Using for i from 1 to nsteps do writeline(default,`.`); end do: prints every step a dot, however it includes a new line command (dots appear below each other). Does anyone has suggestions how to make the progress bar? Niels.
First 2383 2384 2385 2386 2387 2388 2389 Last Page 2385 of 2426