Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
There is a problem with Prime8 in the way it assigns parentheses when differentiating functions - for example: This of course looks correct - but if you paste the answer into another equation - Prime8 erroneously assumes the leading differentiation applies to the remainder of the expression i.e.: So Prime8 should have given the original differential with parentheses assigned as follows : When deriving complex partial differential expressions (@SP_9781969) this defect is a problem. The workaround is to manually correct the results at each stage by inserting brackets at the right place - however, even this can be tricky as Prime8 conflates everything together and won't allow brackets to be inserted around the correct terms - so you have to cut and paste - and exercise that itself can inject errors further errors.
Tested a solution block in Part 1 of attached with scalar variables. Works just fine.However, when I change to column vector variables in part 2, I think that my element-wise array multiplication and division is not working out.Suggestions for correcting part 2 will be appreciated.Using Mathacd Prime 10.0.1.0.
Hi! First of all... I'm kind of a n00b in Mathcad so please bear with me. I am writing a sheet thats supposed to calculate resisting moment in concrete slab using vectors and matrices and some code blocks. Or I didn't write it... Google AI studio did 😕As you can see in the attached image and the attached file I', getting "Undefined variable" when trying to visualize the matrix, wich accoring to Google should work. Further down it will result in i a table the for export to Excel.As I'm pretty lost, and Google cant fix it (neither do ChatGPT) can you spot the error(s) 😉 I'm using Mathcad Prime 10.0.1.0 Best regards,Fredrik
Hi I would like to understand the solutions for the below queries raised by a user. Appreciate your help. Aligning of text boxes and formula boxes.Array for various values for same function.How to use if command to state design is safe or not. Usually, we need to green highlight if the design is safe and red if not safe.To add graph for considering various values and array and another function. Like SFD, BMD etc.Setting company standard template for page formatAdd calculation template for similar repeated calculation.Drop down menu similar to Excel.We are finding difficulty in adding unit as %Can we import more symbols such as “therefore”; “similarly”;How to add border for text box or important formula box.Adding table for various values for one function & how to Vlook-up from it?ThanksNaresh
I attached my MathCAD 9.0.0.0 file.The correct answer for the 1st part is...If , I get the wrong answer...If I remove the "min" units , I get the right answer......I don't know why it's doing that, but worst case, I can live with that. The 2nd part answer should be...However, it won't calculate the answer...There might be a problem with the variable Ct because before there was a box around just that variable in the equation. Now the box is around the entire equation.
Hi there , I have created this combi table ( the sheet is attached ) I want to use the result in a easy program .. like if the shape is square use this equation if not use the equation for round piles can you help me to do so? the easier program the better Thanks in advance
I'm writing a report in Mathcad Prime 11 and have an Excel file as appendix at the end of the Mathcad worksheet. The Excel file has been generated from within Mathcad and uses inputs defined in the body of the Mathcad worksheet.What I would like to do is globally define an output from the Excel file so I can use/reference it in the body of my report higher up in the worksheet than the Excel file.I have no problem defining an output and using it in the worksheet BELOW the Excel file, but I would like to know if there is some way of defining an output and using it ABOVE the Excel file. Is this possible?Thanks
I'm trying to stack two matrixes into a single text file. Screen shot of what I would like is in the file. Between the two files is a user defined combination of letters and numbers. obviously, the top For loop is not working right. There also seems to be an extra space in front of [INFO] in the text file. And there is an undefined character at the end of each line of the top matrix.
Hello everyone, Why is the mean function not giving me the average of my data? Am I doing it wrong?
HelloI am a newbie with regards to MathCAD in general and the Checkbox functionality in particular.Running MathCAD prime 11.0.0.0I just wonder if there is a convenient way of generating an array of checkboxes so that one make it simple to can "click on all that apply".Hope this is not too trivial..RegardsHallvard
Does anybody know the correct code for reading out matrix content with JScript in MathCAD when loading it through the API? This is the MathCAD simplified example in MathCAD Prime 11. This is the code in the button: Reading a matrix value like this works excellent when loading the Matrix as a normal input variable without API. Other API functions works fine, like for instance Worksheet.Output.GetValue("EampleNumber").RealResult
I have the excel in that some type are there for e.g. frame size and its W,A etc. is there, I am trying to create this in Mathcad when I type the frame name it will automatically shows the all parameters related to that how this is possible in Mathcad for this I am using lookup function if anyone done this in past or have any suggestion how to achieve this pls comment on this I also attached the sheet and excel file.
I have a mathcad 14 file made by someone else and I am having difficulty to get it to calculate properly I select 'Calculate now', 'Calculate Spreadsheet' and 'Automatic Calculation' and none of them actually seem to calculate. For a colleague it seems to work and we were unable to find the reason. for example, my colleague gets a plot here perfectly and I get this: what could be causing this? the file is attached
The MathCAD code generated by Chatgpt is pasting as text instead of Math input, and due to this issue it need to be manually typed in MathCAD. Is there any solution exist for this issue.
Once upon a time, when a whiteboard was bitten by a radioactive spider and mutated into Mathcad, I wrote several sequence generation functions. One of these functions was integers(a,b), which, given integers a and b, generated a list of consecutive integers between a and b, inclusive. Whilst updating my library of such functions to Mathcad Prime 11, I was emboldened by the idea of handling real a and b. Now, I could have gone the restrictive route and treated non-integer arguments as errors, but I decided to go with the flow and see if I could give some meaning to real inputs. All went swimmingly in my imagination - just restrict the output of the function to those integers lying between a and b. Until I thought about it for a few moments and realised that wouldn't work for certain cases - see the bottom of the screenshot below. Any ideas for how integers should handle such cases to give "meaningful" results? Or am I
Hello everyone, I hope you are doing fine!I recently calculated soil friction resistance force along subsea pipeline using Mathcad Prime 9.0.0.0.However, when I was inserting chart components to visualize the force along subsea pipeline, I got the message "This value must be real." in the chart component.Can someone please help? I attached the full calculation below.
how to write this variable in PTC Mathcad prime?
Hi 🙂How can I solve this equation f(a,b) = 0 ? Orange plot - f(a,b), grey plot is zero surface, so as you can see orange plot intersects grey plot 4 times, so there should be 4 solutions. Root() works fine, but by this method I have to change manually guess/initial values. Is it possible to get all solutions together for ex. in a matrix ?
I've been trying to port a worksheet to Prime 1.0, but have got stuck because, whilst recursion is supported, local recursive function definition is giving me a problem. How does one define local function f to be recursive in the attached worksheet? Does it work in Prime 2.0?Thanks,Stuart
If I type the equation using variables, Is there a way to get MathCAD to automatically show the values in the equation before it calculates the answer?For example, I set the variables...A:=4B:=3...then I type the equation...C:=A+B=...then MathCAD automatically adds "4+3=7" so it looks like...?C:=A+B=4+3=7...Then if I change the variables...A:=23B:=45...MathCAD automatically updates...?C:=A+B=23+45=68
In my attached program, I'm getting the wrong value. The A value should calculate 6.01 mm... However, MathCAD 9.0.0.0 calculates 15.77 mmI double checked my numbers and ran them through a calculator and I got 6.0086. I presume I have the wrong units somewhere, but I can't figure it out. I attached my program for review, or you can look at the screen capture of the calculations below. Thanks, Brent
I have the following boundary and an angle with the origin Pr and Mr are 1 x n vectors. I need to find, by interpolation, what is the value of Pr and Mr that correspond to the angle. what is the easiest way to do that on Mathcad?I am using Mathcad prime 9.0.0.0. Attached the file
I'm using MathCAD 9.0.0.0. How come MathCAD is unable to solve these simple equations?
See attached. I'm using MathCAD 9.0.0.0 and am having a few problems...Is there a way to put a bar above the variable Yf so it looks like ? I found something online about using the Windows Character Map and I can copy the bar symbol, but it won't paste in MathCAD.The last few equations are showing values with a long trail of decimal places following "explicit,ALL." Is there a way to limit it to displaying only 3 or4 decimals? I set it in "Math Formatting > Results > Display Precision," but that seems to have no effect.Alternatively, is there a way to break long equations to have them continued on the next line? The following values are off...T=19.76*10^3 and it should be 19,786 N-m. That's only slightly off.P=1.3*10^6 W and it should be 207,201 N-m/s(W). That's way off.HP=1.744*10^3 and it should be 278 hp. That's way off. Is that all because of a rounding error, Something I did wrong, or is MathCAD misinterpreting one of my variables?Thanks, &
In Mathcad 15, after selecting a portion of an equation with the spacebar, you could hit Insert on the keyboard to toggle between inserting before or after the selection. It doesn't seem to work in Prime. Is there a way to accomplish this, or do you just have to click closer to the beginning/end before hitting the spacebar?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.