Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

This login session: $13.76, but for you $11.88.


computers / comp.os.linux.advocacy / Re: Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font Required)

SubjectAuthor
* Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font Required)Farley Flud
+- Re: Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font Required)DFS
`- Re: Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font Required)Physfitfreak

1
Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font Required)

<17b068a75b25c63b$133834$3617078$802601b3@news.usenetexpress.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9121&group=comp.os.linux.advocacy#9121

  copy link   Newsgroups: comp.os.linux.advocacy
From: ff@linux.rocks (Farley Flud)
Subject: Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font Required)
Newsgroups: comp.os.linux.advocacy
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 70
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sat, 03 Feb 2024 16:55:26 +0000
Nntp-Posting-Date: Sat, 03 Feb 2024 16:55:26 +0000
X-Received-Bytes: 1976
X-Complaints-To: abuse@usenetexpress.com
Organization: UsenetExpress - www.usenetexpress.com
Message-Id: <17b068a75b25c63b$133834$3617078$802601b3@news.usenetexpress.com>
 by: Farley Flud - Sat, 3 Feb 2024 16:55 UTC

=========================
Monospaced Font Required
=========================

Consider: sqrt(2)/(sqrt(1+x)*(24*x+24)^(1/4))

FriCAS pretty print (ascii art):

+-+
\|2
------------------------
+-----+ 4+---------+
\|x + 1 \|24 x + 24

Diagon output (Unicode):

_
╲╱2
──────────────────────────
⎛1⎞
⎜─⎟
_____ ⎝4⎠
╲╱1 + x ⋅ (24 ⋅ x + 24)

In this case, I like the FriCAS output better due to the radical
symbol for the fourth root rather than the exponent.

Let us reduce this expression. First extract the 4th root of 24:

_
╲╱2
────────────────────────────
⎛1⎞ ⎛1⎞
⎜─⎟ ⎜─⎟
_____ ⎝4⎠ ⎝4⎠
╲╱1 + x ⋅ 24 ⋅ (x + 1)

Now combine the 2 monomials:

_
╲╱2
──────────────────
⎛1⎞ ⎛3⎞
⎜─⎟ ⎜─⎟
⎝4⎠ ⎝4⎠
24 ⋅ (x + 1)

Since 24 = 2*2*6, we get:

⎛-1⎞ ⎛-3⎞
⎜──⎟ ⎜──⎟
⎝ 4⎠ ⎝ 4⎠
6 ⋅ (x + 1)

Or, with FriCAS:

1
--------------
4+-+ 4+-----+3
\|6 \|x + 1

Fun, fun, fun!

Re: Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font Required)

<fFuvN.287656$q3F7.60392@fx45.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9127&group=comp.os.linux.advocacy#9127

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx45.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font
Required)
Newsgroups: comp.os.linux.advocacy
References: <17b068a75b25c63b$133834$3617078$802601b3@news.usenetexpress.com>
Content-Language: en-US
From: nospam@dfs.com (DFS)
In-Reply-To: <17b068a75b25c63b$133834$3617078$802601b3@news.usenetexpress.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 29
Message-ID: <fFuvN.287656$q3F7.60392@fx45.iad>
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Sat, 03 Feb 2024 17:24:27 UTC
Organization: blocknews - www.blocknews.net
Date: Sat, 3 Feb 2024 12:24:27 -0500
X-Received-Bytes: 1372
 by: DFS - Sat, 3 Feb 2024 17:24 UTC

On 2/3/2024 11:55 AM, Lameass Larry wrote:

> _
> ╲╱2
> ──────────────────
> ⎛1⎞ ⎛3⎞
> ⎜─⎟ ⎜─⎟
> ⎝4⎠ ⎝4⎠
> 24 ⋅ (x + 1)

How about this:
_
╲╱2
───────────────────────
1/4 3/4
24 * (x + 1)

or this:

_
╲╱2
───────────────────────
1/4 3/4
24^ * (x + 1)^

Re: Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font Required)

<upnga4$1bop5$2@solani.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9154&group=comp.os.linux.advocacy#9154

  copy link   Newsgroups: comp.os.linux.advocacy
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: Physfitfreak@gmail.com (Physfitfreak)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Pretty Print. Comparison of FriCAS and Diagon (Monospaced Font
Required)
Date: Sun, 4 Feb 2024 02:02:12 -0600
Message-ID: <upnga4$1bop5$2@solani.org>
References: <17b068a75b25c63b$133834$3617078$802601b3@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 4 Feb 2024 08:02:12 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1434405"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:VAU2b28rTNOLoiDMsMCPsZweL04=
Content-Language: en-US
X-User-ID: eJwFwYEBACAEBMCVeCHjSP3+I3TnFhqTKzyW0xlK4STIZl2kZCf2VYk7KGxbp3DETqr1IN52f11XXaiY9wFRpBVa
In-Reply-To: <17b068a75b25c63b$133834$3617078$802601b3@news.usenetexpress.com>
 by: Physfitfreak - Sun, 4 Feb 2024 08:02 UTC

On 2/3/2024 10:55 AM, Farley Flud wrote:
> =========================
> Monospaced Font Required
> =========================
>
>
> Consider: sqrt(2)/(sqrt(1+x)*(24*x+24)^(1/4))
>
> FriCAS pretty print (ascii art):
>
> +-+
> \|2
> ------------------------
> +-----+ 4+---------+
> \|x + 1 \|24 x + 24
>
>
> Diagon output (Unicode):
>
> _
> ╲╱2
> ──────────────────────────
> ⎛1⎞
> ⎜─⎟
> _____ ⎝4⎠
> ╲╱1 + x ⋅ (24 ⋅ x + 24)
>
>
> In this case, I like the FriCAS output better due to the radical
> symbol for the fourth root rather than the exponent.
>
> Let us reduce this expression. First extract the 4th root of 24:
>
> _
> ╲╱2
> ────────────────────────────
> ⎛1⎞ ⎛1⎞
> ⎜─⎟ ⎜─⎟
> _____ ⎝4⎠ ⎝4⎠
> ╲╱1 + x ⋅ 24 ⋅ (x + 1)
>
>
> Now combine the 2 monomials:
>
> _
> ╲╱2
> ──────────────────
> ⎛1⎞ ⎛3⎞
> ⎜─⎟ ⎜─⎟
> ⎝4⎠ ⎝4⎠
> 24 ⋅ (x + 1)
>
> Since 24 = 2*2*6, we get:
>
> ⎛-1⎞ ⎛-3⎞
> ⎜──⎟ ⎜──⎟
> ⎝ 4⎠ ⎝ 4⎠
> 6 ⋅ (x + 1)
>
>
> Or, with FriCAS:
>
> 1
> --------------
> 4+-+ 4+-----+3
> \|6 \|x + 1
>
>
> Fun, fun, fun!
>
>

Yes, looks like Frikas does it somewhat better. For Diagon you didn't
change the "style" to ascii, so the output you got is in unicode. I
tried ascii style and still it would show the exponent form, not 4th
root radicals.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor