If you have a list of numbers that are to be used in the same equation numerous times.Is there a way mathcad can do it without typing in the same equation a hundred times?
For example say I'm trying to find a parallel resistor value one resistor in the pair stays the same R1. The other resistor is varied R2. The parallel combination Rp is
Rp = R1+ R2 / R1 * R2
If I have a hundred values for R2 how can I get mathCAD to plot the results in table form. Without having to create a new variable for R2 and rewrite the equation every time.
The range function doesn't work they aren't scalar values.
4.13k,5.8k,6.2k......... there are about 40 of these.
Using them as a range variable MathCAD squawks this value must be scalar.
I would like to be able to write the formula once, have MathCAD go through each R2 value and plug it in the formula and produce the correct result for Rp in table form like this.
R2 RP
4.13K RESULT
5.8K RESULT
6.2K RESULT
.
.
.
Nevermind I found out how to do it.
For anyone else who ever has to do something similar here is how you do it.
Here is your file, just add more Ri as you need and enjoy it. I changed extension to jpg in order to be able to place it here. Download and then change the extension back to mcd.
may be it's too late, but it might be helpful for others.
This is a Mathcad 11 sheet that will ask for a desired value of a resistors,
It will iterate combinations of two typical/common-valued resistors,
then it will return the combination having the nearest equivalent resistance to the desired resistor value.
If you have a txt file of numbers, you can take it in mathcad matrix with function readprn. and out to txt file with function wtiteprn. If you want to make one operation for 100 times, you can use matrix calculation or cycle "For".