torleian

10 Reputation

One Badge

3 years, 185 days

MaplePrimes Activity


These are replies submitted by torleian

@Preben Alsholm 

Hi,

Thank you for your response and troubleshooting, and you're indeed right. I guess that's what you get when you make last minute changes to a worksheet the night before. Of course the U variable is defined as both a function and a variable, and that would cause issues. Thanks again for finding the issue, a bit embarassing on my part I must admit.

I'm sorry, but I don't quite understand your earlier objection. As you can probably see from my Maple worksheet, I'm not that confident with the inner workings of Maple and syntax, and it's not unlikely that I'm doing something that is not that accepted within Maple with my cumbersome expressions. Although they do yield the expressions I expect, so I'm crossing my fingers that there won't be any more problems in the future (bar the ones caused my own stupidity).
Edit: Disregard this paragraph, I now see that this answer relates to the previous issue of multiple defined U, and not the nested differentation itself.

Thanks again for your thorough and quick responses.

Torleif

@Preben Alsholm 

Hi,

Thank you for your response. I agree the notation is a bit cumbersome, but it works perfectly fine in other worksheets. The reason for the nesting is that some expressions require differentation of φ(θ(t)) with respect to θ and sometimes with respect to time (which θ again is a function of).

Just looking at the error, it looks like the expression is the issue. But as noted in my OP, the error only occurs within certain expressions involving it, and only in this worksheet (see edit). 

@ecterrab 

Hi, thank you for the fast reply. Sorry for not including the worksheet previously, a link to the worksheet is now on the bottom of the original post. Hope the error becomes clearer.

Edit: I forgot to mention, the Physics package is used in order to be able to differentiate funtions such as φ(θ(t)) wrt θ(t), something that seems to be impossible (without substituting expressions) using Maple without packages.

Torleif

Page 1 of 1