Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
Hi,Trying to extract/ pass data to MathCAD 15.0 using Vb.Net (VB 2010- Dotnet Framwork 4.0).We are trying to pass 2 values (“A”, & “B”) from Vb.Net to MathCAD and then performing a simple calculation of (C=A+B) in MathCAD and extracting the value of “C” from MathCAD back to Vb.Net.The project was developed as per the documentation available; but there seems to be minor issue in reading data from MathCAD.Sample project and test MathCAD attached. We will be thankful if someone can respond to our query.Thanks
Hi, I have an extensive table with 5 columns (0 to 4) and more than 1000 rows! I want to select the values from dorp down lists for the first 4 variables (each variable in one of the first 4 columns). Then I want to find the row that contains all the exact values I selected previously so to find the value of the 5th column (4) at that row (the row with the exact values). No row in the entire table repeats. Attached is the table in an excel file I will be using. I would like to be able to select the Height, Width, HFX Condition, Bolt Diameter and then get the corresponding Seismic Allowable Shear value. Any ideas? Thanks!
Hi I was trying to develop a function to calculate flow depth in D-shaped Tunnel. My attached sheet calculates correctly for First Tunnel section. However for second tunnel, It is giving wrong result. In fact it is not changing parrments of tunnel, which I intend to. please have a look at attached version 14 File. Thanks in Advance A. Prasun.
Hi, is there a relationship or compatibility between Mathcad Prime and Matlab? Which one is better for programming, setting equations, algorithms and displaying charts? (3Ds, pies, etc...)
I have noticed that both in the older versions of Mathcad, as well as the new Prime versions, there is an issue when using both feet and inches units in a worksheet. It appears that in mathcad 1 ft is not exactly equal to 12 in (if you evaluate ft = 12in, the return vaule is 0). I am assuming that this is a result of 1in being equal to 0.08333333333 ft. This can become an issue when using the rounding functions when things are evenly divisible. For example, 10 ft / 12in calculates to 10.000000000000002. If you were to evaluate ceil(10ft / 12in) the result would be 11 NOT 10. Is there any way to resolve the internal threshold/rounding issue?
Hello Community, i am new here and also new in Mathcad. I have the following task to solve and i dont know how to do it. I guess its just possible with programming well maybe someone can help me. In the attached sheet i have some equations and i want to solve one particular thing. If i set number for kf, than i receive a curve (kbges(tw)). After that i am looking for the minimum of this curve and thats it. But what i wanna do now is, to set kf as a variable that my minimum for kbges equals to 255 (kbges=255). So what i want mathcad to do is: set for example kf=26 , calculate kbges and if the minimum of kbges doesnt equal 255 it shall set kf=27 and so on. I dont know how to programm it but i think it should be possible ? I tried everything. I set kf as a range variable form 25,25.001...40 but it doesnt work. I set kf as a vektor well...the same. I tried to do it with slope ...read all help sheets but couldnt do it.... Than i
Hallo, ich möchte eine OLE-Automatisierung in Java für Mathcad (ab Version 11) realisieren. Das senden der Daten über "SetComplex" klappt ohne Probleme, das auslesen der Daten mit "GetComplex" bekomme ich jedoch nicht realisiert. Dazu habe ich mit der JACOB-Bibiothek die Schnittstelle realisiert und folgenden Programmcode geschrieben:import com.jacob.com.*; import com.jacob.activeX.*; public class DispatchTest { public static void main(String[] args) { ActiveXComponent xl = new ActiveXComponent("C:DispatchTest.mcd"); //Pfad des Testprogrammes, wo die Addition von in0 und in1 durchgeführt wird Object xlo = xl.getObject(); Dispatch.call(xlo, "SetComplex", "in0", 10, 5) ; Dispatch.call(xlo, "SetComplex", "in1", 7, 2) ; Dispatch.call(xlo, "Recalculate") ; //In der Mathcad-Vorlage wird nun in0 + in1 = out0 Variant RealPart = null; Variant ImagPart = null; Dispatch.call(xlo, "GetComplex", "out0", RealPart, ImagPart) ; } } Als Fehlerbeschreibung bekomme ich einen Typenkonflikt, oder einen Nul
Hello, In the attached file, the function p4(d,y1) calculates for a large set of parameters. Unfortunately, my Mathcad version does not support WRITEEXCEL routine to export and store the results. Currently I have to wait for a long time and if something intrrupt the calculation, I lose all the calculated data. Could you please suggest a better way to handle the outputs? I also appreciate it if you make some advices to speet up the calculation time. All the best, Payman
I have a non-standard 2 point bvp. The endpoint is not known but needs to be determined as a condition on the forward problem. Then another condition needs to be satisfied at the end point. Presumably one way to do this would be to solve the foward problem step by step until the condition to determine the endpoint is met but this does not seem a very good use of the ode solvers. A worksheet that describes the problem better is attached.
Good morning Can anybody explain me this (see screenshot)?After the "=" in the matrix I see what are the right units (which are no units for the last 2 elements). But when I try to use them later, it looks as if the last 2 elements are in m. I attached also the mathcad file. I use Mathcad prime 3.1 Thanks
Hello to all, I've already look a lot in the forum, but I just couldn't find an answer to this, I guess, simple question. I have a matrix like this: I want to extract the data from the fifth line of all the {5,1} and throw it in a different array. I have tried using Ctrl+6, but with no success. The second point is that I want, then, to create a 3D plot with the results. Anyone has a hint on how to accomplish these two matters ? Thanks in advance, Ricardo
We have created some windows programs to control input-Vars in prime 3.1 worksheets. This worked fine for Version 3.1 but not in 4.0: Mathcad prime crashes after sending some input vars. The error message refers to a corrupt heap. The automation dll of version 4 was referenced. To verify the issue between Mathcad 3.1 and 4.0 I have created a worksheet in Mathcad 3 and imported that to Mathcad 4. I have also created two client-applications, one referencing automation dll of version 3 and the other to version 4. The line ClientApp3+Mathcad3 worked fine and ClientApp4+Mathcad4 crashed. The worksheets had identical content. Is there a bugfix available? Mathcad Prime 4.0 Version: F000 (2017.02.26.001/4.0.0.54)
[Issue Report] Some areas is damaged and cannot open in MathCAD Prime 4.0 M010 I just put some equotions in these areas. The mathcad file has error after i save the files and open it again, the error picture like these: And the error reason in log file is: "An unrecognized structure in the data format "XamlPackage"." I can't fix the .mcdx file, how to avoid this problem? Error sample file and log file in attatcmnent:
hi all, I have some parameters followed by some calculations. When i change a paramter above, the recalculation throws an error (circled by red box). I have to "disable" then "enable" the calculation region to get it to recalculate without error. what can i do to get the sheet to recalculate properly?
Dear all, I have to solve a nonlinear system of equations. y1 = a11*x1 + a12*x2 + x1*x2... y2 = a21*x1 + a21*x2 + x1*y1... And so on... So far, so good, solving the system is a piece of cake with Mathcad. But the thing is I want to solve the system for different values of, for instance, a11. I want to solve the system for a11 = 0,1 then store the result in a matrix, then for a11=0,2, store it, then solve it for 0,3 ... Here is where the problem starts since I'm having a bad time trying to use solve block inside a "for" loop (each iteration modifies the value of a11). Is this possible ? Are there any examples out there ? Any other options ? Thanks in advance.
I try to get formula for ellipse area in polar coordinates. I've got it but symbolic result is wrong. I can`t understand why? One more example with strange behaviour
I set all the interfaces property to "Middle", but the results is still different between TAE automatic cacultation and MathCAD manual caculation, what kind of influence does interface makes to the caculation process? Would you mind tell me the fomula? (In this picture, you can see the results is different between TAE automatic cacultation and MathCAD manual caculation)
I have inserted a Table in Mathcad Prime 4.0. If I select this table and want to move it within the sheet (select it twice to make it blue) the Table jumps to a region some 100 pages further down. Am I doing something wrong? Wybe
Hi! I want to simulate the accuracy of the Euler-Polygonzugverfahren with MathCad. The allgorithm is a numerical approximation which the accuracy depends on the variable "n" with a programmed recursive function of the velocity. (I'm not that familiar with programing) Now my problem is: How can i display this function for n=6,10,20 timesteps in one diagram to visualize the accuracy? Thanks in advance.
Good Evening Mathcad Community, About a week ago the following people have been help me with programming from translating Matlab into Mathcad on Wilson Theta Method, Werner, FM and Jamie. Now that the problem is solved, I'm trying to read in matrices Mass matrix, Stiffness matrix, Damping matrix and an external force vector into the function but get comfused with the n by n matrix into the function. Would any member of the community please see what I'm doing wrong and help me the code is below the function. I have followed Werner's work on previous worksheet. If I get this to work my goal is to solve the problem below the function on dynamic analysis for foundations. Please attached.
Dear fellow Mathcad users, Please see attached screenshot, I am trying to find Variable rT (top row) for a given value of rR (left hand row) and a second variable called S (the numbers in the body of the table). I think the solution will be found by initially creating a submatrix that is one row high based upon the variable in the left column, and then outputting the variable in the top row based on an interpolation of the new submatrix. I am trying to get to that solution, but my efforts are so far in vain, (I have been trying to adapt the Mathcad example attached to my needs but no success yet). Note that I want to linerly interpolate, and not to generate a spline. Any help on this would be much appreciated. Best regards, mrretsil
I use a 3D plot VBscript component inside MathCAD 15. This component has an input variable. When I put an array of several vectors (or matrices) as input variable all is OK (VB gets it as Variant and I can loop over its elements). But when the input variable is an array of only one vector (or matrix) VB gets it as Double and the value of this double is -1.#QNAN. So I can't use input variable for the next calculations.Please see attached file for reference.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.