Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
How do I change the graph in the attached file so that points are all 1 microsecond apart? Using MathCAD 9.0, PTC. The latest.
Hi have successfully compiled the multiply(a,M) example custom function but have a few questions. Q1> Do you compile for x86 or x64 seeing as PTC Prime is 64 bit? Q2> Where do you find the custom functions as neither the Prime menu or the search for all functions has a section for custom functions? Mathcad 15 search had a specific spot. Cheers Terry
I have an old Mathcad file (14) I convert it to Prime 9 but the code does not work. Please help
Hello, PTC community, I defined a function in Mathcad prime 9 for plotting the displacement response (Y-axis) versus time (X-axis). This plot is for a single time period T. I want to get the maximum displacement (Y-value) from the graph for each time period T. For example, I want the maximum displacement values from the plot for Time period T if T= 0.02, 0.2, 4. eg T= 0.2 max. displacement: xx T:0.4 max. displacment xxx and so on. I attached the mathcad file and it imports a text file containing earthquake data which is also attached for your reference. I would really appreciate your help. Thanks, Abdur
I am attempting to evaluate a ground motion data set using Newmark's method. The programing routine augments displacement, velocity, and acceleration. I then need to plot the displacements vs. the time period as it varies from 0.02 to 4 in steps of 0.02. When I define T I get the following error : I don't think a local definition with in the routine will yield accurate results. The routine needs to run as a function of T.
How do you go about getting to the next "step" in a formula? Like in a division situation where you have filled out the numerator, and you want to get to the denominator without using the arrow keys. Or in an if, then statement, getting to the next gray box? Or to the end of parenthesis in a formula? In short, how do you avoid using arrow keys to get to the end of the formula you are writing? thank you
Why am I getting an error when I move g below k? Shouldn't global variables work where ever they are used? --> so, this seems to work ... ... So is it not possible to have global variables inside global variables? if so, why did the first set of calcs work? Thank you in advance
Is there still no way to have custom keyboard shortcuts? I found posts dating back to 2015 saying there is no way to do that in Mathcad. That was the latest post I could find. Any chance that has changed since? Ctrl + Shift + ~ is super awkward to do for global variables. thank you
how would you do the following in Mathcad: if (x = 1 or x = 2) return "yes"else return "no" thank you.
The plot is changing enormously when ode solve is used. Any suggestions?
I have enormous number of .xmcd files needed to be converted to .mcdx. Inside most of them there are links to each other. Considering nested structure of my files and the fact that you can not choose the whole folder for nested convertion in built-in MathCAD Prime Converter I need to automate at least filling Converter with list of files. Would be even better - to make the whole process fully automatic. Have someone done this before? Is there any API for the Converter? Nothing like that was found by me in the PTC support database 😞There is some kind of workaround - to generate multiple paths to files relative to the root folder and join them with " "`s but resulting string is far too long to be accepted by the FilePickupDialog of the Converter. Too many files needed to be converted.
Currently using, Prime 9.0.0.0. In ANY version, is there a way to have a simple database query like return "weight" from "AISC Shapes.xlsx" where "Name" = "C10x15.3"? Or workaround? Is it possible with the tables you can create in Mathcad? I can create the table if need be.Thank you in advance.
As per the original post. Hey! I tried this to open a Prime 9 document in Prime 7 and didn't work. Do you have a solution for these two too?
I have attached a copy of my calculation in which I am getting an error for my i term. Shown below is the error I am getting when I try to run the calculation. I am using Mathcad Prime 7.
So basically I'm recreating a calculation based on an example done in Mathcad 15 (I only have a PDF of that example). I've gone through all the math and finally got a plot working, but the results aren't coming out as expected. I'm afraid that something in Mathcad 15 works differently from how it does in Prime, but I don't know what it might be. Any thoughts would be appreciated.
Hello! I have a system of equations with units. when I use lsolve, I get different answers (all incorrect) depending on the units used. however, the solve block works correctly. This is Prime 7. sheet attached. Any ideas? maybe a bug in lsolve? correct result:
Buenas tardes, estoy intentando programar para calcular el acero requerido por el método de iteracion, tengo dudas con el operador while, por favor si alguien. el archivo esta en Mathcad Prime 8.0.0.0 me puede orientar.
I'm following the attached example design, but I can't tell what function/tool in Mathcad they're using. I understand the purpose of the section and what values it should return, I'm just not sure how to make Mathcad do it. It kind of looks like a programming block, but it doesn't have the bar on the right and it isn't formatted the same inside. What's tripping me up is that the value if "x" isn't constant, it's variable so I can't use simple if/else programming. I only have the file in PDF format.
HiI've just got an assignment in school, where I've to determine the design factor 'z' to a given failure probability.This baisically means that I have to find the lowest value of beta (vector containing of u values) that in combination with design parameter z gives an failure function which is equal to zero.Want to make a loop which can check for all values of z in the interval of 1 and 7. Is that possible?
Hello, I am trying to program the following with some tweaks to fit my problem.I am pretty new to MathCad Prime and I am running into some problems with verifying my array index in step 2.1. Please help! Thanks!
I have a cheat sheet of beam equation, all expressed as functions of variables such as w, P, l, etc. The challenge arises when I apply it to compute load combinations, as the beam equation becomes visually convoluted. A reviewer would only see a series of functions, necessitating them to backtrack through calculations to identify the specific function in use. An alternative is to redefine my input variables (w, P, l, etc.) and directly solve the beam formula without using functions, essentially copying the equation. However, this becomes cumbersome due to the need to clear variables for each subsequent equation. Is there a method to explicitly solve my functions and revert them to the original equation?
Hi Everyone, Any chance anyone has an idea why I am getting odd units? I did the exponent by hand below just to check and it comes up with 1 like it should. Thanks in advance!formula:Exponent check: Version: PTC Mathcad Prime Express 9.0.0.0
Hello Community, I have the following task to solve and i dont know how to do it. I guess its just possible with programming well maybe someone can help me.In the attached sheet i have a pooling problema optimization.Could anybody help me to find coding to solve pooling problem optimization using Mathcad?Thanks in advance GreetingsCarlosRomero
Again I need help dealing with symbolic arithmetic in MC14. In the German mathematical school magazine "Alpha", issue 2/1993, I found reference to a strange sentence. In the limit towards 0 it concerns the ratio of the area of a curve segment to the area of a connected tangent triangle. Proving this theorem for special curves whose functional equation is known is not difficult. But the theorem applies to arbitrary, often continuously differentiable, curves. The associated proof in the original work involves a lot of writing work. I would like to understand this using the symbolic calculation in MC14. I have attached a “test file” for this purpose. Unfortunately my calculation fails because of the MC message that terms are becoming too large. Maybe I made mistakes too. But the calculation method is easy to describe. I ask you to check whether MC14 can do the calculations symbolically.Kind regards, Alfred Flaßhaar
Hello! I am struggling a bit with the symbolic representation of some complex problems. Please, take a look at the attached file. How can I properly define complex function on form z=r*e^(i*phi)? Should I write z(r,phi)=r*e^(i*phi)? If I do so, then the symbolic evaluation of complex potentials (Phi and Psi) doesn't get along. Also, I am trying to use Re and Im functions to define the real and Imaginary parts of "z" without any success. The same goes to the conjugate of "z": it should be z*=r*e^(-i*phi).Hopefully somebody can help me out. UPDATE:I did some progress, but still can't define properly function "z" without Mathcad telling that some variable is undefined. Updated sheet is attached. Best regards, Sergey
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.