Items tagged with code code Tagged Items Feed

here is the code that shows the error message

are there anyone can help me a little bit and check it why?

hey

 

I have wired problems with maple !!!

 

I run a code twice, I get 2 different answers !!!

 

I have uploaded the code ! just run it twicw and see the numerical values of alpha and beta at the end ! new_idea_gf.mw

I've written some Matlab codes as mfiles; now how could I import them into Maple? (I didn't understand what Maple help says!)

 

 

 

 

 

 

 

 

circle_line_intersec.mw

i'm trying to write some code that will output an angle phi when a null event is reached.

see worksheet

Basically, I have the code

solve([E1, E2, E3, E4, E5, E6, E7, E8], [C1, C2, C3, C4, C5, C6, C7, C8])

and I want to store each of the solutions (C1,C2,C3...) as a different variable.

How would I go about doing that? (without simply copy and pasting the solutions after hitting ENTER)

 

I thought about using

{X1,X2,X3,X4,X5,X6,X7,X8} := solve([E1, E2, E3, E4, E5, E6, E7, E8], [C1, C2, C3, C4, C5, C6, C7, C8])

but it wouldn't go through.

Can someone tell me how Maple coding written in worksheet mode can be fully transferred into a Word document taking all maple's commands, alignments and any section's arrows as they apper in worksheet mode? 

I found that after using "Export as" (tried everthing there), my worksheet appers to be abrupt, alignment of certain codings changed and all the arrows of sections removed.

Please tell me how to deal with this issue, I need to transfer my maple coding...

Hi all,

I wonder if it makes sense to use tables as datatype for efficient maple code. I need this datatype to pass parameters to a procedure which is called many times.

In particular, I have the following criteria:

* efficient (fast) to access for read and write.

* potentially thread save ( I can also imagine having individual copies for each thread)

* present in future Maple versions

* easy to transform into C-code later

I recently purchased maple 15 and I'm using it on my desktop computer. I would like to also have it on my laptop so I can use it at school as well. Is there any way, that I can use the same code on both of my computers or I have to uninstall from one and install it on the other?

All helps are appriciated :) Thanks

hi all

i am trying to write some code to display:

a) hexagon tiling, rather like a honeycomb in 2D

b)  equilateral triangles tiling , all space filled by said triangles. eg a series of triangles whose base is parallel to base of plot, with inverted triangles filling in the remaining spaces

c) square tiling

for a,b c I  want about 50 of each displayed (all of edge length 1) on the one plot

d)  some code...

Dear,

I wrote a code used for calculate integration using monte carlo method (in order to get random results).

I also wrote the code using maplet in order to get the interface.

However, when I finished I could not receive the result because of the error:

Error, (in Maplets:-Elements:-Maplet) `Maplets:-Elements:-ElementTable[typ]` does not evaluate to a module

I do not understand this error and how to correct it.

I need the help from others.

Dear all,

I am stuck with my gradient projection algorythm. I asked several questions on this but nothing helped.

So, the basic problem I have is the following:

I need to make a procedure, which would take as an input some function of time, x(t),

calculate numerical solution for the ODE system

diff(y(t),t)=f(t,x(t),y(t))->y_1(t)

via dsolve/numeric

then update the value of the function x(t)=f(y_1(t)),

giving as a result x(t...

Why in next code i must apply operator twice?

zzz.mw

 

 

-------

inert form eval procedure

HI,

I want to make a program that will list the twin primes.  Is it possible to implement the isprime function in C?  I want to be able to run this program on a computer that doesn't have Maple installed.  Here is my code -

twinprimes := proc (maxnum)
local a;
description "output the twin primes less than maxnum";
printf("%12d", 3);
for a from 6 by 6 to maxnum do
if `and`(isprime(a-1) = true, isprime(a+1) = true)
then printf("%12d", a-1) end if

Dear Prof

i need a maple code for solving non linear equations by variational iteration mthod.please help me in this problem.

with best regards

hamed daei kasmaei

email:hamedelectroj@yahoo.com

solve/fsolve test

December 30 2011 by icegood 255 Maple

Code must not work in such way. See attach. solve_test.mw

1 2 3 4 5 6 Page 1 of 6