nocpiun/calcium

Problem with the function image about coefficients

ChangSakura opened this issue · 3 comments

Description

In the function image, the rendering functions with coefficients has problems.

Reproduction

Input functions with some coefficients.

Expected behavior

It is expected that in the function image, the rendering of functions with coefficients is correct.

Screenshots

[Example 1]

image
After enclosing the coefficients in parentheses, the image renders fine:
image

[Example 2]

image
After enclosing the coefficients in parentheses, the image renders fine:
image

[Example 3]

image
After enclosing the coefficients in parentheses, the image renders fine:
image

[Example 4]

image
After removing the brackets where the coefficients are, the image renders fine:
image

[Example 5]

image
After removing the brackets where the coefficients are, the image renders fine:
image

try y=sin(eπx), y=sin(xeπ), y=sin(x(eπ))
y=sin(eπx) or y=sin(x(eπ)) wouldn't be displayed

Also try y=eπx and y=x(eπ)