MaplePrimes Questions

Search Questions:

Please see the attached worksheet:

Question 1:  How to plot a partial portion of an array s2 using "dataplot," say the first 50 elements.

Question 2:  I have also tried to use "plot" to plot the first 50 elements s2 and keep on getting errors or strange looking plot with horizontal lines.  I have tried plot(s2,1..50), plot(s2,x=1..50), plot(s2,m=1..50), plot(s2[m],m=1..50), plot(s2[1..50],1..50], plot(1..50,s2[1..50]).

plot_exercise_a.mw

How i can apply this transfromation which is special and i can't undrestand how from that solution he did thus changes  and get the solution of ode  ,  i reached untill eq(3.5) but after that i can't  figure out what he did   and how we get eq(3.7)-(3.9) (3.12),(3.13) and how we can   tranform solution  for the  eq(3.5)

fp.mw

To get better acquainted with "plot3d," I browsed through the help documentation. I was surprised to discover not only "Polyhedraplot," but—via "Polyhedra Sets" and "DualSet"—the very tools needed to tackle a classic subject: The duality of Platonic solids.
This reminded me of the following puzzle:
Consider the unit cube (edge ​​length = 1) and, situated within it, its dual polyhedron (the octahedron). As is well known, the dual polyhedron of the octahedron is, in turn, a cube. Now, let us continue this dual construction indefinitely, starting from the unit cube (cube containing octahedron containing cube containing octahedron...). This generates a sequence of nested polyhedra—alternating between cubes and octahedra.
1.) For each of the infinite subsequences—that of the cubes and that of the octahedra—calculate the sum of all volumes and surface areas.
2.) What is the maximum volume an octahedron (regardless of its orientation) can have while being completely contained within the unit cube?

Is the implementation of DataFrames in Maple antiquated compared to PANDAS or other modern implementations of DataFrames? Even doing the most basic tasks is extremely difficult or unintuitive. I have lived in the DataFrame help pages for 5 years and I still can't delete a column from a DataFrame. Will I ever get any work done? 

delete_a_dataframe_column.mw 

Color option in Context Panel does not work

Steps to Reproduce:
1. Create or open a histogram.
2. Try to change its color using the Color option in the Context Panel.
3. Observe that the color does not change.
4. Click outside the histogram.
5. Click back on the histogram.
6. Try the Color option again — now it works.

Expected Behavior:  
The Color option should work immediately when applied to the histogram, without requiring extra clicks.

Actual Behavior:  
The Color option only works after clicking outside the histogram and then reselecting it.

In my opinion both these expressions should return false.

Just for my interest.
Why is the following not working

one := ``(1);
                           one := (1)

 lprint(`%`);
Error, Got internal error in Typesetting:-Parse:-Preprocess : "invalid subscript selector"
Typesetting:-mambiguous(Typesetting:-mambiguous( lprint(%), 

  Typesetting:-merror("Got internal error in Typesetting:-Parse:\

  -Preprocess : "invalid subscript selector"")))

but this works

lprint(one);
``(1)

Hi,

I am working on an exercise involving sequences of complex numbers, with the goal of animating the resulting spiral and possibly displaying the right triangles originating from the origin. I am looking to improve my animation to make it clearer, more visually appealing, and easier to interpret.

Thanks for your help !

Spirale_Suites_complexe.mw

I was atttempting to ask a question about I problem with styles in the editor in Maple 2026. When I attempted to upload a worksheet  showing the problem, my upload was blocked (SQL injection detected). The worksheet is question was, so far as I know, a standard Maple Worksheet containing a module in the start up code editor. How do I successfully upload a maple worksheet?

I do not understand why a once entered prompt cannot be copied from the AI pannel.

I also do not understand that a text passage from an answer (e.g. a proposed help topic) cannot be selected and copied to the clipboard with crtl-c.

It does not make sense to me to unnecessarily restrict a new program feature. This somehow spoils the show.

Is that a restriction to Windows or my local setting or something imposed on Maplesoft from a third party supplier?

Has anybody seen similar AI implementations in other products?

Recent I purchased maple with order 24780207. Should you send me the receipt of my purchase

Regards

Derive simplifies directly to (1 - a)^3 .

Hello Ladies and Gents :)

I asked Maple AI to write a program to calculate the geodesics on a sphere.

see the attached ws.

When running this program I receive an error which I don't understand.

of course i know how to do it by paper and pen, it was just a test.

if someone could explain me this error i would greatly appreciate .

thank you and kind regards,

Jean-Michel

Moderator edit - here is the file:

geodesics.mw

Hi Maple Flow users,

Today I was making a canvas covering the theory regarding transformers. I use units in my computations, and this is carried onto any plots I make. While I have figured out that the unit I use while defining the plot range on the x-axis is carried onto the plot, I am yet to figure out how to define the unit used on the y-axis.

Please have a look at this snapshot:

The y-axis unit is defined as kg/(A*s^2), while it should of course be in T (Teslas). How would I go about realising this?

And of course, if you have any other tips and tricks related to these kind of plots please feel free to share them :))

Kindly,
Asger

In the attached file, I would like to practice calculating distances between the exact and approximate functions using the "Minimize" function. However, the approach using the integral metric according to (4) produces an error message. I am unable to correct this and would appreciate some advice.test.mw

restart

with(Optimization)

assume(0 <= r and r <= 100*Pi)

"term(a,b,c,d,r):=(exp(sin(r))-(a&lowast;sin(b&lowast;r+c)+d));"

proc (a, b, c, d, r) options operator, arrow, function_assign; exp(sin(r))-a*sin(b*r+c)-d end proc

(1)

Minimize(term(s, t, u, v, r)^2, {-100 <= s, -100 <= t, -100 <= u, -100 <= v})

[0.443734259186819141e-30, [r = HFloat(0.8573907336951694), s = HFloat(1.0651237756780674), t = HFloat(0.9373750940497176), u = HFloat(0.9414213728272717), v = HFloat(1.0810520913486565)]]

(2)

Minimize(abs(term(s, t, u, v, r)), {-100 <= s, -100 <= t, -100 <= u, -100 <= v})

[0.206279437975354085e-12, [r = HFloat(0.8598182185084339), s = HFloat(1.0763500233776817), t = HFloat(0.9650602699090793), u = HFloat(0.9650599306574976), v = HFloat(1.0839652198942415)]]

(3)

"term1(a,b,c,d):=(&int;)[0]^(2&lowast;Pi)(term(a,b,c,d,r))^(2)&DifferentialD;r;"

proc (a, b, c, d) options operator, arrow, function_assign; int(term(a, b, c, d, r)^2, r = 0 .. 2*Pi) end proc

(4)

Minimize(term1(s, t, u, v), {-100 <= s, -100 <= t, -100 <= u, -100 <= v})

Error, (in Optimization:-NLPSolve) integration variable previously assigned, 2nd argument evaluates to 1. = 0 .. 2*Pi

 

NULL

Download test.mw

1 2 3 4 5 6 7 Last Page 1 of 2460