Skip to main content
8-Gravel
September 18, 2024
Solved

Vectorization

Hi all, can anyone teach me how to produce the results based on the if statement as shown in the attached picture? Thank you for your kind help:')

 

NA_11204287_0-1726661422294.png

 

Werner_E
Werner_EAnswer
25-Diamond I
September 18, 2024

Simply add two additional arguments to Luc's function

Werner_E_0-1726692470560.png

 

 

4 replies

23-Emerald IV
September 18, 2024

You have  just one problem: What should be the result if (x/150)=tw... (if they happen to be exactly equal)?

Anyway, here's your function, assuming equality should instruct to use equation 1+1:

LucMeekes_0-1726664048728.png

Since you didn't attach the worksheet, and didn't state which version of Prime you're using here's an example:

LucMeekes_1-1726664179561.png

Success!
Luc

 

 

Translate
8-Gravel
September 18, 2024

what if the value of 2 and 20 are in equation, not a single digit?
how can we produce a result following the if statement? example as below. btw, i'm using MathCad Prime 10.0.0.0

NA_11204287_0-1726684042531.png

 

Translate
Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
September 18, 2024

Simply add two additional arguments to Luc's function

Werner_E_0-1726692470560.png

 

 

Translate