Mathcad: differentiating with indexes

Click For Summary
The user is encountering an error in Mathcad when attempting to differentiate a single-column matrix with an array index, receiving a message that states "a name is required here." The issue arises specifically under the square root in their equation. A suggested solution is to assign the indexed value of the matrix to a variable before performing the differentiation. This approach may help resolve the error and allow for successful differentiation. The discussion centers on troubleshooting this specific differentiation problem in Mathcad.
Uku
Messages
79
Reaction score
0
Hello!

The picture says a thousand words:
http://www.hot.ee/jaaniussikesed/v6rrand.jpg

In the last member under the square root, there is the error. For some reason I am not able to differentiate with an array index, ts1 is a single column 5 row matrix. How to solve this? The error says "a name is required here".

Thanks,
U.
 
Last edited by a moderator:
Physics news on Phys.org
Uku said:
Hello!

The picture says a thousand words:
http://www.hot.ee/jaaniussikesed/v6rrand.jpg

In the last member under the square root, there is the error. For some reason I am not able to differentiate with an array index, ts1 is a single column 5 row matrix. How to solve this? The error says "a name is required here".

Thanks,
U.

Try assigning ts1[i to a variable, t say, and differentiate that instead.

attachment.php?attachmentid=51500&stc=1&d=1349334622.jpg
 

Attachments

  • phys - 12 10 04 differentiation 01.jpg
    phys - 12 10 04 differentiation 01.jpg
    4.5 KB · Views: 1,539
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
6K
Replies
1
Views
8K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 1 ·
Replies
1
Views
13K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K