Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Dave1235  
#1 Posted : 27 January 2011 03:14:10(UTC)
Dave1235

Rank: Newbie

Groups: Registered
Joined: 17/01/2011(UTC)
Posts: 4
Man
Location: Ottawa Ontario Canada

I can't be sure whether this is a bug or a programing choice but...

When you have an equation such as the one below...

a:= 1 + 2 + 3

and you want to change it to...

a:= 1 + (2 + 3)/4

you would like to be able to insert the curse on the right and then extend it under the 2 and 3 and then divide that sum by 4. However on my computer the curser, (using the arrow keys) skips over 2 and 3 and under-scores all three numbers, 1,2 and 3. When I expand the curser from the left hand side it does what you would expect it to.

(Win7 64bit, version 0.89 (build 3856)

Again maybe this is intentional but I can't see the reason one would want this behavior.

Dave

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 28 January 2011 17:39:32(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello,

Yes, there is a problem when you want to insert something into an expression. It looks like the editing lines do not work as expected, especially for the Mathcad users. One of the solution is to insert parenthesis in the place you want to insert something, and to use some "copy","cut", "paste".
Here is a possible solution for a simple case Dave presented:
1.You can not have 2+3 inside editing lines by using space and arrow keys - vertical editing line can not be neither from the left nor from the right:


2.Just put the editing line with the vertical one to the left:

3.Then press the left parenthesis (or choose it from the Arithmetic sidebar)

4.Continue with editing inside parenthesis:

5.Now, you can even get rid of them if you do not need them anymore:

6.Select with the mouse (or SHIFT+arrow key) the expression inside the parenthesis and "cut":

7.The empty palceholder with parenthesis will remain:

8.Then, select that placeholder including parenthesis and "paste":

You will get the expression under 5.

Regards,
Radovan

Edited by user 28 January 2011 17:42:57(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Dave1235  
#3 Posted : 01 February 2011 04:23:38(UTC)
Dave1235

Rank: Newbie

Groups: Registered
Joined: 17/01/2011(UTC)
Posts: 4
Man
Location: Ottawa Ontario Canada

Radovan , as a result of my systematic study of curser behaviour in prep of my tutorial, I’ve come up with a second more general way of accomplishing the task.

Here is a ruff draft of what I’ve written for the tutorial. I’ll be dealing with screen shots only as a final step before posting.
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

At his point we will discuss the systematic behaviour of the curser. Enter the equation, 1+2 +3 + 4 = and slowly move the curser back and forth studying its behaviour.
Below is a summary of the different curser positions as you move from left to right.

|1 + 2 + 3 + 4 = 10
|1 + 2 + 3 + 4 = 10
|1 + 2 + 3 + 4 = 10
|1 + 2 + 3 + 4 = 10
|1 + 2 + 3 + 4 = 10
1| + 2 + 3 + 4 = 10
1 + |2 + 3 + 4 = 10
1 + 2| + 3 + 4 = 10
1 + 2 + |3 + 4 = 10
1 + 2 + 3| + 4 = 10
1 + 2 + 3 + |4 = 10
1 + 2 + 3 + 4| = 10

The important thing to note here is that the only time the curser spans a range of elements is when that range begins at the far left.
We need to keep this in mind when we go to perform tasks. For example, say we wish to divide 3+4 by 5 in the above equation, since we can not extend the range of the curser under 3+4 we will instead use the fact that we can extend the range of the curser under 1+2.
Below are the required steps to divide 3+4 by 5.

|1 + 2 + 3 + 4 = 10 . . : Position the curser under 1+2
■ + 3 + 4 = 10 . . . . . . . . : Cut it onto the clipboard (Ctrl+X)
3 + 4 = 10 . . . . . . . . . . : Backspace over the addition operator and placeholder.
(3 + 4)/5 = 10 . . . . . . . . : Divide 3+4 by 5
+ (3 + 4)/5 = 10 . . . . . . . : Insert the addition operator
b + (3 + 4)/5 = 10 . . . . . . : Insert a temporary dummy value like b or any number
1 + 2 + (3 + 4)/5 = 10 . . . . : Paste the sum 1+2 back in, replacing the dummy value.

The dummy value was used in this instance because the program only allows you to paste a general expression like 1+2 into the location of an already existing text segment or text segment placeholder.

This method will of course work with any general expression; we used simple digits here for clarity purposes.

As it happens the curser behaviour described above occurs between any two brackets. This means that if we had the expression like the one below....

x^2 + ln(30)*(1 + 2 + 3 + 4) = xxx

the steps would have been exactly the same.

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Dave
Offline omorr  
#4 Posted : 01 February 2011 10:26:04(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Dave,

Thank you very much for this explanation Good .
I am looking forward to your tutorial. It will be very useful to all of us, no doubt.
I hope that some more additional tutorials will come from you Good

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.