Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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
Solved! Go to Solution.
@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
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
> 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.
There is no attachment in your message.
@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
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