Items tagged with programming programming Tagged Items Feed

Hello,

 

I have a very important question that I can't seem to find anywhere in the literature.  I am trying to create a procedure to do something that would be seeminly impossible by hand.  In doing so, I need to create exactly 729 variables, which I would like to simply call x_i for i=1...729.  Yet the problem is that I don't know how to define the variable x_i during the procedure.  For example, I would like to do something of the sort:

Hi, i'm interested about parallel programming in maple but i cant find a good tutorial. is there anyone know a good refrence for this topic?

Hi,

I want to parallel the following code.it is good that part1 solved by one thread and part2 solved by other thread.

please help me.it must be noted that part1 and part 2 are independent "at each" iteration.

 

dtheta[m](x):= theta[m-1](x)+phi[m-1](x);
dphi[m](x):= theta[m-1](x)-2*phi[m-1](x);

for i from 2 by 1 to 10 do;

# part1

theta[i](x):=subs(m=i,dtheta[m](x)):
theta[i](x):=value(%):
eval(-theta[i](x),x=0);

hello everyone, this is my first time visit mapleprimes, i just started to use maplets programming, so there are a lot of things i still don't know about this maplet, if i ask some stupid questions please be patient with me.

so i've been trying to write a maplet that will calculate some simple functions such as addition, multiplication, division,...,it's kind of like a calculator. 

i've been trying all day, and no luck so far. help please. 

Hello Maple wizards,

I have two questions for you today.

First, a program I'm developing in Maple 15 does frequent matrix multiplication with a constant float[8] matrix. I hope to take advantage of multiple processors in my 6-way desktop processor and/or CUDA features of the Nvidia GPU card. The program is large enough that maintainability and good programming practice dictate that it be broken down into multiple procs. In addition, I'm considering...

Let a list of n positive integers be given, e. g. [2,1,4].
Let us consider all sums of  all its members signed by +-, e. g
-2-1-4=-7, -2+1-4=-5, -2-1+4=1, ... .
How to find the sum having the minimum  absolute value with Maple?

So, i'm using Maple 13 in my school, and our homework was to make two procedures which could calculate something.

 

I'm interested in making a procedure which can calculate out the angles of my triangle with the law of cosines, and this is how my procedure looks so far:

 

findA := proc (a, b, c)

local solA;

solA := arccos((b^2+c^2-a^2)/(2*b+2*c));

return evalf(solA);

end proc

 

findA(67, 50, 34)

Some years ago (on the old primes when there was a 'book' section), I had posted about Maple 401, a list of advanced functionality that someone serious about writing code in Maple ought to know.  But that list is not particularly current (it probably was not completely current when I created it), as I did not keep up my in-depth knowledge of more recent releases of Maple.  So my question is: what is this list

This is in a similar vein to the Diet problem (integer programming), but harder.

http://en.wikipedia.org/wiki/Cutting_stock_problem

This guy has solved this problem using 3 programs, Maxima and LPsolveIDE and Excel:

https://docs.google.com/View?docid=dfkkh8qj_64rrpz86db

A text file generated by maxima is fed into LPSolveIDE ...

Hello,

I would really appreciate some help. I am trying to use maple as a document of engineering analysis and calculations (like I would do in MathCAD), can maple handle such things. I seem to be having problems with the formatting. For example my units and outputs seem inconsistent, where am I going wrong. I have uploaded a file belwo for some advice please.

Also when I define a variable and then change the variables value can I get all the equations which...

do maple have tree data structure for genetic programming?

Hey
I have just started with maple and I it is a little bit confusing for me  an I am tryin to implement the sieve of eratosthenes algorithm

but I am still getting strang warnings and the programm does not function as wanted so i wanted to use the debugger but
it is not working(it is like disabled)
I have maple 12
I will be glad to get a help
thanks 

 

Hi everyone, 

 

How I can split loops than in openMP library 

 

#pragma omp for

 

using threads in maple ... please a one example

 

thanks by your attention.

1 2 3 4 Page 1 of 4