
If you try to access the third element by typing ΦMn (c_1)[4 it will fail. You can use it only for plotting (or to display the values). if you call ΦMn (c_1) the result is something which looks like a vector, but isn't (its not a range,too). Keep in mind that in your sheet c_1 is a range. You may do this using if.else statements. If you want to change the output of a function, you have to change the function definition. But now you are asking for changing the output of a function. No, thats a different question In question 1 you wanted to add a value to a range, which is not possible. If you changed them afterwards, this has no effect on the function outcome. the evaluation is using the values which where valid when you defined the function. So the c_1 and i you used when defining the function have absolutely nothing to do with the variables of same name you defined right above (you probably can abandon that variable definition, unless you need them later for something else).Įvaluation of the function only takes place when you later call it, providing actual argumentsįor d, etc. The name of those arguments does not matter at all. When you define a function, what you use are so called formal parameters (formal arguments).
#Mathcad prime 5.0 basic tutorial pdf#
vectors you may check the articles of Stuart Bruff which I attached here:īeing rather old they still apply, though.ĮDIT: Just noted that the pdf in the thread above is corrupt. for plotting to have more control than quickplot providesīTW, I consider it a design error that in Prime ranges and vector look exactly alike when displayed You should use ranges for three purposes only: You can't do that because c_1 is a range, not a vector! I would like to have, for example, the values from 102 to 202 of the vector f_s (i, c_1), in another side the values from 203 to 303. Like question one, I would like to add a value to the response of a function for example to ΦMn (c_1) (page 3)ĥ. The general sequence is what designates the order of evaluation or varies depending on whether it is a function or only the evaluation of variables?Ĥ. From the function f_s (i, c_1) (page 1), what is the sequence that the program follows? If I check the values of ε_t the program first evaluates the values of i together with the first value of c_1, before move to the next value of c_1, however the general function f_s (i, c_1) first exhausts the values of c_1 before moving to the next value of i. c_1 Is not considered a vector? What is it?ģ. How do I add a value to c_1 (page 1), for example the value of 1, in the third position and how would it be done to place it at the end?Ģ. But since I pass the worksheet I will be more specific in the questions.ġ. Meanwhile, I've attached a screenshot of the result (from the link below).īTW, I voted for the eBook suggestion for Prime 5 (there were only 6 votes including mine ).The worksheet itself does not have much, it is based on a tutorial that I saw on YouTube, on the attached sheet try to improve some things and try to program it in a different way (using vectors elaborated from conditionals besides of the functions in which the work was already). Check out the link below for a Word doc explaining the process and a link to the required scripts. The article describes the 8+ extension packs that came with various older versions of Mathcad (15, 14, 13, 12, etc.) and it included "Topics in Electrical Engineering", "Finite Element Beginnings" (Febeg.hbk), "Building Thermal Analysis" (Thermal.hbk), "Building Structural Design" (Structur.hbk), "Roarks formulas for Stress and Strain" (Roarks.hbk), "Machine Design and Analysis" (Hicks1.hbk), "Electrical and Electronics Engineering" (Hicks2.hbk) and "Electrical Power Systems Engineering" (Power.hbk).Īlthough there is still the HUGE loss of the live math interface of eBooks and the ability to annotate them, and copy information from them directly into Mathcad, at least there is a simple way to access the information and preserve some of their value. I'm not sure if you are aware, I found article CS200084 (see link below), and according to it, there is facility (conversion of documents to Prime format + VBS scripts to build linked HTML pages) to convert Mathcad 15 (and earlier) eBooks into HTML hyperlinked documents that, upon clicking, automatically open in Mathcad Prime.
