I've a problem to solve such equations, one unknown variable, but infinite solutions, it seems mathcad only return the first one, anyone can confirm this ? And how to handle these equations in MatchCAD?
Thanks.
I've a problem to solve such equations, one unknown variable, but infinite solutions, it seems mathcad only return the first one, anyone can confirm this ? And how to handle these equations in MatchCAD?
Thanks.
I have to create a program for Euler's method. This is what I have so far. Any help would be appreciated.
Hi, I don't understand why it doen't calculate... Variables are okay, so why mathcad says that variables are undefined..Can someone help me?
I'm trying to process a set of data that I have for limits generation. I am using MathCad to validate some limit generation algorithms that we will be using in a software tool that we are developing (no relation to Mathcad).
So, I have a problem:
The summation function only seems to work on matrixes and tables of less than a certain size:
If I define y_n to be a subset of the tables that I have, I get a summation. But if I try to sum an entire column, I get the error you see.
I have tried using a for loop to manually sum the elements of the table, but I get the same result as above. I will also get an error if I set the range variable n (in the screenshot above) to be 0...20 (or greater).
What am I doing wrong?
Source: Отладка сложных документов Mathcad 15 (rus)
Idea: We use trace() to get the call tree.
Errors can be found in the Trace Window:
Hello Everyone,
I have a complex problem to get solved in the best way of approach.
I have attached the worksheet with my requirement.
I'm using MC version 15.0
Kindly help me.
I'm a regular user of Mathcad for more than 15 years, and I'm really pushing hard to get more engineers to use it instead of Excel. Recently I started to work on a fluid solving software that allows you to expand its component library using Excel add-ins. I managed to convince the developers to create a similar interface for Mathcad using the API. This works, but it slows down the flow solver tremendously.
Does anybody perhaps know why it is so slow, or how to speed things up?
The developers found that the "GetValue" call does not always succeed, so they had to keep calling "Recalculate" until "GetValue" suceeds. This will definitely slow down the process. Also, my suspicion is that a lot of the processing time is to update the visual display of the Mathcad woksheet. Any way one can "switch off" the graphics but still keep the Mathcad object alive?
I'll really appreciate any comments. I would hate to traslate all the Mathcad work into Excel just to get a faster solver...
I feel like this may be a simple question to answer, but I'm having a hard time finding a solution on my own, so hopefully someone can help me with this.
I've been exploring symbolic/explicit calculation for a short while now, but keep running into a wall when I want to display the solution to a max or min function as the actual variable and not the numeric solution. What I keep getting is:
a:=1
b:=2
c:=3
min(a,b,c) -> min(a,b,c),
min(a,b,c) -> min(1,2,3), or
min(a,b,c) -> 1
What I would like to be able to see is:
min(a,b,c) -> a
If someone could point me in the right direction as to what keywords to use to achieve this, I'd really appreciate it.
I need to do some nested if statements for conditional programming and I cannot figure out for the life of me how to nest if-statements using the programming toolbar. I am in Matcad 14 and the "add line" button just adds if-else if statements, I need to nest. All the "add line" option does is just add another line on the same logic level. Is there a difference between if and conditional if?
I posted a flowchart of the basic program logic. (Ignore the red lines, that is just my spell checker)
I am trying to write a for loop that will take values from two different matrices and create one 2x1 matrix and one 2x2 matrix. The purporse of the 2x1 and the 2x2 is to take the inverse of the 2x2 times the 2x1 to solve for 2 unkown variables. The matrices that are being pulled from are 15x3 originally. I am assuming one of my 3 unknowns to be equal to 1 and therefore enabling me to solve two equations for two unknowns simultaneously. I am using mathcad prime 2.0 to do this. I will attach a worksheet showing what I am trying to do. At the bottom of the worksheet is an italicized section named "Solve for Un-Normalized Force Vector". I have it done for one set of values but dont want to have to go through and redo it 14 more times to get my results. I am new to programming loops and such so I am trying to teach myself as much as possible.
Any help and suggestions are much appreciated.
Dear all, my question may be silly, but please help
I have 3x10 matrix. I want it as 3x1 matrice ie. 10 singular matrices Is it possible in one step ?
I need to do some nested if statements for conditional programming and I cannot figure out for the life of me how to nest if-statements using the programming toolbar. I am in Matcad 14 and the "add line" button just adds if-else if statements, I need to nest. All the "add line" option does is just add another line on the same logic level. Is there a difference between if and conditional if?
I posted a flowchart of the basic program logic. (Ignore the red lines, that is just my spell checker)
Hey
I'm kinda new to Mathcad, but it works ;D
Now I'm wondering if there is any possibility to use "on error" programming. (see attachement)
I want to return "1" if the match function found at least one zero element in a collumn of the given and "0" if not.
"0" won't work because of the error message by Matchcad.
The example is in German, so here the commands in English:
vergleich(z,A) = match(z,A)
And my own procedure: istNullVorhanden="isAnyZeroElement"
I use Mathcad 15. I also try to find a clue in previous community entries, but I only found the statement that "on error" programming is a way for the match() function.
Thank you for every help ♥
Hiya,
Is it possible that I could use shift registers instead of for loop in mathcad.
Thanks.