cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

solve block as a function 2

MikeArmstrong
5-Regular Member

solve block as a function 2

Stuart

Would you be able to suggest a function for the attached calculation?

L= wave length
My aim is to have multiple values of T & d.


Regards

Mike
10 REPLIES 10

On 8/25/2009 7:28:33 AM, Armo wrote:
== Would you be able to suggest a function for the attached calculation?
== L= wave length
== My aim is to have multiple values of T & d.

Something like the attached, using a numerical solve block?

Stuart
MikeArmstrong
5-Regular Member
(To:StuartBruff)

Stuart

Please find the attached.

Regards

Mike

On 8/25/2009 8:02:02 AM, Armo wrote:
== Please find the attached.

Sorry, Mike

I've only got M13 at the moment, so can't read your M14 worksheet.

Stuart
MikeArmstrong
5-Regular Member
(To:StuartBruff)

My bad.

Regards

Mike

On 8/25/2009 8:18:01 AM, Armo wrote:

Mike,

apply the vectorize operator to make the function loop over each element of d - won't work if T is a vector, then you'll need to create a range variable (as per my previous example) or a program to loop through each element)

Stuart
MikeArmstrong
5-Regular Member
(To:StuartBruff)

Stuart

I think with your help it is sorted, see attached.

Cheers for the help

Regards

Mike

Could you repost the file, without all the % symbols in the filename. We can't download files if they have certain characters in the filename (to be safe, use only alphanumerics and - _ ( ) ).

Richard

On 8/25/2009 8:47:39 AM, Armo wrote:
== I think with your help it is sorted, see attached.

My Mathcad probably wouldn't like the worksheet because it's an xmcd file, but that's a bit of a moot point as my IExplorer won't download it (I imagine it doesn't like the '%20' space characters).

Stuart
MikeArmstrong
5-Regular Member
(To:StuartBruff)

repost

Regards

Mike

You don't need the local assignment in the definition of Wave. If you delete "a<--" it works just the same. All you are doing is assigning the results of the calculation to a local variable "a" (the left shaft is a local assignment, and "a" is only defined within the expression - you can't access it somewhere else in the worksheet), and then assigning the contents of "a" to "Wave". Since you don't use "a" for anything else, it's not needed.

Richard
Announcements

Top Tags