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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

SOLVE BLOCKS WITH RANGE/VECTOR PARAMETERS

regcurry
16-Pearl

SOLVE BLOCKS WITH RANGE/VECTOR PARAMETERS

I apparently do not understand how to use a function defined in a solve block to get results for a range (vector) of variables.  It works for a single input, but not a range of inputs.

 

Any help is appreciated.

 

Note; the attached file is Mathcad 15.  You will need both the xmcd and the xlsx files.  They are attached.

 

Thanks again.

 

 

Reg
ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:regcurry)

When you have a function which is made for single scalar inputs and you would like to feed vectors of values, you always should use vectorization (even though sometimes it is not necessary - depends on the calculations done in the function).
Thats the arrow over the expression and you can find it on the matrix palette or use the appropriate keyboard shortcut.

Werner_E_0-1694989690030.png

 

BTW, writing in all uppercase as you did in the subject is usually interpreted as shouting loudly and thats certainly not necessary here in the forum and is often considered impolite. So you should avoid doing so in the future.

 

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:regcurry)

When you have a function which is made for single scalar inputs and you would like to feed vectors of values, you always should use vectorization (even though sometimes it is not necessary - depends on the calculations done in the function).
Thats the arrow over the expression and you can find it on the matrix palette or use the appropriate keyboard shortcut.

Werner_E_0-1694989690030.png

 

BTW, writing in all uppercase as you did in the subject is usually interpreted as shouting loudly and thats certainly not necessary here in the forum and is often considered impolite. So you should avoid doing so in the future.

 

Thanks much Werner.  Didn’t mean to shout.  I’m 80 years old and accustomed to using upper case for titles.  I do these Mathcad projects to keep dementia away and to”keep me out of bars at night.” 🤣

I really appreciate your help.  You are always very helpful.  I’ll try to remember the upper case thing.

Reg
Announcements

Top Tags