Quantcast
Channel: PTC Community : All Content - PTC Mathcad
Viewing all 3331 articles
Browse latest View live

defining a variable

$
0
0

hello im solving the equation at the end .But i dont want that unknown variable to be marked in red colour how to solve this problem.


Copy & Pasting large data tables into MathCad

$
0
0

Hi all,

 

I have built a calculation sheet that is dependent on some rather large data tables. I have used the Insert > File Input method to reference these tables. This works fine for building the sheet, but once I distribute it to 100+ engineers, I feel like there will be an issue with having to lug around several data tables.

 

I found a semi-solution on here that mentioned defining a variable, and copy-pasting the table there. However, this makes the data tables cumbersome. It's also messing up my vlookups.

 

Is there a way I can integrate these tables into mathcad the same way one would with a insert > file input method, but without having to become dependent on external files? Perhaps there is a way I can integrate the data directly into my mathcad sheet?

 

Thank you.

 

-jw

Mathcad 15 to Mathcad Prime 3 Converter

$
0
0

Hello,

I am completely new to this forum and I have 2 questions. I tried searching the discussions

for the answers but I was not able to find the complete answers.

Please excuse me if I missed something.

 

I would very much appreacite it if someone could help me with the following :

 

1. We recently started using MathCad 15. We soon realized that we needed a 64 bit version of the tool.

According to what I read, I understand that MathCad 15 cannot be invoked in 64 bit more.

Is this correct ?

 

2. To solve the problem above I installed Mathcad Prime 3 on the computer which also has Mathcad 15.

Both versions presently coexist on this computer. I tried loading an xcmd file into Mathcad Prime 3 and

got a message saying that I first had top convert the file to MCD format using the converter button on the

the Input/Output tab on the ribbon. Unfortunately, this tab is DISABLED (not highlighted) and so I cannot

invoke it.

I read in one discussion that for this to work, both Mathcad 15 and Mathcad Prime 3 had to be installed on

the same computer. This is exactly what I have.

I would appreciate it very much if someone could explain to me how to overcome this problem.

 

Thank you so much for all your help,

 

Goel

Equation variable depending

$
0
0

Hi

 

I have a main equation formed by a sub equation with two variables of interest (AA and BB), plus a third (D) that can not be cleared, so I solve by iteration with the help of the Given and Find commands.

 

My question is whether it is possible to direct the main equation as a function of AA and BB, and according to the values ​​that take these, calculate the variable "D" per iteration. Attached is an example for clarity of the problem I have and what I want to do.

 

Thank you

Forwards and Backwards Compatibility with Custom Functions

$
0
0

We have previously built a MathCAD wrapper for the CoolProp (www.coolprop.org) library of fluid properties.

 

I am rebuilding the wrapper for the new version of our library, and I was wondering what versions a custom function built for Prime 3.0 would be compatible with.  Would it be compatible with MathCAD 15.0?  Has the ABI changed since 15.0?

Can I distribute MCADINCL.H and mcaduser.lib?

$
0
0

I am building an updated wrapper of our library (www.coolprop.org) for MathCAD. 

 

My question is very simple.  Am I allowed to include MCADINCL.H and mcaduser.lib in my source code repository according to the MathCAD license terms?

 

I would rather not have to deal with finding the right path for these files at build time if it can be avoided.  We use CMake, so it is possible to find the right path if needed.

Operations with Excel tables

$
0
0

Hello everyone

 

 

I'm trying to extract values for certain variables from multiple tables based on a data table to perform operations with the values of interest.

 

Attached is a file in which I show what I try to achieve

 

 

Thanks in advance

Templates in Mathcad Prime: one article


symbolic evaluation not evaluating symbolically

$
0
0

I am working through this tutorial (from this site), using Mathcad Prime 3.0, F000  The thing that is driving me absolutely crazy is tha tI can't get it to solve symbolically, like the tutorial says it should. 

 

I am trying to do this problem:

discussion-question-1.JPG

However, when I insert the symbolic operator, this is what happens:

discussion-question-2.JPG

 

Why am I getting a numeric solution instead of a symbolic one?  It's especially frustrating since one would thing a PTC-supplied worksheet would, you know, work.

 

Any input is appreciated.

Thanks.

Double integreal calculation, unknown error

$
0
0

Hello there,

 

I have try to calculate a volume of a torus, and for that I use a function of z and two integrals, but I got error "unknown error".

 

I believe my formula is right, also expression.

Capturar.PNG

 

You can check attaeched document.

 

It works in cylindrical coords, but I also have to calculate in cartezian . What I'm doing wrong?

 

regards, LL

PTC Mathcad Prime Worksheets Directory - Electrical Engineering

$
0
0

Full list of worksheets

 

Full topic list

 

 

Want a free copy of PTC Mathcad Express? Download your copy today.

 

 

Collection of worksheets:

 

 

Worksheets marked with use PTC Mathcad premium features, otherwise they are Express compatible. All worksheets created in PTC Mathcad Prime 2.0.

 

 

Worksheet nameDescription
Calculating Fault Current Magnitude in MathcadThis worksheet shows you how to compute bus faults on power systems. Most faults in power systems occur at points on the line some distance away from the substation bus.
Load Flow CalculationsThis worksheet using PTC Mathcad shows you how to describe the network for a five-bus power system, using a matrix containing the transmitting and receiving bus numbers, the series impedance, and shunt admittance.  You can also capture shunt data and bus data in matrices.

Modeling of SAW Delay Lines

This worksheet using shows how you can use Mathcad to model SAW sensors in aerospace vehicles. The lack of support for transcendentals within the Differential Algebraic Equation framework prevents the use of the frequency domain analysis in analog extended Hardware Description Languages (HDLs).
RLC Circuit AnalysisThis worksheet using PTC Mathcad includes an example of an engineer designing a hi-fi speaker that must meet a certain frequency response. The horizontal trend must be over the whole spectrum of the audible range with a tolerance of +/- 1dB.
Theory of the Capacitor revisedThis worksheet will solve a common 2-circuit physics problem to determine charges and energy, keeping in mind the Reciprocal System Theory and the conventional theory.
Three Phase Power System in PTC MathcadThis worksheet discusses how to find the power distribution and parameters for power lines. Unbalanced power systems require analysis by the method of symmetrical components.

PTC Mathcad - All Worksheets

$
0
0

Free PTC Mathcad worksheets are available for individual download below. If you would like to purchase the entire collection on a CD or single download, please visit the PTC e-store.

 

Want a free copy of PTC Mathcad Express? Download your copy today.

 

New Users to PTC Mathcad:

 

Explore worksheet categories:

 

Explore worksheet collections:

 

Explore publications:

 

Explore custom functions:

 

Worksheet Libraries available for purchase through PTC e-store.

Worksheets and custom functions available to active Global Support customers.

 

Many of the worksheets available for download on the community site have PTC Mathcad's read and write functionality within them. These regions will be flagged with a error upon recalculation of the worksheet if the files are not downloaded, saved, and referenced correctly. Download How to Ensure Your Filepath is Correct.

 

Worksheets marked with use PTC Mathcad premium features, otherwise they are Express compatible. All worksheets created in PTC Mathcad Prime 2.0 except where indicated.

 

 

Worksheet nameCategoryDescription
Analyzing Process CapabilitiesMechanical EngineeringThis worksheet using PTC Mathcad takes a normal distribution to represent the amount of products lying outside the tolerance limits.
Applying the Momentum Equation to Determine Water Depth between Bridge PiersCivil EngineeringThis worksheet shows the application of the momentum equation to determine the water depth between bridge piers. For this problem, the pier width, upstream depth of the river and velocity, and the drag coefficient of the piers are given.
Balancing the pH Balance and Composition of Two Chemical SolutionsChemical EngineeringThis worksheet first lists the equations necessary including the mass balance on Na and the charge balance. Next the worksheet identifies the proton condition and lists the terms of the given and unknown elements.
Bearing Capacity and Maximum Load of a PierMechanical EngineeringThis worksheet shows you how to calculate the bearing capacity factor for a specific pier, and then uses this calculation to find the maximum load of the pier.
Building Structural DesignCivil EngineeringThese worksheets solve typical problems encountered in the structural design of buildings.
Calculating Fault Current Magnitude in MathcadElectrical EngineeringThis worksheet shows you how to compute bus faults on power systems.Most faults in power systems occur at points on the line some distance away from the substation bus.
Calculating Force on a Truss Connection JointMechanical EngineeringThis worksheet using PTC Mathcad helps you to calculate the force and pressure on a connection joint within the specified dimensions of the joint for a particular material, and under particular trusses and weld lengths.
Calculating the Tensile Stress and Tensile Forces in the Bolts of a Flange PipeCivil EngineeringThis worksheet using PTC Mathcad looks at a problem where a portion of a pipe containing two discharges is bolted to the remainder at the flange and is interested in solving for the tensile forces in the bolts at the flange required to hold the pipe in place.
Calculating Volume of a Pressure VesselAlgebra & GeometryThis worksheet teaches you how to calculate the total volume of a chamber given the various geometries. An Excel component object allows you to specify the diameters/heights of the chamber at various points.
Calculating Water Amount for Borehole DrillingChemical EngineeringThis worksheet finds the particular amount of water in the air on an air drilling operation from thermodynamics, to be injected.
Choosing a Cam-Type Clutch to Drive a Centrifugal PumpMechanical EngineeringThis worksheet using PTC Mathcad shows you how to properly choose a cam-type clutch to drive a centrifugal pump.
Comparing Air Pressure and Elevation for Air Volume CalculationsCivil EngineeringThis worksheet shows you how to compare the air pressure versus elevation when calculating the air volume in an air and aerated mud drilling.
Complex Numbers in PTC MathcadAlgebra & GeometryThis worksheet using PTC Mathcad shows you how to work with complex numbers when using PTC Mathcad software.
Converting Nonlinear Systems to Linear OnesStatistics & Data AnalysisThis worksheet using PTC Mathcad teaches you how to change nonlinear problems into linear problems. You are able to make this change when a problem is mostly linear, and the nonlinear part appears in the same style throughout the worksheet.
Cubic Spline InterpolationAlgebra & GeometryThis worksheet helps to differentiate between regression and interpolation. Regression is a mathematical process that attempts to find a best-fit curve through a set of data.
Determining Suction Lift Pump Height Using Solve BlocksMechanical EngineeringThis worksheet using PTC Mathcad helps you to determine the maximum height that a pump can be placed under a reservoir, and maintain the operating conditions set by a pump manufacturer.
Developing IDF Curves from Rainfall DataStatistics & Data AnalysisThis worksheet using PTC Mathcad provides you with the data for twenty years of annual maximum rainfall depths for specified durations.
Differential Algebraic Equations in PTC MathcadStatistics & Data AnalysisThis worksheet using PTC Mathcad shows you how to solve an ordinary differential equation whose solution has additional equality constraints beyond initial or boundary conditions.
Eigenvalues and Eigenvectors in PTC MathcadAlgebra & GeometryThis worksheet using PTC Mathcad shows you how to use the PTC Mathcad functions "eigenvals" and "eigenvecs" to find the eigenvalues and eigenvectors of a matrix.
Ergodicity in a Harmonic OscillatorStatistics & Data AnalysisThis worksheet models a classical particle described by a Hamiltonian and is an example of how one can conduct experiments involving mathematics and physics in practical, realistic scenarios.
Example of Solving a Set of Coupled, Non-linear Equations with UnitsCivil EngineeringThis worksheet illustrates PTC Mathcad's ability to solve a set of nonlinear coupled equations for several unknowns, where the unknowns each have different units.
Example of Using Laplace Transforms to Solve an ODEMechanical EngineeringIllustrates PTC Mathcad's ability to symbolically solve an ordinary differential equation using Laplace transforms. In this example, from dynamics, the worksheet demonstrates how to find the motion of a mass m attached to a spring and dashpot due to a known applied force.
Example of Using Symbolic Math to Solve an ODEStatistics & Data AnalysisThis worksheet illustrates PTC Mathcad's ability to symbolically solve an ordinary differential equation. In this example the worksheet shows you how to find the solution to a linear equation of first order in the canonical (standard) form using the integrating factor method.

Financial Risk Management in PTC Mathcad

Statistics & Data AnalysisThis worksheet employs assumptions about the distribution of risk to simulate expected rates of default for the purposes of financial planning.
Finding Channel Height, Channel Width, and Velocity of WaterCivil EngineeringThis worksheet using PTC Mathcad models the low water crossing geometry as a trapezoid to find the height, width, and velocity of the water in a channel.
Finding the Actual Force and Break Capacity of a Long-Shoe Internal Drum BrakeMechanical EngineeringThis worksheet using PTC Mathcad shows you how to determine the actuating force and the brake capacity of a long-shoe internal brake.
Finding the Shear Force and Bending Moment Along a BeamMechanical EngineeringThis worksheet provides you with an example of how the shear force and the bending moment along a simply supported beam can be determined as a function of the distance from one end.
Finite vs. Infinite Life and Fatigue Failure for a Steel ObjectMechanical EngineeringThis worksheet using PTC Mathcad provides an example of how to calculate for the fatigue failure of a rotating beam specimen made of ductile steel.
Fitting Hyperbolic DataStatistics & Data AnalysisThis worksheet using PTC Mathcad helps you to fit a hyperbolic function to collected data. This worksheet shows you how you can use the "minimize" solver function to fit a simple hyperbolic function to some data.
Gauss- Newton Nonlinear RegressionStatistics & Data AnalysisThis worksheet uses the Gauss-Newton regression method, applied in PTC Mathcad Prime,  in order to display curve-fitting non-linear models.
Gaussian Probability Distribution in MathcadStatistics & Data AnalysisThis PTC Mathcad worksheet walks you through an example of two random variables with joint density. It then visualizes the density function via surface and contour plots, and calculates the probability of an event.
Generating Polar Histograms in PTC MathcadStatistics & Data AnalysisThis worksheet teaches you how to plot a polar histogram using PTC Mathcad software.
Inventory Control Example in PTC MathcadStatistics & Data Analysis

This worksheet using PTC Mathcad shows you how to solve a classical inventory control problem commonly found in operational research.

Linear and Angular Momentum of Three Small BallsMechanical EngineeringThis worksheet looks at three small spheres of equal mass that are connected to a small ring by three inextensible, inelastic cods of equal length and equal space.
Load Flow CalculationsElectrical EngineeringThis worksheet using PTC Mathcad shows you how to describe the network for a five-bus power system, using a matrix containing the transmitting and receiving bus numbers, the series impedance, and shunt admittance.
Logistic Map and Ideal Random Number GeneratorStatistics & Data AnalysisThis worksheet using PTC Mathcad software describes the search for an ideal uniform random number generator, ultimately proving that the logistic random number generator simulates the behavior of the ideal uniform random number generator.
Manufacturing Performance Curves in MathcadStatistics & Data AnalysisThis worksheet discusses how the output of a manufacturing process can be sampled to control the quality of the items shipped and how this sampling can be performed by plotting three performance curves.
Measuring Traffic Flow and EAL for VehiclesCivil EngineeringThis worksheet using PTC Mathcad performs calculations to measure the traffic flow and evaluation assurance level for normal trucks and construction vehicles.
Monte Carlo Simulation of the Streeter Phelps EquationStatistics & Data AnalysisThis worksheet using PTC Mathcad provides you with the basic Streeter Phelps equation which allows for the calculation of the dissolved oxygen deficit in a stream or river as a function of the distance downstream.
Numeric and Symbolic Variables in PTC Mathcad - Undefining a variableStatistics & Data AnalysisThis worksheet explains the elements of variables and their role in PTC Mathcad software. Specifically, this worksheet teaches you how to undefine a variable using two simple methods.
Numeric vs. Symbolic Representations in PTC MathcadStatistics & Data AnalysisThis worksheet using PTC Mathcad Prime 2.0 shows you how to use an in-place evaluation of numeric definitions and a symbolic evaluation of results in functions.
Performing a Weighted Fit in PTC MathcadStatistics & Data AnalysisThis worksheet using PTC Mathcad shows you how to fit a set of sample data by using the Least Squares Error (LSE) method to minimize the sum of squares error function normalized by a weighting function.
Planar Regression in MathcadStatistics & Data AnalysisThis worksheet using software provides you with a sample data set that then shows you how to create a matrix containing the x and y coordinates of the data set using the augment function.  It also shows you how to perform a regression on the data using the "regress" functions.
Plotting Frequency Distribution Data in PTC MathcadStatistics & Data AnalysisThis worksheet shows you how to use PTC Mathcad to calculate a frequency distribution for values in a vector that fall in a specified number of bins within the range of the data, and how to plot the resulting histogram.
Preparing Time Series for Data AnalysisStatistics & Data AnalysisThis worksheet shows how you can import a data file consisting of time series data into PTC Mathcad.
Preventing System Failures with Reliability Testing for Pump SystemsMechanical EngineeringThis worksheet shows you how to determine the minimum number of pumps needed so that the probability of not having a system failure (system reliability) during a three year period is more than .95.
Random Triangles in the Unit SquareStatistics & Data AnalysisThis worksheet using PTC Mathcad supposed that three points are independently and uniformly chose in a unit square to determine a unique triangle.
Random Walks in PTC MathcadStatistics & Data AnalysisThis worksheet using PTC Mathcad shows you how to simulate a random walk and visualize it through the use of graphs and charts.
Response Surface Modeling in PTC MathcadStatistics & Data AnalysisThis worksheet using PTC Mathcad provides you with an example of a box-behnken experiment with three parameters at three levels.
Risk Probability and Flood Proofing a Bridge Over a RiverCivil EngineeringThis worksheet using PTC Mathcad provides you with a scenario of a bridge that is built over a river.
RLC Circuit AnalysisElectrical EngineeringThis worksheet includes an example of an engineer designing a hi-fi speaker that must meet a certain frequency response. The horizontal trend must be over the whole spectrum of the audible range with a tolerance of +/- 1dB.
Seeded Iteration in MathcadAlgebra & GeometryThis worksheet using PTC Mathcad shows you how to iterate through a variable based on an initial seed value.
Solving Coupled ODEs in PTC MathcadStatistics & Data AnalysisThis worksheet sets up a set of coupled ordinary differential equations. A matrix of the functions for the x/y positions and velocities is defined.  It's then passed to the RKadapt function.  The x/y positions are plotted with a 3D plot of the sinusoidal humps.
Solving Systems of Equations in Mathcad Using the Find FunctionStatistics & Data AnalysisThis worksheet shows you how to use the Find Function in PTC Mathcad software. The Find Function can be used to solve linear and nonlinear systems.
The Weibull Distribution Function in Reliability StatisticsMechanical EngineeringThis worksheet using PTC Mathcad shows you how to define a 2-parameter Weibull distribution and shows you how the distribution can be influenced by scale and shape parameters.
Theory of the Capacitor revisedElectrical EngineeringThis worksheet will solve a common 2-circuit physics problem to determine charges and energy, keeping in mind the Reciprocal System Theory and the conventional theory.
Three Phase Power System in PTC MathcadElectrical EngineeringThis worksheet discusses how to find the power distribution and parameters for power lines. Unbalanced power systems require analysis by the method of symmetrical components.
Tracking the Development of a Storm Using 30 Minute Interval ConvolutionStatistics & Data AnalysisThis worksheet shows you how to use a 15 minute UH hydrograph to estimate the runoff from a rainfall hyetograph, also called convolution.
Using Cubic Splines to Determine Characteristics and Efficiency of a PumpCivil EngineeringThis worksheet provides you with an example of a problem where you need to determine a pipe operation point in terms of head and discharge, operation efficiency, suitability of the pump chosen, and input horsepower to the pump.
Using Henry's Law and Solve Blocks in Chemistry and Environmental EngineeringChemical EngineeringThis worksheet is used to solve 6 equations 100 times and then plot each species as a function of the overlying partial pressure of H₂S, and determine how the H₂S partitions between the liquid and gas phases.
Using the Finite Element Method on Truss StructuresCivil EngineeringThis worksheet shows how to design a warehouse based on a steel beam structure. Truss design is commonly taught in engineering courses, but based on a hand calculations approach. Instead, this worksheet uses a robust and error-checking method that can be performed automatically and repeatedly.
Modelling the OceanOil & Gas This worksheet is created in PTC Mathcad Prime 3.0 and modelles the ocean as a sum of simple sinusodial waves with different heights, lengths and directions.
Visualisation of Typical Wellbore Survey Data
Oil & GasThis worksheet is created in PTC Mathcad Prime 3.0 and converts real world coordinates to cartesian form to visualise a well bore drill path.

Point in Triangle

Point out of Triangle

$
0
0

Point out of Triangle - check it!

One optimization problem with escalator

$
0
0

esc.png

I do not usuallystandon a movingescalatorandgo through it.

I want to passthe maximum number ofsteps. Up or Down!

What is the speed(stepsper second)should I go?

One symbolic and numeric solution I need (from my students too)

 

PS

The largestescalatorin the worldis located in Moscow, at the metro station"Victory Park". Its length is126meters andheightof 63.4m.

Escalatorspeed- 45meters per minute

The width of thestepsof the escalator-0.4 m


problem solving

$
0
0

In the attached why im getting imaginary in Tresca criteria and not in vonmises please help me

What happened to the collection of worksheets library?

$
0
0

There was a useful collection of worksheets available until recently with a wide selection of topics in engineering: Civil, Electrical, thermodynamics, physics and mathematics, but suddenly it is no longer available.  Withdrawing a library with the perception of profit making is the short-term narrow mindness of salesman instead of fostering the use of Mathcad for the long term which is what Mathworks has been sucessfully doing with its well established product Matlab.

vb script for mm to fractions of inch conversion

$
0
0

I need to convert mathcad 15 results having mm to fractions inches using scriptable objects)

Random unit assigned to 0

$
0
0

Hi,

 

I have tried to do some fixed-step equation solving for power converters, and I have encountered a very weird phenomenon : a unit assigned to "0" without being asked.

 

here is a file that reproduces the problem. The "physical" model is a boundary-mode buck converter. The switch is on (PWM=1) for a fixed duration (ton), then off (PWM=0) until the current in the inductor reaches 0.

 

When the PWM is set to 1, no problem, but when it is set to 0, Mathcad strangely sets it to 0s. If I specify a unit, this units "overrides" the s. If a unit is set to the "1" condition, it applies automatically to the "0" condition too (???). The only way I have found to get rid of this is to do PWM:=PWM/SIUnitsOf(PWM), but it would be much better if it didn't force some unwanted unit in the first place.

 

Any idea where that comes from, and how to prevent that from happening ?

 

Thanks

This value mast be a vector

$
0
0

Hi

I need help because I can"t  solve my task. Please look at this situations. I need solve it vary guickly. Thanks for help

 

Viewing all 3331 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>