Minimize function in Mathcad
Minimize function in Mathcad
(OP)
Hello everybody,
I'm trying to define a spiral spring with a characteristic as flat as possible (meaning a "k" as small as possible), but the "minimize" function of Mathcad don't want to help me...
Please take a look at the attached Matchad 11 file and tell me what I'm doing wrong...
Thanks in advance!
Mechv5
I'm trying to define a spiral spring with a characteristic as flat as possible (meaning a "k" as small as possible), but the "minimize" function of Mathcad don't want to help me...

Please take a look at the attached Matchad 11 file and tell me what I'm doing wrong...
Thanks in advance!
Mechv5
RE: Minimize function in Mathcad
If you're using M11 then you can define an auxiliary specialized variant of k(b,t) that only takes b as a parameter, eg kt(b):=k(b,t), which will pick up the value of t in force at the place of definition. If you are using M12..M15 (certainly M13..M15, can't speak for M12 for sure), then you could use a local function definition to allow you to temporarily create a function within the call to minimize itself (eg, minimize(f(b)<-k(b,t),b) ... again, it will pick up the in-force value of t.
You also need to write sigma with all of it input arguments within the solve block, not just give its name.
RE: Minimize function in Mathcad
RE: Minimize function in Mathcad