Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi all

 

I have spend too much time trying to figure out why Maple won't solve this equation explicitly. Here is the code:

 

assume(0 <= s, 0 <= w, 0 <= t, 0 <= h):

diff(((w-s)^(1-t)-1)/(1-t)+(((1+r)*s)^(1-t)-1)/((1+h)*(1-t)), s);

solve(%, s)

 

It returns:

 

-(w-s)^(1-t)/(w-s)+1/(1+h)*((1+r)*s)^(1-t)/s

RootOf((w-_Z)^(1-t)*_Z+(w-_Z)^(1-t)*_Z*h-((1+r)*_Z)^(1-t)*w+((1+r)*_Z)^(1-t)*_Z)

 

I'm trying to find the greatest common divisor of two functions with characteristic=7:

with(Algebraic):
GreatestCommonDivisor(x^4+x^3+4*x^2+4*x+5,x^3+x^2+5*x+5,'characteristic'=7);

This gives the answer as (x+4) which is a common divisor but it is not the greatest. From working by hand, I've found that (3x+5) is the gcd.

Why is maple giving the wrong answer?

hi, i am new to this and when i start up maple 11 i get the following error : "Java Virtual Machine Launcher,  Could not create the java virtual machine"

i hope there is a solution to this because i have searched everywhere and i cant get the solution.

error: http://img369.imageshack.us/my.php?image=problem1ek9.jpg

thanks

I am trying to solve the following equation with maple

g:=t->(-l*a^2*t+l*a^2*r^(-1/(a-1))*(A*l)^(-1/a)*(1-t)^(-1/a)*exp(1/(a-1))*t-l*a^2*r^(-1/(a-1))*(A*l)^(-1/a)*(1-t)^(-1/a)*exp(1/(a-1))+l*a^2-l*a-2*l*a*r^(-1/(a-1))*(A*l)^(-1/a)*(1-t)^(-1/a)*exp(1/(a-1))*t+2*l*a*r^(-1/(a-1))*(A*l)^(-1/a)*(1-t)^(-1/a)*exp(1/(a-1))+l*t*a-a*r^(-1/(a-1))*(A*l)^(-1/a)*(1-t)^(-1/a)*exp(1/(a-1))+l*t*r^(-1/(a-1))*(A*l)^(-1/a)*(1-t)^(-1/a)*exp(1/(a-1))-l*r^(-1/(a-1))*(A*l)^(-1/a)*(1-t)^(-1/a)*exp(1/(a-1))+r^(-1/(a-1))*(A*l)^(-1/a)*(1-t)^(-1/a)*exp(1/(a-1)))*exp(-1/(a-1))/(t-1)/a;

Does anybody know of a way to change the direction of an axis label in a plot without going back to the code and re-plotting? In the file I am working with that code has been deleted. It is possible to change the wording, font etc. of the labels, but I cannot find a way to change their directions. This becomes very annoying when I have a long label title on the y-axis, as my plot gets scrunched. Any help would be greatly appreciated. Thanks. -Evan

Greetings. Using the sequence command, I can generate a list of numbers.

>seq(1/(n^2+1), n=1..10);

1/2, 1/5, 1/10, 1/17, 1/26, 1/37, 1/50, 1/65, 1/82, 1/101

Given the list of numbers above, how does one derive

1/(n^2+1)

This is a specific example.  I am looking for a general case.  I scanned the genfunc and gfun packages, but I must be missing something.

 

Regards,

Georgios Kokovidis

 

 

Has anyone ever written procedures in C that can be called from Maple on MAC OS X? I have looked at the WRAPPER help page and given it a go but I am completely lost. I have compiled the example C code from the WRAPPER page with XCode as a "shared library" but when I try to define it in maple I get the following error:

I have been using "Document Mode" in Maple 11 for the majority of my work.  I find that coding procedures and loops is stylistically different than the rest of my document content.  It is a bit uncomfortable using SHIFT+ENTER and struggling with manual indentation in the procedure and loop blocks.

What is the best editing mode for coding routines?

HI2all! I use c++ builder 5.0 to create interface for maple code.At first I tried to start example from openmaple help topics. I have copied example and have inserted it to console wizard of c++ builder. Copy header files to work directory... At first i received(for strings of .h files: INTEGER64 int64;): [C++ Error] mpltable.h(239): E2176 Too many types in declaration [C++ Error] mplshlib.h(148): E2176 Too many types in declaration [C++ Error] mplshlib.h(210): E2176 Too many types in declaration [C++ Error] maplec.h(266): E2176 Too many types in declaration

hi, how to use maple to do the programming?

 

Hello,

consider the piecewise function

b:=piecewise(0>=t,-t,5>t,0,5<=t,t-5);

Why

maximize(b,t=0..3);

does not return correct answer?

maximize(b,t=1..3); or maximize(b,t=-1..3);

works correctly.

Moreover maximize(b,t=0..5);

returns an error.

Thank you for advice.

Hi,

I am running Maple 11 on Mac OS 10.5, and so I use the older Java Runtime Engine to get decent looking prints. However, whenever I print something using pointplot, all the points have this anti-aliasing that makes it look really bad, especially if you use something a little thicker like the diamonds.

I attached a pdf of a printout of a recent homework I did plotting out the Lorenz attractor using pointplot. I noticed that the 3D version at the end looks okay, but the 2D projections I did show you what the problem is. If you zoom in you can see the "shadows"

Is there a way to get all your printouts entirely in vector format?

 

 

 

 

Download 8404_Untitled.pdf
View file details

When I solve the equation

ode := diff(y(x), x, x) = t*y(x)+1

with

dsolve(ode)

everything is ok,

y(x) = exp(sqrt(t)*x)*_C2+exp(-sqrt(t)*x)*_C1-1/t

However, when I want to solve the system

Is there a way to ask Maple to kindly do this for me?  Perhaps if there is can the kind sir show me the steps?

 

How about something simple, r=sin(theta)-Pi.

 

I ask because I did this one by hand and maple would not implicitily plot it for me!

 

Thanks!!!

Hi

when i pass a pair of differential equations from a procedure (called expressions in the code below) to another procedure (main) I am unable to solve the equations with dsolve.

If I explicity include the equations in main I can solve it fine.

Does anyone know what I'm doing wrong?

please help!

below is the code that 1) doesnt work 2)does work

First 2079 2080 2081 2082 2083 2084 2085 Last Page 2081 of 2252