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.
Questions tagged [mathcad]
48 questions
5
votes
2 answers
Conditionally Highlight a Variable
Is it possible to highlight a variable depending on its value?
e.g. automatically highlight this variable green:
variable = "acceptable"
but if it changes to:
variable = "unacceptable"
the highlight would change to red.

Gareth Fuller
- 328
- 2
- 12
3
votes
1 answer
Mathcad While Loop
Kindly can anyone guide me about while loop in Mathcad 15.
I have tried many tutorials but wasnt useful.
My while loop is very simple, code is written below.
k:=0
x:=8
while k< x
k <- k+1
k=0 // printing k after while loop, no results were…

user2257694
- 41
- 1
- 4
2
votes
0 answers
Antiderivative integral
Please tell me how to implement in python the integral shown in the figure 1 (or lines 18-19 in the code)?
Tried through sympy.integrate but failed - ValueError: Invalid limits specified: (20.665,)
import numpy as np
import sympy
from scipy import…

GJGUG
- 21
- 1
2
votes
1 answer
How to write partial derivatives in Mathcad
I am using Mathcad 14 and I would like to know if one can write partial derivatives in Mathcad. On the Calculus palette we just have the normal derivative symbol.

user11206
- 125
- 1
- 3
2
votes
1 answer
Mathcad to Matlab - white noise, fft and NPS testing
I'm trying to write simple function in Matlab to calculate and plot Noise Power Spectrum (NPS). First off I wanted to test if the algorithm I got from my teacher was fine and all. Here it is (it was made in mathcad)
So i tried to pretty much…

Warner
- 23
- 3
2
votes
1 answer
mathcad throws illegal context when range is multiplied
I can print out the range multiplied by some value:
Why can't I store the resulting range in the variable?
user3292534
1
vote
1 answer
Run a package to control a program inside flask
I'm pretty new in flask and I'm trying to build a web app that takes into account some inputs, and try to pass this ones to another function based on a package that overwrite inputs in a program (MathCAD). Basically for the web app part it's working…

Andrea Bemporad
- 11
- 2
1
vote
0 answers
How to fix the runtime error "-2147220992 (80040200)" while opening Mathcad file using excel vba code?
I'm trying to open a MathCAD application using excel VB code. But I'm getting a runtime error "-2147220992 (80040200)". I have an indication as Automation error. Add your comments to solve this.
Dim eWS As Mathcad.Worksheet
Set eApp =…

Ramyaa V S
- 21
- 2
1
vote
1 answer
Generate Kolmogorov-Chapman equations for Markov processes
I am looking for a way to generate Kolmogorov-Chapman equations for MathCad to solve Markov Chain problem.
Problem is to find probability of the system being in one of the states. System has N components.
I have a graph with 2^N nodes (states), and…

Rahul
- 1,727
- 3
- 18
- 33
1
vote
0 answers
One element array error
I use a VBScript component inside MathCAD.
This component has an input variable. When I put an array of several vectors 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…

Igor Fomenko
- 150
- 1
- 9
1
vote
1 answer
Find Variable Declaration in Mathcad
Is there a way to quickly find where a variable was initially defined/declared in Mathcad.
I'm working in a rather large Mathcad (150 pages get printed). I'll see an equation that is using variables declared in earlier sections however I can't use…

jeff
- 3,618
- 9
- 48
- 101
1
vote
1 answer
mathcad programming error :This array index is invalid for this array
I use mathcad program.
I want to have "sys_r" graph.
graph shape example below
I try a below programming.
But programming error occurred.
programming error!
Error is "This array index is invalid for this array."
I don't know solution.
Please…

remmy
- 21
- 1
- 5
1
vote
2 answers
How to write units in Java like Radian, Newton, Pascal, mm, kg?
I am developing a Java application, its about converting Mathcad worksheet to Java application. Can anyone know/suggest how to write units(newton, pascal, mm, kg)in java code?
Example:1?
double var1 = 10*newton/mm;//looking for a way to write the…

Vijay Vennapusa
- 169
- 3
- 15
1
vote
1 answer
mathcad / matlab 3D plot of transfer function
I have a problem plotting a 3D plot of my transfer function. In matlab I have tryed this:
[T,w] = meshgrid(1:1:32,1:1:100);
sys2=20*log((1-w.*(T./2)./w.*T).*(((2.56.*(w.^2)+1.6.*w+1)./(0.0008.*(w.^6)+0.0124.*…

user2886091
- 725
- 7
- 16
- 29
0
votes
1 answer
Mathcad how to keep symbolic answer
In Mathcad 15, I'm doing a simple test of the symbolic derivative for a resistor voltage divider.
Vout(V,R1,R2):=V*R1/(R1+R2)
d/dv Vout(V,R1,R2)-->R1/(R1+R2) <-- great!
But when I define all three variables, it instead evaluates it numerically and…

Aaron
- 428
- 5
- 14