PTC Mathcad is Engineering Math Software That Allows You to Perform, Analyze, and Share Your Most Vital Calculations.
Recently active
Hello all, I am having some issues with Global Definitions. I am trying to define the following: kJ = 1000JWhen I do this, Mathcad (7.0) accepts the input, but the "kJ" stays black. It doesn't turn blue like other definitions I have used in the past. I am using a wrapper for REFPROP, and the author has the same definition in his worksheet. If I copy that into my worksheet, it works fine. But creating my own definition from scratch doesn't seem to function properly. Thus, when I make function calls for fluid properties in kJ/kg, i.e. enthalpy, the units are not correct. See the screenshot below. What's the difference between these two? How do I make my global definition like the one above?
There is one more calculation to be performed based on the interperolated values. However the value of appears to change after the calculation of . I do not understand why? Any suggestions. Thanks.
I'm just trying to make a vector from a function so that I can export the valuesHowever MathCad Prim 8.0 give the error "This value must be a scalar or a matrix". Why???Needless to say, not having the ability to just select all values from an array and copying and pasting, like it was possible in MathCad 15 is really, really annoying
The development of a famous polynomial p(x) of degree 45 has already been discussed here. Now I searched further and found Vieta's approach to the ingenious determination of the zeros. His approach, identical to p(x), is p(x) = 2*sin(45*arcsin(x/2)). Mathcad 14 fully develops this. But I fail to get the usual polynomial structure to be able to compare it with the classical default. What am I doing wrong in attached file? Kind regards at Christmas time, Alfred Flasshaar
It wont install. The installation package will download, I give permissions to make changes to my computer, the extraction happens, a spiral comes up on my cursor, then nothing happens. I have windows 11, other windows 11 users I know are having the issue but those on Windows 10 are not having problems. Has anybody else experience this or have a solution?
Hello,As shown in image I am trying to calculate temperature change. I think units are compatible but mathcad does not allow calculation. What is my mistake, I could not find. Could you help?
I have a german installation of Prime 7. As I work for an international company, we use english in our documents. When I input text, the spell check always switches to german. So I have to manually format every text to english. How can I force MathCad to spell check in english as default?
I implemented a solve block, which worked with Prime6. Now with Prime7 it does not find a solution anymore. I reworked the problem using a simpler function to make it easier to understand and even this easy equation is not solved. Unluckily I have a new computer for some weeks, with a completely new installation and only have Prime7 installed.Both versions of the solve block do not work. I know, that the equation could be solved easier, I just used the solve block for demonstration (see attached SolveBlock). In my application the function is much more complex and it worked with Prime6 (SolveBlock_original).
How to get determinant values for matrix in the terms unit vectors along the x-axis, y-axis and z-axis respectively i.e i,j,k
I am trying to set up a worksheet something like this (full size image attached)I have a number of issues which I don't think can be solved, and which mean that Mathcad is not the right tool for this particular project. However, I am posting this to see if anybody can persuade me otherwise.Firstly, the two combo boxes (each with the same 200+ rows) cannot be populated through code, only by pasting values or entering values manually, one by one. The source data for the combo boxes comes from two columns of an Excel workbook. For the time being I am only working with the first combo box. I have had help with this aspect but in my opinion Mathcad should have a way of populating a combo box via code.The idea is that when a different acid is selected from the combo box, the plot and/or chart component are automatically updated. This is working as far as the plots are concerned (i.e. both the native plot and the chart component automatically reflect the changed
I would like to create a series of nested If statements to calculate kp_figure for Multiple values of Θ (120, 110. 100, 90, 80, 70, 60, and 50), with a secondary If statement for each value of Θ as shown in the calculation for Θ =120. Any assistance would be appreciated.
Please call me as the product installer for math as 8 will not work.Thank you,Roland Diaz
I need to install full version PTC mathcad. The mathcad license was transferred on 12-07-2022
Edit: Possibly solved? That was quick... See bottom. How can I use a relative path when including reference worksheets? The documentation suggests it is possible: "By default the include region displays the absolute path to the referenced worksheet. You can edit the path and make it relative." I am collaborating with colleagues on a number of worksheets that include references to other worksheets. These are documents that 3 of us access and edit. We are currently using OneDrive, but the issue would remain even if all documents were emailed around. The "Include: path" changes, but all worksheets can exist in a single parent folder, or even a grandparent folder (which should work with a proper 'relative setup') I have tried various ways like: ../ or ./ or / or //https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats I have found some ancient* threads discussing and confirming this ability as far back as 2004, but nothing new, or recent
This month’s challenge is around field goals in American football. Create a Mathcad worksheet where you calculate the following angles from a given line of scrimmage for making a field goal: The horizontal angle between the left and right field goal posts (18.5 feet apart). The vertical angle between the horizontal bar of the goal post and the upper height of the goal post arms. How can you show how those angles change as a function of the line of scrimmage? Factors to take into consideration: Assume the football is kicked from one of the hash marks (offset from the center of the field) and 7 yards behind the line of scrimmage. The goal post is located at the back of the end zone. The horizontal bar is 10 feet above the ground and extend another 35 feet. For this exercise, the football must pass through the box defined by the goal post. American football uses yards, feet, and even inches, so you might want to take advantage of units in Mathcad. Bonus: Can your worksheet hand
I have a text file with comma delimited numerical data. I read it in to the "ld" table and then have a program to parse through and build a matrix from the data (data file attached). My questions: 1) Can I replace the "11" in my for statement with something like "length of (ld)" so my code works when I change the number of rows of data? 2) Is there a way to build the Ypos matrix without using the intermediary Yp matrix? I know Ypos is only defined inside the program - but is there a way to make it "global" or such? 3) Is it possible to populate 2 different matrices with 1 program? So my code would create both a Yp and a second matrix? If my code creates a Ypos and Yneg how would I pass both of them out? thanks,relayman357
If I copy several rows of code from a program, and paste them in I get an extra "indention" set of double bars. I want the pasted code to have the same "level" as the code in which I'm pasting it.
Hi, I was doing some calculations using Prime 7 and Excel through macros. Basically, the program passes some values from Excel to Mathcad to calculate and the results are printed back to Excel. It worked fine. I recently formatted my laptop and installed Prime 8. I am waiting for the license so, in the meantime, I am using the 30-days trial with full functionality. I tried to use the same Prime-Excel program but it shows the following error when I run the macro: "User-defined type not defined". I have the Ptc.MathcadPrime.Automation.tlb file to VBA, as shown in the attached image. Is there something I am missing? Maybe this functionality is restricted to users with license? Thanks!
Hello,I am trying to insert a bitmap image into the header of MathCAD 15, its size is about 124kB. Could someone assist me with it ? I get an error saying the tool is unable to read the file.Thanks!
Illustrative file attached.
None of my printer options are available in Prime 6.0, is this normal? This is what I see in Prime 6.0: These are the drivers on my computer: I would expect Adobe PDF to show up in Mathcad too. I see this article from PTC "How to create PDF of worksheets from Mathcad and Mathcad Prime", but is that really the only solution? Export to rich text > open in rich text editor > print to PDF cannot be the only workflow (i.e., 3 steps involving 3 different applications every time I want to print to PDF - what!?) I tried repairing and reinstalling Mathcad and Adobe, but Adobe PDF driver still does not show up as an option. Does anyone know if printing directly to PDF is supported in Prime 6.0, and how to fix it if it is?
Hi everyone,I trying to program conditions to solve the calculate the settlement which is base of some conditions but i could not, every trial has a new wrong outputs or errors, I will be thankful for your help if possible, - if initial eff. stress equal to pre-consolidation stress then use eq1 thanotherwise check ifinitial eff. stress bigger than pre-consolidation stress AND init. stress + changes in stress smaller than pre-con then use eq 2other wise check ifinitial eff. stress bigger than pre-consolidation stress AND init. stress + changes in stress Bigger than pre-con then use eq 3 then use eq2 than
I am trying to get a control looking something like this (from another piece of software) The nearest I have been able to get is this And even this is showing an errorI have a feeling that what I want is not possible but it would be great if I could be proved wrong!
I'm having trouble getting a minimization function to work for my HETP graph.
This works just fine in a fresh worksheet; however, in my more complex Ballistics worksheet, I get the following error. Both worksheets are attached.Even if I close and reopen the ballistics worksheet, the problem persists.😫Thanks for any help.Reg
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.