C_R

3627 Reputation

21 Badges

6 years, 136 days

MaplePrimes Activity


These are replies submitted by C_R

@mmcdara 

I get squares on my computer with 2023. Can you send a screen shot how it should look like?

Update: It looks like this after opening

@all: Is that reproducible on other computers or is it only my local installation?

 

@Nicole Sharp 
I do not think it’s a bug its more an enhancement you are looking for which I would also welcome for text passages. If you want to do math with it, you could try in the meatime the following:

Not an ideal workaround to start with:
1. Use the handwriting palette to find a symbol that matches the character you want to display best.

2. put the palette symbol in left single quotes (back ticks) to make it a Maple symbol (parseable from the GUI to the Maple engine/server)

`▿` = 1, `▿▿` = 2, `▿▿▿` = 3

`▿` = 1, `▿▿` = 2, `▿▿▿` = 3

(1)

3. Define expressions to do ancient math (here with modern symbols for operators)

`▿`+`▿▿`+`▿▿▿`

`▿`+`▿▿`+`▿▿▿`

(2)

`▿▿`/`▿▿▿`

`▿▿`/`▿▿▿`

(3)

`▿`+`▿▿`+`▿▿▿` = subs(`▿` = 1, `▿▿` = 2, `▿▿▿` = 3, `▿`+`▿▿`+`▿▿▿`)

`▿`+`▿▿`+`▿▿▿` = 6

(4)

(proc (x) options operator, arrow; x = subs(`▿` = 1, `▿▿` = 2, `▿▿▿` = 3, x) end proc)(`▿▿`/`▿▿▿`)

`▿▿`/`▿▿▿` = 2/3

(5)

Or if you want to permanently assign values to the symbols

assign(`▿` = 1, `▿▿` = 2, `▿▿▿` = 3)

`▿`; `▿▿`; `▿▿▿`

3

(6)

'`▿`+`▿▿`+`▿▿▿`' = `▿`+`▿▿`+`▿▿▿`

`▿`+`▿▿`+`▿▿▿` = 6

(7)

((proc (x::uneval) options operator, arrow; x end proc) = value)(`▿▿`/`▿▿▿`)

`▿▿`/`▿▿▿` = 2/3

(8)

NULL

Download userdefined_symbols.mw

And yes, fun is important in life! 🙂

@mmcdara 
Kitonum is correct. I used jargon from CAD where intersection is the operation to drill holes into a body, for example.
Thank you for providing the intersection line that I needed as well. Both answers fit nicely together.
@Kitonum 

To express my reaction in HTML: &#x1f632
Can you give me hint what max does with implict geometries?

I am missing something important here.
min, by the way, leaves out the inner surfaces which is nice as well.

Nice, but not reproducible for me (with modified color option)

a := 5;
b := 1;
h := 7;
alpha := Pi/2 + 1/tan(3/2);
plot3d([(a + b*cos(u))*cos(v) - b*cos(alpha)*sin(v)*sin(v), a + b*cos(u)*sin(v) + b*cos(alpha)*sin(v)*cos(v), b*sin(alpha)*sin(u) + h*v], u = -2*Pi .. 2*Pi, v = -2*Pi .. 2*Pi, numpoints = 2000, style = surface, color = "DarkRed");

Could you share the plot command you used?

As vv and sand15 indicated in an earlier post it would be nice to get a little more background.

@Nicole Sharp 

I agree, renaming (and hiding labels) would clean up documents without the need of unnecessary temporary variables.

What might interest you: Hiding is hiden but possible.

@Thomas Richard 

It's a specific file. I will send it.

The freeze looks like that (with a Windows hourglas not visible on the screen shot):

The taks has to be killed.

 

Thank you

@Thomas Richard 

One reason it is less popular may be the description. I am one of those users for whom "evaluate in an algebraic number (or function) field" does not indicate that this command is useful for simplification tasks of expressions.
I will experiment with it.

@QM I could not resist to ask the new kid on the block

I skip the intermediate steps

I am not sure if this "simplification" is correct. At least I could not simplify it with Maple

;-)

@acer did mean that in your first code snippet?

cot(Pi/2 - alpha/2);
                             /1      \
                          tan|- alpha|
                             \2      /

@Thiago_Rangel7 
Convert comes with new options for trig functions. In this case

convert(1/cot(a), tan);
                             tan(a)

does the "simplification". There is also sincos and more.

@Kitonum 

Both ways are of value for me. I will use the way of @ecterrab for old code where I solved for sin and cos to get the arguments for arctan(y, x).

For new code, convert is better if the code is shared between platforms.

Thank you both

Can you say for which images? I could imagine that such a function would be useful for background images of plots and image outputs of imagetools routines.

@acer 

I see the complication. I have to go back to cases where I retrospectively realized that a warning would have helped. Maybe I can come up with something better than “always working” (which I definitely do not want).

What still surprises me is the dependence on the input mode and the way the restart is performed. I have made more observations on that.

@Scot Gould 

Warnings in Maple 2023 can help with guessing.

(int,allsolutions does not work in this case).

Thank you

@Carl Love 

Using execution with
the warning only appears when restart is within the input region with the int command in

Download int_warning_2D_doc_blocks.mw

Using the warming also appears when a restart is executed in a separate document block.

If an interface command is added to the worksheet, the warning appreas also without a restart when using in

Download int_warning_2D_doc_blocks_with_interface.mw

First 55 56 57 58 59 60 61 Last Page 57 of 72