Quantcast
Channel: PTC Community : Popular Discussions - Mathcad Usage
Viewing all 1503 articles
Browse latest View live

Periodic Functions, How define them?

$
0
0

I want something like this:

 

 

f(t) = 1 if 2n.T < t <= (2n+1).T T is some constant

f(t) = 0 otherwise

 

but how can I tell to Mathcad 14 that n belongs to Z, the positive and negative integers ???

 

MC lets me definde a variable in finite intervals, n:=1.. 10, ok

 

It would be desirable something like n E Z

 

can you give me a real example to realize what tools of Mathcad I must use?


Radian to degrees

$
0
0
I am new to using MathCad, but it seems that I should be able to figure out how to change from radians to degrees. The manual is pretty much worthless, and the help section merely states that MathCad gives results of trig functions in radian mode. No kidding. Any help is appreciated, and yes I feel like a moron.

Units on Graph axes indicies

$
0
0
I'm a new Mathcad user running version 14. I want to display a stress gradient based on position using a XY-Plot. I have stress (ksi) on the y-axis and position (inches) on the x-axis. I've defined my max/min values for each axis in consistent units. However, when Mathcad creates the plot, it generates values on the y-axis that must represent different units (not sure what).

How do I change the units of the values generated along the graph axes? (I think I just lucked out on the x-axis)

Also, I'd like to center the graph at x/y = 0. Mathcad will do it if I select Auto scale/grid, but it only indexes each axis twice, and I'd like more indexes than that. Can I specify the Number of grids and still get Mathcad to plot about the origin?

I've attached a .jpg of my graph to illustrate.

This variable is undefined error when using Given/Find function, why?

$
0
0

Hi Everyone,

 

I have been using mathcad for some time but it is not until recently i started trying the Given / Find functions.

However, every time i try it, it gives me "This variable is undefined" error right after i enter the Find(...) command and hit the "=" button.

I even tried to follow the quick sheet in the tutorial/help document and it is still happening.

 

Could someone help me out?

 

Greatly apprecitated!

 

 

Alex J

license server not starting

$
0
0
Hi, We are running Mathcad using a license server. Unfortunately the server stopped working a couple of days ago. When trying to start the ptc_d daemon, the logfile shows 22:06:22 (lmgrd) ptc_d exited with status 25 (Invalid host) The hostname did not change, nor did the NIC. Any clues on what might be the problem?

"A name is required here" error in defining Table/Matrix Components

$
0
0

I'm trying to build a table column by column and I'm getting the "A name is required here" error. I've double checked to make sure that I'm using the literal (".") and vector ("[") subscripts correctly to the best of my knowledge. I've set my origin to 1 at the top of my sheet. I've searched and can't find anything to help.

 

Any help and solutions are appreciatied.

how to transfer Mathcad license from one PC to another?

$
0
0

Hi,

 

I am running Mathcad 15 student edition on a Windows XP PC. I will be selling this PC in Canada, moving to England, buying a new PC which will run Windows 7 and installing Mathcad on the new PC. What are the steps I need to take to transfer the Mathcad license?

 

Thanks

Prime 3.0 xmcd, mcd converter

$
0
0

Most of my 14/15 files failed conversion. The conversion log only says "Conversion failed and Conversion aborted". Why is this?


Excel to Mathcad and Mathcad to Excel data transfer

$
0
0

Dear all,

 

I got thanks a discussion chain some Mathcad macro's to read data in any worksheet in an excel file but thw woksheet name has to be known.

My data acquisition system generates automatically excel data table with every time new worksheet names.

Is it possible to obtain all the worksheet names of an excel file directly from Mathcad ?

 

Second question:

It is possible to read directly from Mathcad data within worksheet of Excel file and it works well.

Is it possible to do the reverse, ie to write data direclty from Mathcad in specific worksheets of an excel file ?

 

I have Mathcad 14 (will have mathcad 15 next year)

 

Thank you

 

P.Bujard

Mathcad Prime 2.0 plotting functionality. Argh!!

$
0
0

I am so frustrated by Mathcad's continued plotting ineptitude I can hardly take it. We waited for years and years for the old Mathcad to add the flexibility needed to make decent looking plots and it NEVER happened. Now in my first few hours of working with Prime 2.0 (I skipped 1.0) I am already extremely frustrated by basic stuff that really makes me wonder about the development team. Come on, guys, I know you can do better than this!

 

Contour plots:

- z-axis scale/color bar is now included, hooray!

- however, it's location and orientation are fixed (bottom, horizontal)

- why can't I move it to the right and make it vertical?

- The labeling interval of the z-axis scale bar is tied to the number of

contour intervals. No!!! If I want a lot contours then my labels get

all mashed together and become completely unreadable. Totally

unacceptable.

- If I change the weight of the lines that separate the contours, the

line weights in the z-axis scale bar do not change correspondingly.

Come on!!

 

- No secondary y-axis in the second major release?? Very poor.

I need this all the time.

 

- I can't change the font or the font size used for the axis labels. I've

only been waiting for this for uh...let's see...how old am I now??

 

- Why does the x- and y-axes extend beyond the minimum value set

for the axes? This leads to odd/awkward-looking axes, at least, not

like any plots I've seen or want to make myself.

 

- Why can't I use a ticked/labeled box around my plots? It seems the

only option is the two intersecting axes.

 

- Um, how do I put titles on my plot axes? Am I just being dense here?

 

- Thanks for letting me rant. I guess it's export back to Excel for now

for a lot of my plots. Not that I like Excel's plots, either, believe me.

But at least with fiddling I can get a decent-looking, READABLE plot

out of Excel to present to other engineers and scientists, or include

in a paper. Not possible with what I've seen in Prime 2.0. Sigh...

Solving Equations for undefined variable with units

$
0
0

So, I am confused on how to solve an equation for an unknown with units. I am not sure if I am having unit problems or if my way of stating variables is incorrect. I am simply just trying to solve for the variable "d" which should have units in length. How should I declare variables that rely on other known and unknown variables? When should I solve an equation symbolically and just numerically in terms of getting proper units? I am used to using maple 16 so switching to MathCAD has been fairly intiutive but I am failing to pick up on certain features. If you fix my MathCAD code, I should be able to figure it out from the fix solution. Thanks!

equations.PNG

3D Plots in MathCAD 14

$
0
0

Hello,

 

I'm new to these forums and I just had a quick question. When I set up a two variable function and try to plot it, MathCAD recognizes the function and seems to plot it successfully but it doesn't display. I can, however, see contour plots of the same function. Vector field, 3D scatter plot and 3D bar graphs don't display either. I'm kind of thinking it's a plugin problem or something. Any ideas?

 

 

Thanks.

How to add two graph in Mathcad

$
0
0
Hi, I am trying to model solar cell characteristics in partial shading. i need to add two graphs which i have already plotted in Mathcad.Please suggest me any general method. Further how to add independent variable? I have thought of this way once but not possible.can two independent variable ( for example I have f(x1) and f(x2)) be added to form a third variable. (I mean is it possible to define f( x1+x2). I tried the same in mathcad but it seem impossible. if this two functions are already plotted how to get the superimposed graph of two? Thanking you in advance Have a nice weekend

Converting Mathcad File to PDF

$
0
0

Whenever I convert a Mathcad file to PDF format by printing to Adobe PDF, the content of the pages get displaced downwards both in the pdf file and the original Mathcad file. This happens when I have many pages in the Mathcad file. Is there something I'm supposed to set in the printer settings to prevent this from happening?

Round up to nearest 0.5

$
0
0
Anyone know a simple way to round up a figure to the nearest 0.5?

This variable is undefined error when using Given/Find function, why?

$
0
0

Hi Everyone,

 

I have been using mathcad for some time but it is not until recently i started trying the Given / Find functions.

However, every time i try it, it gives me "This variable is undefined" error right after i enter the Find(...) command and hit the "=" button.

I even tried to follow the quick sheet in the tutorial/help document and it is still happening.

 

Could someone help me out?

 

Greatly apprecitated!

 

 

Alex J

Mathcad 15 - Preferred units in results?

$
0
0

I am using Mathcad 15 for a course in Quantum Chemistry. Is there a way to set default units so that they match those commonly accepted in the dicipline?

 

For instance, when I calculate wavenumber, my result is in m^-1 rather than the commonly accepted cm^-1, and frequency is in s^-1 rather than Hz.

 

Thanks.

 

Best Regads,

Matthew

Mathcad 15 won't run on Windows 7

$
0
0

Hi

 

I have a computere with windows 7 x64 there, no matter what i do, won't run mathcad 15.

The installation seems to be completed without any problems, but when i try to run the application, the splash screen shows up, but after a short period of time, the application crash without any error messages except the Windows own "Mathcad application has stopped working". I have another computer also with windows 7 x64, and here the application will start without any problems . The only differense between these computers is that the first one is a "samsung" installation width showelware and all, and computer nr. 2 is a vanilla installation of windows.

 

I have tried the following

 

Reinstallation of MSXML 4.0 SP.2

---------||--------- of .Net, i can't remember the version, but it was the newest I could find.

Reinstallation of the computer (with the samsung disk)

 

But nothing seems to work. Mathcad 14 worked without any problems...

 

I hope somebody will help, and sorry for my bad english, i´m a dane

Using Mathcad Prime for Snow Farming

$
0
0

Snow farming might only be a Boston term. It refers to the [re]moving of fallen snow in preparation for an upcoming snow storm.

 

See how Chris Hartmann used Mathcad Prime to calculate the magnitude of the shoveling challenge posed by a 14-inch snow storm.

 

http://bit.ly/goP4Jb

 

How are you using Mathcad to solve your home engineering problems?

license server not starting

$
0
0
Hi, We are running Mathcad using a license server. Unfortunately the server stopped working a couple of days ago. When trying to start the ptc_d daemon, the logfile shows 22:06:22 (lmgrd) ptc_d exited with status 25 (Invalid host) The hostname did not change, nor did the NIC. Any clues on what might be the problem?
Viewing all 1503 articles
Browse latest View live