Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
This month’s challenge is about tautochrone curves and isochronous curves. They are very similar. Both involve placing an object on the curve and allowing it to slide without friction. With a tautochrone, an object placed at any point on the curve will take the same time to slide to the bottom. With isochronous curves, objects allowed to slide from any part of the curve will have the same period of oscillation. You can think of the tautochrone as “half” of the isochronous curve, as it is only concerned with how long it takes the object to reach the bottom.In this scenario, the “top” of the tautochrone curve is at a height of 10 meters on the left side. The end point is at ( 0, 0 ). (The “top” of the isochronous curve on the other side is 10 meters on the right side.) Design a curve such that an object placed at any point on the curve will take the same time to slide without friction to the end point under the effect of uniform gravity. Examples of three possible solutions from Creo 13.
PTC is hosting a webinar in early September about using templates in PTC Mathcad Prime. We want to promote how thoughtful template use saves users time and are great for efficiency. We’ll be going into quite a bit more detail than the basics of putting your company logo in the header. While our internal PTC expert presenters will present great insight, you may also have great use cases or experiences that we haven’t even thought of that all Mathcad users could be inspired by!In this thread, please share or describe your Mathcad Prime templates and how they help you: be it function libraries that you regularly reuse, or sophisticated set-ups for accelerating the creation of client reports. (Note: This is a public forum; please don’t share your confidential or critical intellectual property. I may also collate your responses and share them in a PTC.com blog at a later time so everyone can benefit from best practices!)
Mathcad Prime Worksheets Collection OverviewThis set of Mathcad Prime worksheets is a curated collection of ready-to-use examples, templates, and solved problems organized by engineering and math discipline. All worksheets created in PTC Mathcad Prime 2.0. What you’ll find in each categoryAlgebra & Geometry - A collection of Mathcad worksheets covering core mathematical concepts such as complex numbers, interpolation methods, eigenvalue analysis, geometric modeling, and iterative computation techniques. Calculus, Statistics, and Data Analysis - A collection of Mathcad worksheets covering differential equations, statistical modeling, regression, simulation, and data analysis techniques for mathematical and real-world problem solving. Chemical Engineering - A collection of Mathcad worksheets covering solution chemistry, thermodynamics, equilibrium modeling, and process engineering calculations to support chemical analysis and system design. Civil Engineering - A comprehensive collect
I’m trying to develop a robust approach for analyzing different configurations of a four-bar mechanism in Mathcad Prime. I’m looking to determine the corresponding angles for the crank, coupler, and rocker based on the mechanism dimensions and input configuration.I’ve tried a few different approaches and, interestingly, I’m getting different results depending on how I formulate the equations. I’m not sure if I’m missing something fundamental in my approach or perhaps overcomplicating the worksheet.I don’t work extensively with Mathcad Prime, so I may be overlooking a reference, function, or recommended approach that would make this easier. I’m also finding it a little difficult to identify the right reference/example for what I’m trying to achieve.The ultimate goal is to build one generalized worksheet that can handle different types/configurations of four-bar mechanisms under the same set of equations, rather than creating a separate solution for each mechanism.Any suggestions on the
Hello!We have 2 users with 2 different computers reporting the same issue with their prime files.I don’t know if it has something to do with the latest august Windows 11 Cumulative update (KB5121003)?The issue started happening yesterday after the users updated their Windows 11.When we try to Save as PDF or use the Print function we get the same errors. And we have tried several PDF printers. It only creates a .PDF file with 0kb in size. I uploaded 2 files that we are experiencing this issue with.
I uploaded some Excel files into M365 to convert into Mathcad Prime 11. The files created did not open in Mathcad Prime 11. Can anybody please help. Please see attached zip file.
I have two calculation sheets: One is L55-529.7255, and the second one is L55-538.6610. I need to import the functions E529 and U1 into the L-55-538.6610.And the values of E529 and U1 are added to E538 and U2. All the functions are defined with matrix notation. But when I apply the command “Include” the function E529 is ok in the sum, but U1, it says “this variable is undefined. Check that the label is set correctly”. But if you escrow down to the last sheet in the file L55-529.7255, you can see that there are no errors and that I am able to sum E529+U1.I tried in the opposite way, importing L-55-538.6610, using “Include” into L55-529.7255 and I have the exact same error. But I cannot find what the problem is with the U1 function when this is imported in L-55-538.6610 and U2 when this is imported into L55-529.7255. I am including the two files. The functions U1 and U2 are defined in the before last page, and all the sums are completed in the last page. The majority of the calculations
I am still using the old Mathcad 11.2, despite the difficulties with the new OSes. I asked to ChatGPT for help, but I did not get any solution. I wrote (see picture) two equations, and I asked to solve for variables p and w symbolically. Afterwards - and only afterwards - however I would like to capture the symbolic solution (in this case of variable w) and turn some symbols into numeric values and make relations with just few variables like w vs. r, so to obtain a function like w(r):= etc., that I can plot it.As can be seen from the screenshot, however, MC11.2 appears unable to assign some variables the specified values. ChatGPT suggested defining a new variable and then “optimizing” it, which I tried using wR(r):= ..., but that approach did not work either.Of course, one could simply copy and paste the solution returned by find; however, I am curious to know whether there is a way to achieve the same result avoiding such a manual intervention.Thanks in advance for any suggestions or
I am a fun of Mathcad (the classic version in my case), but far from being an expert. So sometimes I come here, but recently I often use AI chats to query for basic help. I found that ChatGPT and Claude (free plans) are probably the most responsive models in my case. But they tend to not follow always my prompts that I am still using MC11.2 old version. But there are many other AI models around.So I would be curious to know what kind of AI models new and experienced users here prefer - if they use them at all.Thanks.
i Have PTC MATHCAD PRIME need a function to generate a cumulative sum sequence where Ui=0 and Ui-1 =0, iteratively calculating Ui+1 up to a 4094 rows , 1column vector.
Was wondering if there is a way to mod or get mathcad to add geometric algebra (or Clifford algebra diff name) into mathcad. THis would include multivectors, the wedge product and the geometric product? Not sure if there is any modding of mathcad at all for reference
The following Mathcad code attempts to use a formula from Wikipedia to expand cos(n*z), but appears to get the wrong result. Comments? Mathcad code implementing expansion formula
After a Wibdows 11 update some weeks ago, Microsoft Edge version 150 closes a few seconds after it is opened. This is not a problem for me normaly because I prefer to use Google Chrome. However Mathcad Prime seems to insist on using Edge.I have set Chrome as the default browser and then installed Prime 12.0.0.1 even though I use English as the Prime language. Still no good.Does anyone know how to get Mathcad Prime to use Chrome?Thanks for your help.
PrimeConnect is also by request now a python library that connects python engineering applications with PTC Mathcad Prime. It allows python programs to generate editable Prime worksheets, and retrieve Mathcad calculated results as native python and numpy objects.What is still needed is a brief manual on how to use it, but it is simple.CheersTerry
A PTC Mathcad Prime XML Writer in C++File created with PrimeWriter v1.1 Alpha, an Embracadero RAD Studio 12 C++ Builder program. Program creates a rudimentary worksheet as a starting point. It is intended for further enhancement to create more elaborate worksheetsStarted with a simple request of ChatGPT"create a PTC Mathcad Prime file that creates variables a and b of 3 and 5 respectively and adds them together for variable c."This started a week long Monday to Sunday, long hours each day focused chat with chatGPT and has produced a simple programmable worksheet generator in C++. It has some functions already defined; operators +,-,/,* sqrt, sin, cos, tan, exp, pow, nthroot, max, min, atan2, lsolve, concat, det, trace, rank, eigenvals, augment, and submatrix. Adding a new Prime function type only takes two lines of code. So more will be added over time. Greek symbols can be used.It is intended as a quick visual report writing method for my C++ FEM work.The new advantage is C++ progra
I would like to READTEXT from text file which would form a two-column matrix. That part is easy. Then I would like to copy the contents of the first matrix to a second matrix, then use that second matrix for other purposes, but unlinked to the first matrix.
HiI have a parabola and *n* circles that need to be plotted simultaneously.The idea is that the value of *n* can be changed, and the plot updates automatically without me having to manually add plots.I have managed to plot the circles individually as upper and lower segments—this works fine, provided I can set up the indexing so that it plots all of them automatically.Additionally, I would like to plot the tangent slopes at the intersection points of the parabola and the circles—I have already calculated these—is this possible? My current go to- where i need to ajust number og circles as the number of piles change: Hope someone can helpBest regreads
Hi There , I want to use this function ( filterNAN) , but I’m not sure how it works . I have a nested array f2 . I tried three different approaches but non is working , in f2 I’m using M and sigma they also have NaN in their values , but not all the values are NaN. Regards, Yusra
Is there any way to send excel data into Matchcad using VBA. I have many claculation work on mathcad but I want excel to be use as an input body which send the specific cell data to a variable in mathcad and the mathcad run the calculation. after that vba send the message to print the mathcad worksheet Example is here to understand Step 1 In excel sheet, we have let say three values in three cells variable with values such as a is 350, b is 505 and c is 900 and so on (actually I have more than 100 values) Step 2 Excel vba open mathcad using COM or API (I do not know the code yet and how to open mathcad from excel vba) Step 3 Excel sent a, b, and c value in mathcad. where many operation are performed such addition, square and many more using these a,b and. Step 4 Excel send signal to print mathcad and then close the mathcad worksheet. Note: Please note the actual work is much more complicated it has atlead 60 pages of calculation in mathcad and more than 1
Hi There ,I have two functions are exactly the same but in two different sheet in the first sheet . it works perfectly and I’m getting the expected answers for f2In the second sheet it doesn't work and I suspect the reason is M has different arrays . How can I fix this function : the error says : This array index is invalid. The index must be an integer, not less than ORIGIN, and not greater than the last element."I can’t attached simplified sheet even in zip file. I hope you can help Thanks in advance , Yusra
Hi. I am trying to use an advanced list box to select a beam section from the first column in a matrix that I can then use to lookup related properties further on in my calc sheet. The problem I have is that the selection does not get parsed to the output variable. Any help with this would be appreciated, I can’t seem to find anything useful online, but I am clearly missing some detail.Here is the list box code and MathCAD file attached. // TODO: Add your initialization code herefunction ListBoxEvent_Start(Inputs, Outputs) { // TODO: Add your code here};function ListBoxEvent_Exec(Inputs, Outputs) { // 1. Clear the list box contents FIRST to reset it ListBox.ResetContent(); var options = Inputs[0].Value; // 2. Loop through and add the strings for(var i=0; i < options.length; i++) { ListBox.AddString(options[i]); } // 3. Set your output Outputs[0].Value = options[ListBox.CurSel()]; //Outputs[0].Value = ListBox.get_text(ListBox.CurSel());};function ListBoxEvent_Stop(Inputs,
Hello,I am new to developing custom functions for Mathcad Prime.I already managed to create a working custom function in C, but I still cannot understand how to do the same in C++.To be honest, I do not understand the internal structure of Visual Studio C++ projects yet. I am learning step by step and using AI to help me understand the code and project structure.My goal is to move large engineering calculations from Mathcad into C++ DLL libraries. I hope to use AI to help convert my Mathcad algorithms into C++, but first I need to understand how a working C++ custom function project is organized.At the moment I cannot even create a very simple function like:int add(int a, int b){ return a + b;}I am not asking anyone to write my project for me.I would simply like to have a minimal Visual Studio C++ project that builds into a DLL and is recognized by Mathcad Prime. Even a project containing only one simple function would be enough.Once I have one working example, I believe I will be a
Hello, I'm having trouble developing a loop that includes break and return statements for buckling analysis. I'm also having trouble generating a combo list for the K values.
I need to evaluate anchored walls, according to FHWA Circular 10, for various strata, but I've had problems with the definition of a vector i. This new version of Circular 11 changes the definition of a vector, so could you help me with this problem?Regards.For loop and return for a vector i
Hi, as you can seeat the bottom of the picture, when evaluting the function “Iresonance”, instead of replacing the variable with the actual, it gives “function” in the result, but the function “wresonace” is already defined. How to subtitute it? Thanks
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.