Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
Whilst writing a string replace function for Mathcad Express, I found what seems to be a problem with the string function search. I wanted to check a string for the existence of the Unicode characters for 11 (↊) and 12 (↋) in the duodecimal system ... and it found them everywhere even when they weren't there at all. Has this been noticed before? Have I made some kind of error or unwitting assumption? Cheers, Stuart (The simple recursive algorithm shown above is O(n) and only good for strings shorter than about 4000 characters (ie, under Mathcad's recursion depth limit. A slightly more complicated algorithm would use a binary-division algorithm to reduce the recursion stack to O(log n), which will handle much longer strings)
If there is a way to display the values of variables inside a block in mathcad 15?
This file is in MathCAD 9, but I'm experiencing the same issue in MathCAD 10. I believe MathCAD is misrepresenting the units. See attached. "Hmp" and "TH" have the wrong values when comparing with example 11.2 at the bottom. I rewrote them as H and T next to them. I substituted "m" and "Ump" for the actual values of 100000 and 1035 and the answers came out correct. So, something is wrong with how "m" and "Ump" are represented.
Hi,Can anybody solve equation ? Solution is x =1, but Mathcad doesn't see this solution ...
I'm trying to pass on a variable as a string to another mathcad Prime sheet. VAY is a number defined above in calculations within the sheet. I don't want the evaluated value but the variable itself. There should be a function to do just that. See screen shot.
Hello All, I have attached P10 sheet and an Excel sheet I am reading from. Many thanks to Werner and Stuart for helping me get this far. On page 12 of the Mathcad sheet, you’ll see the results of the axial forces and moments imported from the attached Excel file. On page 13, I’ve listed a couple of questions I need help with:1 How do I extract from the [TC axial Comp] forces of the panel forces (e.g. TC1, TC2, TC3, TC4, .... ) and place them into a vector labeled TC.Panel.Axial.Compr?2. How can I extract the [TC axial Comp] forces at panel points (TPP#), such as TPP3, TPP5, TPP7, TPP9, … and place them into a vector labeled TC.PP.Axial.Compr? Regards,Sam
Hello All, I have been manually inputting values from an Excel file into a table in Mathcad P10 sheet. I have attached both files. Is it possible to automate this process? I am interested in getting the values I highlighted in yellow in the excel sheet. Regards,Sam
New to this Mathcad Prime here. Version 10.0. I converted a sheet from Mathcad 15, In the converted sheet, every time I change the inputs I get question marks on the outputs and have to go back and manually type the uints over again. Is this a bug or can I solve this somehow. Thanks.
Could anyone suggest how I can setup a function within Mathcad to resolve the attached expression where I am looking to find theta?
Over 2 decades ago, I had a need to document technical analyses. After some research, I discovered Mathcad V3 (?). It worked with Windows 3 (or 3.1). I was ecstatic that Mathcad served my specific needs! Over the years, there were somewhat regular updates. As had been mentioned in other posts, Mathcad originally used the Maple Symbolic engine and then moved away from it. That was not a problem as I purchased a Maple license to fill in the gap.The above arrangement worked for me until PTC no longer supported Mathcad 15. It served my purposes for many years, so I decided to try Mathcad PRIME. It was an early version and it would not serve my purposes. However, I kept track of it and it became obvious that PTC was serious about developing PRIME's capabilities. I have had the opportunity to work with PTC PRIME 10 (and soon, V11) at my workplace. I am pleased with the capabilities and considered purchasing a personal license.
Hello, I have attached the Excel and P10 sheet. I'd like to read data from the second tab of the Excel sheet. The P10 sheet can read from the first tab of the sheet, but not the second tab. I don't know why. Also, I am interested in reading the values in several columns. Is it better to do one column at time, or there are other options? Stuart and Werner helped me with a similar question on 8/29/20225. Thank you for your assistance! Regards,Sam
HelloI have issues with matrix calcualtions. I am calculating the stifness matrix of something but I want to multipy a matrix by a vector. But I want to put unknown variable in the vector so the resulting vector is a function of the variable. I am ataching pictures to illustrate what I mean. Thanks for any help.
Sources: https://github.com/ViacheslavMezentsev/NetEFI[26-06-2014]- only for 32-bit systems;- mc15 & mp3 supported (mp3 can't get string value for now);- only .net 2.0 supported;- examples for vs2008.
Say, if I want to define the expression of Euler's formula below in Mathcad, how should I finish the input for that?
Hello, I am reading values from an Excel sheet. I was building on the answer that Werner had for one of the questions. I have attached both P10 sheet and the excel sheet i am reading from. I was able to read the values for some but not others. The problem is there are dashes at TPP3,TPP5,... Thanks,Sam
The Mathcad Prime Documentation tab contains two dropdowns for adding and removing space, respectively. The Add Space button allows the addition of a single line or a page. The Remove Space button allows the deletion of a single line or all empty space down to the next region (if any). I frequently add extra pages to allow plenty of leeway for adding new regions in between existing ones. I always find it a bit of a nuisance having to press the Add/Remove buttons twice to tidy up the worksheet afterwards. I don't think I've ever used the single line option for either adding or removing spaces. It is almost trivially easy to carry out these tasks using the Enter or Delete/Backspace keys, switching to Draft Mode if necessary to ensure the correct cursor position (which is almost certainly necessary to use the single-line button options, anyway). So, I was wondering if anybody makes use of the single line options, or would miss th
I'm trying to pull G number of rows from an array. The For loop is not working. It gives me the whole array instead.
Hi,How a Mathcad program will look like in which Barnsley fern fractal plot can be seen?
I have a set of bounding temperature data Ti, at coordinates (xi,yi,zi). I would like to linearly interpolate the temperature at interior points within the bounding points. The bounding points could be like a cube, or other shape, or a plane or a line element. Is there a mathcad prime program that can do this?
Hello, I have to process~750 rows, pulling values from another PRIME file using the INCLUDE statement. I'm trying to write a text file in a certain format (just 6 row sample). First column of values would have no quotation marks. Second column of values would be text or string if a decimal place was included, only to two decimal places. The delimiter between rows would be a comma. Attached are a sample PRIME file of what I created and a text file of which I would like to see.Ideas?
When making a template in Mathcad Prime 10.0.0.0, i set the document -> View -> to "Draft". I then save and reopen the template but it always reverts to "Page" view. I never had this problem with Mathcad15.-Is there not an ability to set the user made template (document -> View) to always open in "Draft" on that specific template?-Additionally, i have the same question for setting the default zoom on the Document -> View. Can the zoom setting be set in the user made prime template. Note: if i've got 10 people using the template, i doubt many of them will remember to manually change document to "Draft" view each time they open the template.
Hello Community,I’m back after some time away from MathCAD due to other types of projects. This time, I need your expertise to help me resolve the following:I have several 3D zones defined by two opposite diagonal points, as shown in the figure below. I have prepared the zones as an m × 6 matrix, where each row is [x1 y1 z1 x2 y2 z2]. Row 0 → Zone 1, Row 1 → Zone 2, etc.I also prepared a list of points as an N × 3 matrix. Let PTS be N × 3 with columns [x y z]:My inVolume formula is producing the correct Boolean answer (1 or 0) depending on whether a point lies inside the volume or not. However, my matrix implementation is not producing the expected result. I would like also to work with units of length. Attached is the MathCAD Prime 7 worksheet. You can reply in either MathCAD Prime 7 or 11.
I've been exploring various research papers and online resources regarding four-bar mechanisms, and I noticed that most of them include complex and advanced equations for motion and force analysis. However, my goal at this stage is to perform a basic four-bar linkage position analysis using Mathcad Prime 10. I'm dont often work with mechanisms in Mathcad Prime, and I’d appreciate any help or references that can guide me in building a worksheet from scratch.If anyone can point me to beginner-friendly materials, share a worksheet, or walk me through the step-by-step setup, it would be incredibly helpful. Thanks in advance for your support!
Hello All, I have attached P9 mathcad sheet. I am struggling to do four "if" statements. I have four different exposures A,B,C, and D. I managed to do up to exposure B. I just did exposure "B" and I don't remember how i did it.I am not able to add another "else" statement for exposure C, D. Thank you!Sam
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.