MaplePrimes Questions

Hi i'm trying to figure out how to write a procedure for creating a NxN matrix with conditions. The conditions for M[ij] are as follows:

a if j>i+1, c if i>j+1 and b otherwise.

So far this is what i've come up with but i've tied myself into a mental loop and cant seem to figure this out. I know it's really simple and that's what is frustrating me the most.

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;

How do I find the derivative dy/dx of:

x+ y= 3xy

I think I use the Sum Rule for the LHS and the Product Rule for the RHS.  Where I am confused is how to treat the y on the LHS.  Do you change it to 3y and then solve the whole thing for y?, or do you keep dy/dx*y and then solve the whole thing for dy/dx?

Any thoughts?

 

How does one create the set of all positive integers less than and coprime to 66?

I created a set of integers from 1-66: L := {seq(i, i = 1 .. 66)}, then try define coprime66 as follws, coprime66 := isprime(igcd(L, 66)),  to get a set of the coprimes but i get an error.

I've tried op(L) but this doesn't work either. What am i doing wrong?

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 2245 2246 2247 2248 2249 2250 2251 Last Page 2247 of 2426