Introduction To Mathcad 15 - Part 2

1y ago
7 Views
1 Downloads
604.84 KB
6 Pages
Last View : 8d ago
Last Download : 3m ago
Upload by : Ellie Forte
Transcription

Introduction to Mathcad 15 – part 2 Plots It is import ant to be able to visualize the result in other forms than just tables and numbers. Mathcad offers a wide variety of plots and graphs to help you present calculations in better forms. To place a graph in your Mathcad workbook you can use a shortcut, graph toolbar or use the Insert- graph menu. The simplest graphs are of course 2D X-Y Plots, but they will be the most useful during this course. Example Using the calculations from the first workbook, plot a graph of volume versus temperature for ideal gas. When it’s done open properties and create axis labels. Now assume that V const and plot a pressure versus temperature graph. Present both pressure and volume change at the same graph. Place the values of volume and pressure on two separate axis. Useful thing about plots created with Mathcad is the possibility to read coordinates of some(the ones that created a plot) points of the plot. To do this, right-click on the plot and use the command Trace. Symbolic calculations Mathcad allows users to perform wide variety of symbolic calculations. Appropriate commands can be found on Symbolic toolbar or in the symbolic menu. Menu SYMBOLICS/Evaluate: symbolically – performs calculation on symbols floating point – performs symbolic calculation, but if only it’s possible returns a number as a result (for example calculate the value of PI – use ctrl shift P and floating point command) complex – returns a complex expressions if it is possible For description of the commands form symbolic toolbar use Mathcad Help.

Another part of symbolics in Mathcad are calculus operations. Mathcad can calculate differentials, integrals, limits and gradients. All this commands can be found in calculus toolbar. IMPORTANT! To perform symbolic calculations you must use the symbol of ARROW from symbolic toolbar, NOT EQUAL sign from keyboard. Examples 1. In the following expression substitute x 5 and y 3, then calculate value of this expression: 5 y 3 sin( x) x 2 10x 2 x3 tg y 2. Expand F(x) and G(x) to Taylor series of rank 10. F(x) ln(sinx), G(x) ln(cosx) 3. Calculate differential, third differential and undefined integral of the function H(x) ln(x 3) 𝑇1 4. Knowing that heat capacity can be calculated as 𝑇0 𝐹(𝑇)𝑑𝑇 and for steam heat capacity is given by the function: 𝐹(𝑇) 32,23 1.92 10 3 𝑇 10.55 10 6 𝑇 2 a. calculate medium heat capacity for temperature range 298-1000K b. create a plot Cp(T) for the given range. Equations and system of equations In fact we can put three groups of problems into this category. Finding root of polynomials, maximizing and minimizing functions and solving equations and their systems. Solving equations: Type the equation, remember to use ctrl or an equal sign from Boolean toolbar. Then use solve command from the symbolic toolbar. Mathcad returns vector with the roots of equation. Another way to solve the equations in form of polynomials is to create a vector with polynomial coefficients and use command polyroots.

Example Find roots of following equations. Use solve or polyroots method (where it is possible). Create plots of all curves. 4𝑥 2 3𝑥 5 3 sin x 2 x 1 5𝑥 5 4𝑥 3 7𝑥 2 3 0 2 5 Solving system of equations To solve a system of equations (or inequalities) in Mathcad you can use a block solve method. First define the guess values for all searched unknowns. Then use the command Given and place all constraints below it. To close a block use the command Find(x,y,z ). In case of system of linear equations matrix method can be used. You need to specify two matrixes A and B for the equation system in form of: Ax B. Then use the command lsolve(A,B). For linear systems Mathcad can solve up to 500 unknowns and up to 200 for nonlinear systems. Minimizing/maximizing function In fact this problem could be solved with one command (min f(x) max(-f(x))), but Mathcad offers both of them as a built-in functions. Minimize/maximize works exactly the same as command Find so they need specifying guess values for all the unknowns and placing all constraints between the Given and Minimize/Maximize command.

Practical example 1: The task is to calculate gas volume (SO2) using ideal and real gas equation (use the van der Waals & Redlich-Kwong equations). Create a plot comparing calculated results (ideal and real gas). Find the temperature range at which, each equation can be applied. Pressure: 10MPa Tc 430K Pc 7.873*106 Pa van der Waals equation: (𝑝 𝑎 ) (𝑉𝑚 𝑏) 𝑅𝑇 𝑉𝑚2 where: 27(𝑅𝑇𝑐 )2 𝑅𝑇𝑐 𝑎 ,𝑏 64𝑝𝑐 8𝑝𝑐 Redlich-Kwong equation: 𝑝 𝑅𝑇 𝑎 𝑉𝑚 𝑏 𝑇𝑉𝑚 (𝑉𝑚 𝑏) where: 0,42748𝑅 2 𝑇𝑐 2.5 0,08662𝑅𝑇𝑐 𝑎 , 𝑏 𝑝𝑐 𝑝𝑐 Practical example 2: 1. Calculate mean diameter for the given system of solids. 2. Calculate umf and ut for the system presented below. Prepare a graph of umf(dp) and ut(dp) .

WARUNKI Pipe diameter, m Gas densit, kg/m3 Gas viscosity, Pa*s Superficial velocity, m/s Solid density, kg/m3 Sphericity 0,077 1,25 1,8*10-6 12 1200 0,62 UZIARNIENIE dp, mm 0,150 0,100 0,080 0,040 0,030 0,020 % 3 7 74 8 5 3 mgr inż. Leszek Stępień – AGH Kraków

References: 1. Matchad user guide 2. R. Motyka, D.Rasała – MATHCAD – od obliczeń do programowania mgr inż. Leszek Stępień – AGH Kraków

Introduction to Mathcad 15 - part 2 Plots It is import ant to be able to visualize the result in other forms than just tables and numbers. Mathcad offers a wide variety of plots and graphs to help you present calculations in better forms. To place a graph in your Mathcad workbook you can use a shortcut, graph toolbar or use the Insert- graph .

Related Documents:

PTC Mathcad Prime 4.0 PTC Mathcad Prime 5 PTC Mathcad Prime 4.0 M010 PTC Mathcad Prime 7 Prime 8 2022 PTC Mathcad Prime 6 PTC Mathcad Prime x.0 Major releases with new functionality From 2016, yearly frequency to match subscription period Prime

41. Simplify MathCAD polynomials 42. Factor MathCAD polynomial roots 43. Insert MathCAD graphics 44. Convert MathCAD angles 45. Use MathCAD truncation 46. Use MathCAD roundoff Student Contributions Each student will spend approximately 2.5-5 hours per week preparing for class and completing

Mathcad on client systems. The Mathcad Calculation Server supports all built-in math functionality within Mathcad for faithful presentation of worksheets, in addition to support for installed user EFIs. Mathcad Ca lculation Server does not replace the full power and interactivity of Mathcad on the desktop, but rather is a way to present

15: Extending and Automating Mathcad 231 Overview 231 Programming within Mathcad 231 Building Function DLLs 243 Creating Your Own Components 243 Accessing Mathcad from Within Another Application 248 Functions and Operators 16: Functions 249 Built-in Functions 249 Function Categories 249 Mathcad

chance to learn, understand and apply the MathCAD Tool to solve homework problem. I realized that the MathCAD tool does help me to solve the homework faster and cleaner. Therefore, in this paper, I will try my very best to explain to you the concept of the MathCAD tool. Here is the outline of the MathCAD tool that I will cover in this paper. 1.

PTC MathCAD & Creo Parametric Integration Guide MathCAD and Creo Parametric are well integrated and the process is documented. This one-page guide aims to clarify this process. Prerequisites: User must have Creo Parametric and PTC MathCAD installed. See Article CS201396 for version requirements. How to Integrate PTC MathCAD & Creo Parametric: 1.

In Mathcad, the same equation looks the way you would see it in a text or a reference book: x b b 2 4a.c 2a. The only difference is that Mathcad's equations and graphs are live. Change any data, variable, or equation, and Mathcad recalculates the math and redraws the graphs -- instantly. With

paper no.1( 2 cm x 5 cm x 0.3 mm ) and allowed to dry sera samples at 1: 500 dilution and their corresponding at room temperature away from direct sun light after filter paper extracts at two-fold serial dilutions ranging that stored in screw-capped air tight vessels at – 200C from 1: 2 up to 1: 256.