Rouben Rostamian

MaplePrimes Activity


These are replies submitted by Rouben Rostamian

@tomleslie Your statement is true in principle, however that's not the source of OP's problem. Without the symbolic option to simplify() in his worksheet, his calculations would yield the correct result.

@Joe Riel I was intrigued with that description of Bark so I installed it (along with the prerequisite TextTools).

Bark's help page says "The examples subdirectory of the Bark toolbox contains the Maple source for a few shell commands created with Bark."  I am unable to find the examples subdirectory.  This is all there is:

[14:13 shadow]~> tree maple
maple
└── toolbox
    ├── Bark
    │   ├── lib
    │   │   ├── Bark.help
    │   │   └── Bark.maple
    │   ├── uninstall_manifest.mtxt
    │   └── version.txt
    └── TextTools
        ├── lib
        │   ├── TextTools.help
        │   └── TextTools.maple
        ├── uninstall_manifest.mtxt
        └── version.txt

After reading Bark's help page, and not having the examples subdirectory, I have the following questions:

  1. Does one execute the shell script (generated by Bark) from within Maple or directly from the Linux command-line?
  2. If the latter, then is the shell script self-contained?  That is, can it be executed without Maple present?
  3. If the shell script needs Maple to run, then what is its utility? That is, why would one want to run the shell script instead of the original Maple program?

Would you please clarify?

@tomleslie When a point mass slides down a frictionless incline of angle alpha relative to the horizontal, its weight mg gets decomposed into a normal force to the incline, mg cos α, and a tangential force, mg sinα. So yes, there is a tangential force, and therefore a tangential acceleration.

The isochrone property of the semi-cubical parabola is cited in numerous websites.  It appears that it originated in the Mac Tutor website, and other websites just copied that information without verifying it.  Here is what Mac Tutor says:

In 1687 Leibniz asked for the curve along which a particle may descend under gravity so that it moves equal vertical distances in equal times. Huygens showed that the semi-cubical parabola x^3 = ay^2 satisfied this property.

On the face if it, that statement is nonsensical—it says that the vertical component of a particle's velocity sliding down that curve is a constant.  But that can't be true.   Consider a particle released from rest from a point P on the curve.  The intial velocity is zero, and therefore the vertical component of the initial velocity is zero. Later on the particle picks up speed, so the vertical component of the velocity is nonzero.  We see that the vertical component of the velocity changes, so it cannot be a constant, contrary to the Mac Tutor's assertion.

I don't know the correct statement of Leibniz's question and Huygens' solution, but certainly Mac Tutor's formulation and dozens of duplications around the net are not it.

 

Interesting puzzle.  Here is a clearer restatement.  I have not attempted to solve it.

restart;

with(plots):

display(
        pointplot([[1,1], [2,1], [3,1], [4,1], [5,1], [6,1], [7,1]], color=black),
        pointplot([[1,2], [2,2], [3,2], [4,2], [5,2], [6,2], [7,2]], color=red),
        pointplot([[1,3], [4,3], [5,3], [7,3], [1,4], [4,4], [5,4], [7,4] ], color=yellow),
        pointplot([[2,3], [3,3], [6,3], [2,4], [3,4], [6,4]], color=pink),
        pointplot([[1,5], [3,5], [5,5], [7,5], [1,6], [3,6], [5,6], [7,6]], color=brown),
        pointplot([[2,5], [4,5], [6,5], [2,6], [4,6], [6,6]], color=purple),
        pointplot([[1,7], [2,7], [7,7], [1,8], [2,8], [7,8], [1,9], [2,9], [7,9]], color=blue),
        pointplot([[3,7], [5,7], [3,8], [5,8], [3,9], [5,9]], color=green),
        pointplot([[4,7], [6,7], [4,8], [6,8], [4,9], [6,9]], color="Orange"),
symbol=solidcircle, symbolsize=50, axes=none);

 

Puzzle: Rearrange the color disks, by moving them up or down (not horizontally),

so that there remain no repeated colors in each row.

Download mw.mw

PS: I see that Christian Wolinski has already said the same thing.  Sorry for the repetition.

 

@acer I thought about doing it that way at first, but did not want to risk it, fearing that eval() may do the two substitutions in sequence, which generally will yield the wrong result.  The help page on eval() says that the substitutions are made simultaneously, so that's reassuring. But in the next paragraph is says that "if there are symbolic dependencies between the expression and the point at which it should be evaluated that are considered unsafe, eval will return unevaluated".  I don't know the circumstances under which this may happen, that's why I chose to roll my own.

@Christian Wolinski Yes, you are right, and thanks for the correction.

If you missed a class where your instructor showed how to write a Maple proc, then see if you can get class notes from a classmate, or better yet, talk with the instructor.

Asking someone to solve your homework problem is not quite the right way to go.  It's you who's supposed to solve that problem, not someone else.

1. What do you mean by "defining the image in relation to a chosen base"?

2. How are the base and T related to the image?

3. You ask "what I'm doing wrong", but you haven't said what you are doing.

I am using Maple 2021.2 on Ubuntu 20.04 (actually Ubuntu MATE 20.04).  I believe that my Ubuntu is entirely up to date. I have no crashing problems.

I suspect that the problem lies in a part of the worksheet that you have not shown.  To help diagnose the problem, upload the entire worksheet, and by that I don't mean cut-and-paste; upload your worksheet as an attachment. Ask here if you don't know how to do that.

@acer Thanks for the details of the redraw option. I don't have 2022, and 2021 does not seem to have it.  I will wait until I get my hands on 2022.

@acer The redraw=false option is new to me.  Where is it documented?  Searched but couldn't find.

Show the progress that you have made toward answering these homework questions, and ask specifically where you need help.

@Carl Love I see.  Thanks for pointing this out.

 

First 12 13 14 15 16 17 18 Last Page 14 of 91