temporary visualization in prettyprint (input)

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 603
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

temporary visualization in prettyprint (input)

Message par compsystems » ven. sept. 08, 2017 12:42 am

Hello, the introduction of expressions in the entry line, you can not display the expression in textbook or prettyprint notations, for example it is very necessary to verify that the original expression was written well, for many people linearizing a two-dimensional expression is complicated, I think that there should be an option to temporarily visualize a linear expression to 2D

exercises of operator priority.


1: a := 2; b := 2; c := 2;

2: (a+b/c)/(a/b+c)
1

3: 5*2/2*2+6*4/2*2-4*6*2/2*3/2
-2

4: 3^2*4/5^2-4*6*2/3*2+5*4/2*7
986/25

5: 4*2-5*6/2*3+4*3/6*2-6*2/2*3*2
-69

6: 2*3-4*5/6*2+3*4/5*6-6*5-4*3/2*4
-604/15

Image
Image
Dernière modification par compsystems le lun. sept. 11, 2017 8:59 pm, modifié 2 fois.

frederic han
Messages : 1139
Inscription : dim. mai 20, 2007 7:09 am
Localisation : Paris
Contact :

Re: temporary visualization in prettyprint (input)

Message par frederic han » ven. sept. 08, 2017 2:00 pm

You can disable the autosimplify (either in the config CAS menu or by typing autosimplify(0) )
Then use single quotes:
Ex:
Capture du 2017-09-08 15-55-49.png
Capture du 2017-09-08 15-55-49.png (29.99 Kio) Consulté 5085 fois

parisse
Messages : 5882
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: temporary visualization in prettyprint (input)

Message par parisse » ven. sept. 08, 2017 6:17 pm

You can enter an expression in 2-d, menu Expression, New expression.
However I do not advertise this kind of input, because it's hard to modify a typo in 2-d. Moreover I think it is important for students to enter expressions in 1-d, that will help them understand operator priority.

compsystems
Messages : 603
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: temporary visualization in prettyprint (input)

Message par compsystems » lun. sept. 11, 2017 8:57 pm

ok, new expression show in 2D after press enter :)

Why press new expression, start on a previous line as new line?

XcasEngGuy
Messages : 160
Inscription : mer. janv. 13, 2010 3:20 pm

Re: temporary visualization in prettyprint (input)

Message par XcasEngGuy » dim. oct. 15, 2017 8:50 pm

Copy from prettyprint and when you paste (to notepad for example) the equation is linear. Very useful for including finished equations in a program.

Matt

Répondre