Skip to main content
14-Alexandrite
April 19, 2020
Solved

Integration differential

  • April 19, 2020
  • 3 replies
  • 2163 views

Hi,

I am trying to solve the following double integral equation in Mathcad (Equation 17 extracted from tech paper).

I get an "a name is required here" error when using the d(sin(q)2) i.e "d sine squared" in the differential. Can I use this d(sin(q)2)? Is there a trick to getting the syntax correct? Many Thanks Ross

 
 

 

 

 

 

Best answer by Werner_E

@VladimirN wrote:

There is no attachment in your message.


I guess we can consider the question as answered.

The same question was asked a second time, but with an attachment -> https://community.ptc.com/t5/PTC-Mathcad/Double-Integration-error-with-sin-squared-differential/td-p/661132/jump-to/first-unread-message

3 replies

21-Topaz II
April 19, 2020

Hi,

 

Mathcad is telling you it needs the name of a function.

set a function name before differentiation.  sin_f(theta):=sin(theta)^2

use this name in the differentiation.

 

It helps if you attach the file to the post.

Cheers

 

25-Diamond I
April 19, 2020

> Can I use this d(sin(q)2)? 

Unfortunately no.

Mathcad does not support functions here, just variables.

So you have to manually evaluate the differential yourself  d(sin(q)^2)=2*sin(q)*cos(q) dq and use this instead.

24-Ruby III
April 20, 2020

There is no attachment in your message.

Werner_E25-Diamond IAnswer
25-Diamond I
April 20, 2020

@VladimirN wrote:

There is no attachment in your message.


I guess we can consider the question as answered.

The same question was asked a second time, but with an attachment -> https://community.ptc.com/t5/PTC-Mathcad/Double-Integration-error-with-sin-squared-differential/td-p/661132/jump-to/first-unread-message

remslie14-AlexandriteAuthor
14-Alexandrite
April 22, 2020

Vladimir, Werner,

 Apologies for omitting the attachment in the first post.Thank you for your efforts. I now have my calculation sheet working😀. Regards Ross