Questions tagged [mathcad]

Mathcad is computer software primarily intended for the verification, validation, documentation and re-use of engineering calculations. The Mathcad interface allows users to combine a variety of different elements (mathematics, descriptive text, and supporting imagery) into the form of a worksheet, which is naturally readable.

48 questions
0
votes
0 answers

error LNK2019: unresolved external symbol cos referenced in function

I have been experiencing this issue for a while and I have not figured it out. I am not a programmer, I am an engineer that knows a little about coding so please be gentle. I am writing custom functions for MathCAD Prime and have used the examples…
amorenojr
  • 21
  • 3
0
votes
0 answers

How to plot a polar graph when converting MathCAd code to R

I have an example of MathLAD's code. One of result of this code is a polar plot. I have tried to rewrite the code into R (code is below). My polar plot is: Edit. After the Michael Bird comment I have fixed the code. Question. Could someone give…
Nick
  • 1,086
  • 7
  • 21
0
votes
1 answer

K nearest neighbors in Mathcad - what functions I can use?

I found the k nearest neighbours Mathcad implementation in M. Nixon's book but 'distance' and 'coord' functions don't work. How can I fix it? mathcad implementation
Anastasiia
  • 21
  • 4
0
votes
2 answers

Importing variables from mathcad to excel

I have a mathcad program with thousands of variables. Is there a way I can use Python or Visual Basic to loop over all the varibles in my mathcad program and then assign them and there values to an excel spreadsheet? A python method is preferred as…
Jstuff
  • 1,266
  • 2
  • 16
  • 27
0
votes
2 answers

Mathcad automatic conversions

Can someone tell me how to use value in degrees as if it was normal value? Example: x := 15deg `y := 4 * (x + 15) And I want y to be equal 120.
user5670001
0
votes
1 answer

Mathcad function definition cross reference

Hi I have a problem with the definition of functions. I have a function A that references to function B which uses function A from a previous iteration. here's my code thanks for helping me
0
votes
1 answer

What does this mathcad line mean?

A is a set of real numbers. Really confused as to what this line does. The numerator looks like its taking the subset of A that does not contain the smallest value. The denominator appears to be the range. How can you divide the resulting subset by…
user123959
  • 1,226
  • 1
  • 12
  • 29
0
votes
1 answer

MATLAB Runge Kutta Error using inline/subsref

Someone can help me with function A, why don't run? I can't understand the error, maybe bad write? because in B it's ok with graphic, check my method of Runge Kutta 2 Functions (f,g) and the original problem from mathcad sorry for my bad english
0
votes
1 answer

mathcad coeffs command, find coefficient of each variable at one shot

I have a simple function: w(x) := C1*cos(x)+C2*sin(x)+C3*cosh(x)+C4*sinh(x) I evaluate this at x=L and get: C1*cos(L)+C2*sin(L)+C3*cosh(L)+C4*sinh(L) Sometimes my equations are really long and complicated. I want to find coefficient of each C's…
nicomedian
  • 53
  • 1
  • 7
0
votes
1 answer

How to solve java issue of Mathcad Integration Node in ModeFrontier?

I'm testing the modeFrontier with a simple multi-objective optimization problem from ESTECO A simple multi-objective optimization problem The ModeFrontier gives random values to the input variables h and r but it can't get values for the output…
Adolfo Correa
  • 813
  • 8
  • 17
0
votes
0 answers

Mathcad to Matlab - random processes and NPS

I'm trying to convert a simple Mathcad file into MATLAB script but results I get are just weird. Is there some kind of difference in rand functions? Am I forgetting something essential that differs those two environments? This is how the Mathcad…
Warner
  • 23
  • 3
0
votes
1 answer

How to create a function in Matlab or Mathcad for combination of all elements betweeen three sets

I have a problem with certain issue. So, I have a three sets with four elements, e.g.: [r11, r12, r13, r14] [r21, r22, r23, r24] [r31, r32, r33, r34] I need all combination between these elements. But always each of this elements in particular sets…
Jaumenik
  • 33
  • 6
0
votes
1 answer

Mathcad 14: "pattern match exception" when solving equation with more unknowns

I'm trying to solve an equation with 5 unknowns in Mathcad 14. My equations look like this: Given 0 = e 1 = d 0 = c -1 = 81a + 27b + 9c + 3d + e 0 = 108a + 27b + 6c + d Find(a,b,c,d,e) Find(a,b,c,d,e) is marked as red and says "pattern match…
user3158254
  • 21
  • 1
  • 4
0
votes
1 answer

I am trying to pass values from VB Script back into a mathcad worksheet but the script is failing to create the worksheet object

Can anyone tell me why the activeworksheet object MCWS is not being created by the following VB Script please? It is the code for a combobox in a mathcad worksheet. Thanks Public Sub SizeBoxEvent_Start() Dim objEX Dim objMC Dim MCWS Dim…
-1
votes
1 answer

Mathcad logarithm with units

I'm learning how to use Mathcad and its symbolic engine, and it's pretty good. But I've encountered a major drawback, while working with units. ln(2)=0.693, performing the natural logarithm on the integer 2 returns the expected result. ln(2*s)=…