Long Formula Writing

Long Formula Writing - How to Write in a compact Form a Long Formula ? - 消息

#1 已发布: 2023/10/26 20:52:03
ioan92

ioan92

181个赞,共124个帖子。

组: User

Hello Everybody,

Please, do you have some smarter solutions to write a long formula like this?

2023-10-26 15_33_38-SMath Solver - [How to compact.sm].png

I put inside the file my actual primarily range of know-how.
How to compact.sm (13.76 KiB)已下载 1538 次。

Do you expect some improved solutions embedded in the system?
For instance: one alone split of a line seems in my opinion as being not enough.

Thanks for your attention,
Ioan

Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#2 已发布: 2023/10/26 23:37:21
NotRetiredYet

NotRetiredYet

2个赞,共9个帖子。

组: User

I don't have SMath here at work (company policy), but the following technique should work. It works in Mathcad, which I do have at work.

Set the function equal to the sum of a four-element column vector, then split the function definition at the three plus signs that separate the major elements of the definition and drop these pieces into the column vector. Please pardon any typos on my part.

Fona.jpg
2位用户喜欢此帖子
Oscar Campo 2023/10/27 00:12:00, ioan92 2023/10/27 00:22:00
#3 已发布: 2023/10/27 00:22:03
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Please, do you have some smarter solutions to write a long formula like this ?


The undocumented maple(op) has hidden virtue of simplifying.
Works fine your long formula ... 4th option.
Jean.

Maths How to compact maple(op).sm (22.95 KiB)已下载 1598 次。
#4 已发布: 2023/10/27 00:34:35
ioan92

ioan92

181个赞,共124个帖子。

组: User

Wrote

...

Set the function equal to the sum of a four-element column vector, then split the function definition at the three plus signs that separate the major elements of the definition and drop these pieces into the column vector. Please pardon any typos on my part.

Fona.jpg



Hi NotRetiredYet, Greetings from an AllreadyRetired,

Thank your for your suggestion. It's simplier and it works good:
How to compact.sm d.png

Best Regards,
Ioan
Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#5 已发布: 2023/10/27 00:54:35
ioan92

ioan92

181个赞,共124个帖子。

组: User

Wrote

Wrote

Please, do you have some smarter solutions to write a long formula like this ?


The undocumented maple(op) has hidden virtue of simplifying.
Works fine your long formula ... 4th option.
Jean.

Maths How to compact maple(op).sm (22.95 KiB)已下载 1598 次。



Bonjour Jean,

Thank you for your proposal. Of course it could be seen as a forth solution.
As I see, Maple turns a little bit the terms but finally we heve always a sum of four main terms.

Merci encore,
Ioan

Do to others as you would like them to do to you! Knowledge is of no value unless you put it into practice - Chekhov
#6 已发布: 2023/10/28 03:04:46
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Merci encore ... Ioan


A great application of maple(op)
Suppose you have a long Lagrange canonical polynomial,
generously furbished of 15 D coefficients.
Tedious to collect all the coefficients by hand.
Click/click/done maple(op(Poly(x)))
Don't expand symbolic expr(x):=maple(op(Poly(x)))
... below expansion, set x:=1
evaluate the expansion ... all coefficients collected in vector.
Take care Ioan ... Jean.
#7 已发布: 2023/11/1 09:00:55
Noah Brown

Noah Brown

0个赞,共1个帖子。

组: User

Wrote

Wrote

Please, do you have some smarter solutions to write a long formula like this ?


The undocumented maple(op) has hidden virtue of simplifying.
Works fine your long formula ... 4th option.immaculate grid
Jean.

Maths How to compact maple(op).sm (22.95 KiB)已下载 1598 次。



thankssssss
  • 有新帖
  • 无新帖