Items tagged with evaluation evaluation Tagged Items Feed

On my keyboard, Cntrl = action for evaluating an expression inline does not work. The reason is that = is the upper level action (with the shift key) on a key with 0 at the lower level. Doing Cntrl Shift = does not work either. How do I get this done on my keyboard?

There may be more to this

August 10 2012 by Mac Dude 205 Maple

This is a follow-up question to my last-name evaluation question a few days ago.

Well, I thought I had got it, but look at this trivial example involving records:

r:=Record(p1=parm1,p2=parm2);

r:-p2;

         parm2

parm2:=0;

r:-p2;

        0

eval(r);

      

I have been grappling with the Maple concept of last name evaluation and would appreciate a more detailed explanation than is available in the Programming Guide (too brief) or the help page (confusing).

What I think I understand is this: Normally, Maple evaluates an expression fully until all assignments are resolved, leaving me with an expression having only "values" (in a generalized sense, could be strings, numbers, what have you) and "names", which are variables...

Echo to Output?

March 04 2012 by andrewfortune 57 Maple

Hi,

A simple question. How do you echo 2+2 to the output without Maple calculating it and putting 4 in the output ?

thanks,
Andrew

Show an expression

February 18 2012 by Ubiquitous 10 Maple

Hi everyone, I have a question:

In case if I assign for example:

x:=2:

y:=3:

z:=x+y;

Maple will print (output) solution in form :

                                                  ...

lets say I have the folowng

a:=1

b:=3

c:=5

is it posible to have it like this

h:=a+b*c=1+3*5=16

Dear Maple users

I have encountered a strange problem when trying to make inline evaluations in Document Mode. The shortcut Ctrl+= does work on my stationary Windows XP machine, but does not work on my notebook running Windows 7 (64 bit).

To make it clear: I change to Math Mode using the F5 key, type the expression and hold Ctrl and Shift key down and press the key with the = sign. And Yes, I am using Document Mode!

When I rightclick in order to use...

Good afternoon.

I have a problem.

i want ot add the procedure friccion(x1q1(t), x2q1(t), 1) into the dynamic system equation, because the fricction change with the velocity.

I don´t know how can solve that

Please help me o give some ideas.

thank you

30-03-2011-robot-man.mw

Inside a procedure, local variables are evaluated only one level. Of what good is this, one might ask?

Well, for one thing it allows you to do checks or manipulations of an unevaluated function call without having that function call be evaluated over again. I mean, for function calls to routines which don't happen to remember earlier results.

This is a revision of an Answer

How do I create an exptression with absolutely no evaluation?

I would like my students to practice the order of operations, so I want to be able to display an expression without evaluation of any of the operations involved. Is this possible somehow?

Page 1 of 1