Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi team,
I am not able to find the average of a function. Can you please help.
TIA
Use the function 'mean' to get the average of an array.
If your array is:
Then its average is:
or just:
Success!
Luc
Your integral appears to fail because you have an evaluation ( the = ) after the definition. That often results in problems.
If I delete that = (and delete the never ending program you wrote to create an array) I get:
Success!
Luc
@LucMeekes wrote:
Your integral appears to fail because you have an evaluation ( the = ) after the definition.
I agree that inline evaluations often are the cause for problems, but this time the reason for the failing is the zero which was typed in the "placeholder" for the unit of the result 😉
Thanks
Delete your second definiton of V.s
The attached sheet should help
Thank you