MaplePrimes Questions

1.

Actually the goal is to output a numeric to c# variable after run a procedure

i use EvalMapleStatement to run the procedure body and then

use another EvalMapleStatement to call this procedure

it do not know the procedure or variable in last EvalMapleStatement

2.

then i think whether i can run it once with one EvalMapleStatment

however i got maple warning about declared local variables to procedure

so, the output...

i copy the example to run in a new project, it can run successfully

however, after copy part of code such as static class MapleEngine into my old console program, it return error unable to find maplec.dll when run at StartMaple

this old project is created with Visual Studio 2008 and migrated to 2010

 

then i do backward, i succeed when i copy old console code to new project which can run maple

this project is newly created in Visual Studio 2010

i have been given the simple assignment to sketch the region consisting of points whose polar coordinates satisfy the given coordinates:

 

2<r≤5,   (3*Pi)/4<θ<(5*Pi)/4

 

 

i know how it is supposed to look, but how do i plot it?

 

I have been playing around with the polarplots function for a good hour now, but with no luck

 

Thank you for the help

Let us consider the code

restart: 
x := 11.1111111111; 
Q := fopen("E:\\rezz.txt", WRITE): 
fprintf(Q, "%e \n", x): 
fclose(Q): 
Q := fopen("E:\\rezz.txt", READ): 
y := op(fscanf(Q, " %e\n")); 
fclose(Q):

which produces

x:=11.1111111111 
y:=11.1111100000 .

How many five -digit positive integers have the property that the product of their digits is 2014?

Hi,@Carl Love sorry for my crosspost, I miss click. I try to reply under your response, but it does not show my reply under your response.

Thank you very much, you solve my problem, the method you provided is useful.

But now another formula need to be fit, previously, I use Excel to do the best_answer_optimization, I want to know if Maple could do it. The formula is as follow ...

Hi, I’ve recently begun using Maple 16. I just discovered a problem when trying to open my saved files. I can’t open them directly form the folder where they are saved, I get a Message saying: File XXX.mw could not be found, please select another file. I can accsess the same file through the recent files form within the application.

It is not a shortcut, but the original file I'm trying to open.
If it matters, I'm using windows 8 

I have several questions concerning manipulations with creation and annihilation operators. I would be grateful if  besides answering my questions you would give me some suggestions for improving the code.

Background of the physic problem
I have a crystal lattice with several sites per unit cell. Every site can holds one, two or none of electrons. Electron at every site can be at one of two states: spin up and spin down. Electrons are Fermi particles so anticommutative basis is used. Index 'i' ...

Hi,@Carl Love ,thanks for your help, it's useful. Here, I slightly modify your expression to reach my need. Model:= i0*(exp(1000*(v-i*rs)/n0/(259/100))-1)-i;→ change 100 to 10,

Curve:= plot(eval(NewModel, FIT[2]), v= 0..1): → change v= 0.01..1, because v=0 will give an abrupt jump

The following is the...

We have number from 1 to 2014. If we underline the number that divide by 3 and 4, how many pattern of two underlines that next to each other as example 3 , 4 and 8 , 9?

 

Hello,

1) I would like to ask how I can force Maple to explicitly evaluate a summation over repeated indices. As an example: I would like to do a very simple thing, namely to evaluate the Lagrangian of a free particle in let's say cylindrical coordinates, as follows:

restart:
with(Physics):
with(Physics[Vectors]):
Setup(mathematicalnotation=true, dimension=3):
Coordinates(X=[rho,phi,z]);

Setup(metric = drho^2 + rho(t)^2*dphi^2...

Hi, I want to substitute the result from NonlinearFit into formula and plot together with raw data.

I have two files v.txt and i.txt , v stands for voltage, i stands for current, using formulato fit my raw data,

The picture is captured from my screen.

If I put in the randomize(#) command with the same actual number each time before generating a sequence of random numbers,  I would expect to get the same sequence of results from repeated use of  

round( Generate(distribution(DiscreteUniform(5,10))) )

each time. Actually, I get completely different sequences of numbers.

This also happens with the alternative method of SetState in RandomTools

This is not only annoying...

how can i define an index for a vector?

for example i have

V:=Vector(5)

for i to 20 do
...
V[i]=..

od.

when i write V[i] i want to address it for  "i"'s number from the loop,not element "i" of the Vector. how can i define it ?!
thnx for help 

First 1545 1546 1547 1548 1549 1550 1551 Last Page 1547 of 2429