How to enter Math expressions in a Writer Area

How to enter Math expressions in a Writer Area - Messages

#1 Posted: 9/23/2016 9:18:25 AM
frapuano

frapuano

13 likes in 115 posts.

Group: User

Hi Davide,

in this period I am trying to help my daughter that is studying Physics abroad and I am writing and solving something about vector analysis for her.
I am using extensively the Writer Area ..but have issues to indicate -(for instance - a vector as a letter with a segment ( it would be better an arrow ) on top of it or to write a sqare root of something or indicate a power and so on.
I have seen that there is the possibility to enter math expressions ..but it is not clear to me which syntax to use to do this.
Please when you have a moment can you explain in more details how to do this.

Thanks in advance for your help and best regards

Franco
#2 Posted: 9/23/2016 10:24:40 AM
sergio

sergio

115 likes in 329 posts.

Group: User

Franco rispondo italiano (altrimenti impiego un'ora). Scrivi in una math region la tua formula quindi ne copi il contenuto (con il normale Ctrl C di windows ma attento devi selezionare il contenuto e non la math region). Quindi apri la tua writer region e click sul bottone di inserimento matematica (icona con radice quadrata x) e nel form che appare incolli il contenuto della clipoboard (ad esempio a:sqrt(3)+vectorize(V)). Ovviamente se conosci bene i comandi matematici per esteso puoi farlo anche senza il copia incolla.
saluti
sergio

=== translation for further consultations ===

  • Write in a math region your formula, the copy it (CTRL+C or from context menu);
  • Focus your WriterRegion, move the caret where you want to place the math and click the Toolbar's Math Object button (or press CTRL+M)
  • past the clipboard content in the dialog (CTRL+V)


Obviously you can write the math directly here, if you know the syntax (standard syntax, commma as argument separator, period as decimal separator)
2 users liked this post
frapuano 9/23/2016 11:29:00 AM, Davide Carpi 9/25/2016 3:13:00 PM
#3 Posted: 9/23/2016 11:29:54 AM
frapuano

frapuano

13 likes in 115 posts.

Group: User

Grazie mille Sergio

Chiarisimo
#4 Posted: 9/24/2016 6:43:22 AM
frapuano

frapuano

13 likes in 115 posts.

Group: User

...Always bothering about Vectors , is there any way to write a varibale ( to simulate a vector ) in bold i.e. this way A, B or C.
Moreover I can simulate the dot and cross product of Vectors with a function and Matrices ...OK but is there any possibility in the future and in the mind of developers to use native symbol and functions to accomplish these operations , I guess that should not be so difficult and it would be very nice and good from and educational point of view .

Best regards

Franco

#5 Posted: 9/25/2016 3:25:09 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Wrote

...Always bothering about Vectors , is there any way to write a varibale ( to simulate a vector ) in bold i.e. this way A, B or C.


You can use the absolute variables (⁓name) [Tilde: ALT+0126]

Wrote

Moreover I can simulate the dot and cross product of Vectors with a function and Matrices ...OK but is there any possibility in the future and in the mind of developers to use native symbol and functions to accomplish these operations , I guess that should not be so difficult and it would be very nice and good from and educational point of view


You mean to use #×# instead of/as alternative of #†# and #·# instead of/as alternative of #*#?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Posted: 9/26/2016 7:27:31 AM
frapuano

frapuano

13 likes in 115 posts.

Group: User

Davide

yes I would like that it were available the 2 operator natively without recurring to the user function approach.
As you can see below I am attempting to write some notes about vectors Algebra and I am struggling to achieve a decent result just from a typesetting point of view ( for now ) playing with the Unicode typeset ( even if I see that there doesn't exist in the world a way to type a k with a Circumflex for simulating the versor of the z axis ).
Moreover I would like that the vectors were entered not using the matrix approach but as is displayed in a textbook so as a sum of components multiplied by the respective versors , _Silvy3.png ( the versors can be even i,j and k with a Circumflex)

this would be really wonderful ..but I guess that is something difficult to achieve.
In this moment I am in stand-by trying to solve the problem to express the component of a cross product of vectors starting from a symbolic Matrix ( this is the reason of asking to Martin how to use again the Maxima plug-in)

Any help is highly appreciated, best regards

Franco

P.S. I haven't used obviously the determinant symbol herewith to do the Norm of a vector but a copy and paste of the vertical bar Unicode Typecode to avoid troubles with the symbolic engine.

File not found.File not found.
#7 Posted: 9/26/2016 11:02:58 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote


Moreover I would like that the vectors were entered not using the matrix approach but as is displayed in a textbook so as a sum of components multiplied by the respective versors , _Silvy3.png ( the versors can be even i,j and k with a Circumflex)

this would be really wonderful ..but I guess that is something difficult to achieve.
In this moment I am in stand-by trying to solve the problem to express the component of a cross product of vectors starting from a symbolic Matrix ( this is the reason of asking to Martin how to use again the Maxima plug-in)



You can use SMath to demonstrate the relation between vectors, vector components and vector co-ordinates in SMath by defining base vectors and using exactly the notation given above.

The attached sheet is one of the image-producers for my SMath handbook (currently being updated), thus not nicely formatted and cluttered with snapshot regions, sorry for that.

vectors.PNG

Vektorrechnung.sm (118 KiB) downloaded 52 time(s).

SMath_Einf__hrung_120.pdf (327 KiB) downloaded 60 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
frapuano 9/27/2016 7:59:00 AM
#8 Posted: 9/26/2016 12:54:34 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Mathcad supported a bit more "decorative" expressions than Smath
about that: I was about the only user [Valery as well].
Objectively, to make Smath educative/productive, interpret the
the decorated book style to executable maths.

Remember that trig functions are numerical approximations,
deeply coded in Windows. They are normalised rational fractions
of default unit "rad". They also exist in ChebyShev polynomials.

Vector Maths.gif
#9 Posted: 9/26/2016 1:27:53 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Your angle symbol is [Alt0208Symbol].Smath 5346 accesses
not all Alt0key and NONE Alt0keySymbol. That's my reply.

Vector Maths.sm (19 KiB) downloaded 54 time(s).
1 users liked this post
frapuano 9/26/2016 1:38:00 PM
  • New Posts New Posts
  • No New Posts No New Posts