Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
From my (very limited) experience, in the (if, while) loop, Mathcad doesn't allow := but only <-. I was just wondering how are they differ from one another. Thank you!
Hi All- I am attempting to model the first-order change of A --> B. The little programming loop below does the transformation of A to B in time steps of n just fine. The problem is I cannot view the A vs time data as is shown in the MathCAD document below. I know there are many other ways to solve this simple system, but getting this little programming loop to solve the problem is my goal.
Is there a way to fix this? I have a single-very large size of matrix(10 pages) and when I do anything within this matrix, it will start lagging.
How use Celsius here? Thanks!
I would like to create the digital double of the yo-yo toy Were is my error? See please attachs MC15 & Prime 5. Do you know someone? Thank you!
I would like to calculate multiple values under one if statement. Right now, the only thing I know about if statement is that I have to assign if statement to a variable and that means I can only do one variable at a time. Please see below. For this example, if I would also like to compute some other variables other than SF under condition that d<=1/4 in, without creating another if statement, what can I do? Thank you very much! Edit: clarify question
Hello All, I am generating values for DEFORM FEA software to determine a sinusoidal motion. My current method is to develop the function for my motion in Mathcad, then take the variable value and transplant it into Excel. From Excel I can copy and paste into my DEFORM table. I would like grab the values directly from Mathcad. Any suggestions would be appreciated! Thanks, Don
I am new to MathCAD and the following is what I would like to achieve. Would someone able to help me with this.
Hi everybody! Is there anyone who can tell me what to do (or how to avoid the error) when, (MATHCAD 14 S. E.) with automatic calculation disabled, while saving, appears: "A generic error occurred in GDI +" and I can no longer save the file?
What I'm trying to do is, I have a data for aluminum properties(shown below) where I want to be able to input/select alloy type, temper, and product for that alloy. Then I would like to be able to get the properties of that selected metal. This topic (their Mathcad looks very different from mine, idk why) have asked the same thing that I want(although, I have 3 inputs, while this topic has only one input) but the problem is that couldn't follow the steps in there and am completely lost. I'm very new to Mathcad and my Mathcad doesn't have any add-on(if that's needed), please let know what I need to do if I have to. Thank you very much!
Hello! I'm having trouble using the maximize function for 4 variables that I need to optimize. I'm using Solve Block, all the variables are defined and even then it hasn't worked.I'm sending the file in case someone can please help me.Thank you!
I have a lot of difficulties formatting documents in Mathcad Prime 6.0 in relation to hard page breaks, and I wondered if anone else had similar problems and/or solutions. I find that when I have page breaks in a document that regions can cross over hard page breaks. This can happen when you are editing in the document below where the page break is inserted. If you start at the top of a document and work through it, inserting page breaks and re-arranging regions as you go to get a well-structured document, when you go back to the top, you fing that everything is rearranged. Regions that were below the hard page breaks are now above, and there are large blank areas, or even pages. It also happens that the rearrangement can happen between a close and open. Very frustrating. Any suggestions?
References: How-to-add-things-on-top-of-characters-used-as-variable-names https://community.ptc.com/t5/PTC-Mathcad/subscripts-or-superscripts-in-text-mode-If-so-how-Thank-you/m-p/164974#M64648 Ref [1] intrigued me, so I played around with the fonts in Mathcad to see what could be done with strings. I was hoping to get a full character underline with all underlines at the same level, but the fonts don't seem to want to play my game. However, it is possible to implement some superscripts and subscripts in strings. In addition, the following control codes do something vaguely useful: HT (09), LF (10), CR (13) and NEL (133); the last 3 behave as newlines and HT acts like a fixed-size tab character. Naturally, I have a llllooonnngggg standing request for formatted strings in Mathcad, using something like a Markup code, HTML, RTF or (preferably) TEX (I'd also like to see an export to TEX option). I've got another worksheet in it
Hi, can anynone help me please?! I'm trying to solve this sistem of two couple differential equations but I'm not getting sucess. (I guess that the error is in the red highlighted in the second equation)
I don't want to display the result as fraction. I also changed the default to decimal but it doesn't affect. When i click it there is no result format that could be change. Someone have idea? (file attached below)
Hi, I am prepare spreadsheet for composite coating density, but I was tried to get result in to table format and no successful. So, I need help from all of you to put advise/solve problem. Appreciate your help. Aries
Mathcad 15 - an error. Prime 5 - a constant not function as an answer! See the attach and help me please!
Hi, I have a case in below snapshot is an extract of pipeline end expansion Mathcad spreadsheet calculation for determining the cold anchor point location highlighted in yellow. However for certain combination of input data, the calculated cold end anchor point location does not give the correction solution using the solver function when there are more than one intersection points at the cold end of pipeline as shown in the graph beside. Please can you help with a solution where the solver function for calculation of the cold end anchor location will output only the intersection point closest to the pipeline end.
Hello! I am trying to plot the picewise function (attached). Do I need to use "if" statement here or are there any other options? I think that it should be something like this: if 0<x<0.3 then y=2, if 0.3<x<0.8 then y=-((x-0.3)/0.5)+2, if 0.8<x<1 then y=1. Would anybody, please, help me with this issue? Best regards, Sergey
Hi PTC Community, I would like to find a solution and better understand of how I can define this type of equation and how to get the results for the arch height at different points. I am attaching a sketch for a better understanding. I thank you all!
Rosetta Code - String Concatenation https://rosettacode.org/wiki/String_concatenation#Mathcad Task: Create a string variable equal to any text value. Create another string variable whose value is the original variable concatenated with another string literal. To illustrate the operation, show the content of the variables Stuart
Added a Mathcad solution to the Rosetta Code Arithmetic/Integer task. https://rosettacode.org/wiki/Arithmetic/Integer#Mathcad Stuart
Like in theme. I can`t plot an ellipse in Mathcad.
When I learned about derivative, integral, acceleration and speed at school, I thought about it right away - see the picture.But didn’t you think such thoughts in your head?
Hi everyone, I´m programming a plate heat exchanger, the flow begin in single-phase and when certain conditions are met, it change to twin-phase. I write a while loop, it works and everything is correct. The first problem comes when I try to introduce some more line and assign a new variable name to it, it fails, I have to reuse a variable name already used inside the loop, it is not solved by declaring the variable outside the program, neither in the program but outside the loop or inside the loop. The failure it gives is the following "" Ldtoken, Ldftn and Ldvirtftn OpCodes cannot have DynamicMethod as their destination ". The second problem appears in the result array, certain variables fail when appearing together in the result array, only if there are two or more of them, one at a time they do not fail. I have observed that the variables that fail are those found from line 17 in the loop, the previous ones do not fail, and it does not matter if I previo
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.