Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
Does anybody know how Mathcad strings are encoded? I've got a project on the back burner to look at Babylonian mathematics, including astronomical observations. I'd like to convert between Arabic and Sumerian/Babylonian numbers and display them accordingly. Unfortunately, whilst Unicode has code points for cuneiform numerals, I can't display them. According to the Mathcad Prime 11 Help, vec2str(v)—Converts a vector of UNICODE codes in v to a string. This function also works with zero-length strings, such as vec2str(0) = "". str2vec("S")—Converts a string S to a vector of UNICODE codes corresponding to the characters in S. This function also works with zero-length strings, such as str2vec("") = 0 v is a vector of integers representing UNICODE code points for any valid string character. Acceptable values are integers in the range 9, 10, 13, or 32 - 255. The mapping of codes to characte
Can anybody throw some light on the problem below when using min? "System Error. Entry point was not found." I tried rearranging the definitions of pred and pushing min further down the functional chain, but to no avail. Indeed, using IsFunction caused Mathcad to bang out. max doesn't have this issue. Nor do any of my redefinitions of min. The problem occurs in both Mathcad Express 10 and Mathcad Express 11, even when only the definition of pred and the evaluation are present. pred has a counterpart function, succ, and that too shows the problem. Mathcad Express 10 worksheet attached and Exception log file attached. Stuart
Hi I need to subtract two different matrix . one has ( 7 rows, 2 column) and the other has (5 rows , 1 column) I know the other own is shorter so the result should be the same number in the bigger matrix. like it treat the missing numbers as zeros Is that possible ? Thank you The sheet is attached
How do I change my email address. My current email will be void at the end of August and I find no way to change it on my profile or settings.Thanks
I need to add a summary at thr bottom of my calculation to shoe results as shown below.I am not able to do.I request shed me with some lights to get around this.
I am working on a sample to develop my calculations.I used both If .. Then and While.But, I can get the results: J is not adding up. Looks like J keeps remaining at 1. I request help.
I'm using MathCAD 9.0.0.0. I get this error on my last equation...I don't know what's off because all of these variables worked fine together up until this point. Initially the box was only around the first CDH until I added "explicit,ALL" so that might be something to look at. Thanks, Brent
Hello,I need to define a large number of variables, as listed in the attached Excel file.The file includes the variable names, units, and values.Currently, I’m defining each variable and its unit manually, which takes a lot of time.Is there a way to make this process faster—perhaps by using loop processing in a program or some other method? attached file is made by Mathcad10
I have two list boxes (MathCAD Prime 11.0.0.0), The selection of one list box drives the list of the other box (see picture). The problem I have is the values update on re-opening the sheet. I can get the sheet to remember the 'Type' selection. However I can't get the second list box to remember the selection from the previous save and close. Below is the code in the jscript:- // TODO: Add your initialization code hereListBox.ResetContent();// Add Strings here as needed function ListBoxEvent_Start(Inputs, Outputs) { // TODO: Add your code hereListBox.ResetContent()if(Inputs[0].Value=="UC"){ListBox.AddString("356 x 406x 1299");ListBox.AddString("356 x 406x 1202");ListBox.AddString("356 x 406x 1086");ListBox.AddString("356 x 406x 990");... (the full script code is attached)So I know/suspect the issue is the 'ListBox.ResetContent()' line but how do I stop the script running on open or remembering the selection, so that it keeps the previous save options?The sheet opt
Hi there,I have been trying to use the Symbolic Solver in Mathcad prime v10 as shown in the following SS but I could not figure out. Could someone kindly plz help in this one? I would be much obliged. I am trying to get the values of Wa and Wb using the symbolic solver.
Hi, I am a new user of Mathcad Prime 10, with some experience of Mathcad but all gained long ago, before Prime came along. I have set up some functions to operate on range variables with equispaced input values. I want to work with the resulting range variables but have hit problems, partly due to a general lack of understanding and maybe partly due to the known limitation of Prime 10 https://www.ptc.com/en/support/article/CS416474 -- corrected link I can plot the output vs the input on an XY plot and the values check out correctly. To export the resulting XY table to Excel, I tried to use https://community.ptc.com/t5/Mathcad/MathCad-Prime-9-0-Exporting-data-set-Excel/td-p/913932The input/independent range variable is recognised and entered into the Excel cell. The output/dependent range variable is not recognised. I have also tried various "range to vector" conversions but these all seem to have the limitation of only working on the input/independent
for a range variable k an assignment variable cannot be set, Kindly help, see the attached worksheet please. Kind regards
Hello All,In the attached Mathcad-P10, I am creating a function to calculate the torque values at different x values. It is giving me an error for some values. I appreciate any assistance. Regards,Sam
Hello, Everyone. From : So the question is : Is there a reason for : " max( ) works and min( ) doesn't " ? Thanks in advance for your time and help. Best Regards.
How can I add conditional formatting to Mathcad sheet similar to what is available in excel? I was envisioning formatting the output of a Boolean equation using Mathcad. As near as I can tell, there is nothing in the Mathcad Prime 11 help that leads to some form of conditional formatting.
Hello Everyone.From : (view in My Videos) To :Solve , maximum of area of triangle_ACD ?Thanks in advance.Regards.
Hi, Having some challenges with advanced controls in Prime 10. I have attached the worksheet for reference. Would appreciate any suggestions or work around. Listbox height is not fully resizing with font size. Some white space is left when resized to minimum height. If text boxes are arranged vertically, the dashed line around selected textbox overlaps significantly on adjacent text box. Bit of context.. Recent reluctant mover from Mathcad 15 to Prime 10. We do a lot of team collaboration, so we used to use Mathcad 15 worksheets as templates letting the testers to access only input and output sections of the Mathcad worksheet to test the multiple product models before fine tuning them. so, it's critical to fit as many list boxes and text boxes in input section. We are trying this out in Prime 10 and seeing basic challenges compared to Legacy version.
I would like some help to develop a loop in Mathcad that returns x-axis offset distances between intersection points of two curves based on the y-values of the respective curves. The attached Mathcad Prime 11 file contains the details and a fuller explanation of this request for assistance.Note, this is a follow-on from an earlier post titled "Mathcad Intersections and Discretized MatrixData". A link to this earlier discussion has been included at the top of the attached file for convenience.
Hello Everyone.From : How to simplify the above ? Thanks in advance. Regards.
A challenge from Facebook, and one of the (wrong) answers. My solution is in the closed area. Have some fun.
I would like some help to develop a loop in Mathcad that appends each intersection point between a piecewise linear curve and a set of straight lines, to the piecewise linear curve matrix. The attached Mathcad Prime 11 file contains the details and a fuller explanation of this request for assistance.
I started my college years using Mathcad 11, and I still use it after two decades. And for many reasons: I know its plus and minus points (more plus than minus).Once upon a time, I could integrate it with Excel and other software.It is reliable overall: no crashes or file corruption.It saves space and memory: in 100Mb of HDD and a few dozen Mb of RAM, it does what other mammoth software (including the following versions of Mathcad, not to speak of Mathcad Prime) do.I always kept an eye on the PTC community to look at the reactions to Mathcad Prime's evolution. I think I am not alone in still using the Classic Mathcad (if not v.11, it will be v.15). I am interested mainly in Calculus (so symbolic math solutions), Matrix Algebra Simulations, and a few Statistics. At the same time, I am not interested in integrating Mathcad to other PTC software.Is it worth moving to (or trying) Mathcad Prime v.10? Given the above interests, how is it compared to t
On one particular calculation, I get a red box"System Error: Item has already been added. Key in dictionary: "Key being added: " Anybody have any insight?
I've been doing a bit of revamping my Mathcad Express worksheets to Mathcad Express 11. As part of this activity, I've updated my library of timing functions to reflect the way I've been using them. For example, timer1(f,a) used to return both f(a) and the time it took to evaluate f(a); now, it just returns the time taken, whilst timer1n(n,f,a) executes f(a) n times. For those of you with prior versions of Mathcad, here are the timing function definitions: Here is a good example of how writing recursive algorithms should be done with care, fib vs Fib. And here's a graph showing just how much worse the difference in Fib's performance gets as its input argument n increases. The timing functions are in the first Area in the attached Mathcad Express 11 worksheet (to make it easier to copy them to another worksheet or include them in a template). The utility of such functions is also evinced in: https://com
Hello Assuming you have a matrix defined, is it at all possible to use (part of) this matrix to create the choices available in a "Basic combo box"?More explanation:I use READEXCEL to read a table from an Excel file, and get a matrix with column headers in the first row, and some other identifier in the first column. Can I put this matrix into a combo box, so that the user can select the relevant row for further calculations?RegardsHallvard
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.