MaplePrimes Questions

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

I want to plot the complex numbers

(-1/2)^q+(-1/2)^(1-q)  (0.25<=q<=0.5)

on the complex plane. Does exist a package (some commands) which can do it?

Sandor

there are n persons selected at random. the probability that at least two of them are born in the same day is p(n). i have to calculate:

a))   p(2),p(3),p(4)

b)) to establish a formula for p(n)

c)) to find out the values for "n" so that p(n)>0.5

if anyone can help me i would be forever grateful. i don't have no idea for this type of problem!

thanks!

Hi guys

How do you calculate the tensor product of 2 matrices in maple? Can't seem to find this simple operation in the tensor library.

First 2248 2249 2250 2251 2252 2253 2254 Last Page 2250 of 2428