Mathcad: differentiating with indexes

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 replies · 7K views
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:
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,557
Last edited by a moderator: