80 Reputation

4 Badges

4 years, 132 days

MaplePrimes Activity

These are questions asked by peter2108

I can draw a triangle using the geomtry package:

point(A, 0, 0), point(B, 2, 1), point(C, 2, 0); triangle(T, [A, B, C])
d := draw(T, axes = none, color = black); t := textplot([[.227, 0.60e-1, typeset(theta)], [1.1, 0, typeset(k__2)]])

The result is as below.


I would like to place the label k2 below the line but negative numbers do not work. I would like to put a label k1 to the right of
the opposite side but there is no room,  and finally I would like to put sqrt(k1^2+k2^2) above the hypotenuse slanted to be
parallel with the hypotenuse if possible.

Suppose that I have a plot:

plot(sin((1/180)*Pi*x), x = -180 .. 180)

I want to add a degree symbol after the tickmarks on the x-axis.  One approach which seem promising is to add a plot option for the x-axis:

axis[1] = [tickmarks = [90 = typeset("90", degree)]]

where "degree" is replaced by a code for the degree symbol. Maple is helpful here because I can point and click using the Common Symbols palette and insert a degree symbol. However this does not work delivering an error "Error, invalid neutral operator". This error is undocumented. 

I can insert a Pi or an infinity symbol. If I want to I can put a degree sysmbol into ther title, but apparently not on the axes.


In workbook mode I use the Insert>>Paragaph>>Before Cursor to create a text block. I just want to type text into this block by way of comments on what preceded/follows. However, when I type parentheses or <> of (I expect) other stuff that Maple recognises as being parts of mathematical expressions Maple switches to italic and bold and starts generally interefering with my text. In the case of my title I get the result in the picture below. Is there any way to stop Maple doing this so I can type text?


The docs for the package geometry say:


The command with(geometry,distance) allows the use of the abbreviated form of this command.

I am new to Maple. What is the abbreviated form of the distance command?

1 2 3 4 Page 4 of 4