Question on programming in Mathcad
Mathcad New license trouble
Hi ...
Well, this is why I hate computers for a simple Maths course ... anyway ...
Need a new license for Mathcad ... filled out the form ... get to volume serial number and nothing! Follow the instructions ... and when I put in 'vol c' I get a message telling me "The system cannot find the drive specified"
I've tried several different ways (capitals/little letters, different drive letters ...) nope ... not one thing works!
Any idea?
Recursive definition problem when extracting real part of equation
Hi everyone,
For my thesis work I am building a tool to evaluate the notched stress field in orthotropic fields. For this I need to extract the real part of an imaginary function. However, when I try to take the real part MathCAD 14 returns "recursive definition"-error. No idea what is going wrong as the variable has not been defined.
Can you find out?
Many thanks,
ruben
M14; 2D plot for 2 variable function - one variable constant
Hi All,
I have a stress equation that is a function of both X and Z (horizontal distance and depth).
I want to produce a 2D plot of this function with a constant X and a variable Z. When I use the 2D plot and input the range variable 'z' on the vertical axis and stress(100,z) it does not give me the correct results.
Any ideas?
Problem plotting function with range variable
I've been using R14 for a while and recently tried switching to Prime to see if it would be a useful upgrade, but I've failed miserably at reproducing some very simple work from R14 (I didn't want to uninstall R14 to put R15 on to do the conversion so I thought I'd try something from scratch).
I would like to plot the result of a simple function across a range, I've declared the function and verified it works but I can't plot it using a range variable for one of the arguments?
It gives me the error "There are too many range variables"...what am I doing wrong?
Plotting a percentage
Is there a way to format the y-axis in an x-y plot to display numbers as a percentage? For example, I typed 20*% for the upper range limit, but it gets displayed as .2 on the plot.
Chemeng Problem: Floating Point Error Runge-Kutta 4th order
Hello! I am a newbie to this community . I would really appreciate any help with my problem.
First of all, i was asked to apply the Runge-Kutta 4th order method to solve this problem.
I managed to get something out of this, but when i change the value of the rate constant (k), for valutes >2, i get a floating point error.
My aim is to get 9 different k (rate constants), ranging from 1 to 10, in order to get (via the Runge-Kutta) the C values of my components (i have named them x and y) . Then the C-t curves will be compared with my experimental curve.
However, whenever the value of k is greater than 2, i get a floating point error . Any advice?
Any suggestions or corrections would really be appreciated.
I attach you the mathcad file:
particular symbolic eval used to work, but acts differently in ver 15? stuck
Strange issue with maybe a simple explanation. I have a MCAD file that used to work with version 12, but with ver 15 gives a different (incorrect) result. I suspect issues with global versus local interpretation of arguments, but all I know is that it used to work fine. I didn't see anythign in th help that jumped out at me relative to why this would have used to work, but will not now.
Any pointers would be appreciated.
thanks,
Brian
SMOOTH CURVES in GRAPHS
Hello,
Please see the attached MathCad 15 file. I would like to make the curves smooth (Fig. 5 in particular).
I have tried "supsmooth", there is no difference.
Thank you for the time and help.
Anousheh
forgot password of a locked area.
to all,
I did something silly, I locked an area in a file and forgot the password.
Is there any way that I can retrieve the password or unlock the area?
Thank you in advance,
Rogelio
auto correlation of an irregularly occurring pulse buried in noise
I'm looking for techniques to extract the pulse shape of an irregularly occuring pulse in long term data, such as for example, down stream surges in river flow data (UK has irregular rain fall).
The regular autocorrelation isn't really a good predictor of the pulse shape. And cross correlation is a possiblity, but we don't know haw many pulse we are looking for.
I'm not aware of any of the embedded mathcad functions doing this.
Any suggestions?
Philip
How do you increase the XY plot axis value size (font size)
Hello all,
I was wondering how do you increase the XY plot axis front size? The only way i can think of is to use the zoom slider but I end up have to look for equations from each corner of the page due to higher level of zoom in.
Thank you.
With regards
Lawrence
check if variable is defined
Hi,
my problem sounds rather simple but still I do not a have a solution in Mathcad. In order to automate my Mathcad 14 sheets I would like to check if a variable is defined or not.
If the variable is defined (not red colored in Mathcad) this on should be used instead of an different.
Thanks
Holger
Trouble with a fortran loop and getting it into mathcad
Hi guys
I have to admit upfront I am new when it comes to programming. I am having trouble getting the following fortran do loop converted over into mathcad. It looks like the program is running through and getting initial results and then taking those to use for the next iteration and so forth...like a cumulative sum. Seems like it shouldn't be all that hard but I can't get things to initiate correctly. Can anybody get me back on track?
Thanks
extracting coefficients of e^ix from polynomial
Hi everyone,
I am trying to extract the coefficients of e^ix from a polynomial. My attempts using the coeffs, e^ix command have been unsuccessfull and I am wondering if anyone has another solution.
So, i have a function like: y= (2+5k)e^ix + 7e^2ix + (2+9a)e^-ix
and want MathCAD to give me: coeffs(y) = ( 2+9a; 2+5k; 7).
Another example is in the attached file
Thanks for your replies!
Parentheses in Results
I apologize for what is probably a simple question.
I am using Mathcad prime and in some of my caclulation results I am getting parenteses around the answer such as (1.113). I am sure there is a simple explanation for this but I cannot seem to find it in the help
Thanks
Mike
Unexpected results
This is a problem that I've been working on for some time. It has been the subject of some of my previous threads (in case it looks familiar). I have developed a working model in Matlab and am now trying to develop its equivalent in Mathcad. The Matlab model and results are attached below as well as the Mathcad model.
As you can see pretty much all of the Mathcad results show variation from the expected results either in magnitude or in pattern (inverted curve rather than normal curve). Also there is an obvious issue with the Mathcad model not solving over the lower half of the range of x. I have reviewed the model several times and it appears to me that the problem is related to the numerical approach, i.e. the 'for' block.
Any help in diagnosing the issue and in solving it would be great!
This shows the expected behavior over the range of x
This shows the expected behavior over the range of i
Prime 3 will display vector images correctly?
In Mathcad 15, if you insert a vector image, like WMF or EMF, the program will display it correctly.
This means that even if you resize the image, the thickness of the lines remains the same.
In Prime 2, after you insert a vector image, the program convert it automatically in a raster image. You can see this by resizing it. The thickness of the lines increases when the image is scaled up.
Also, it becomes blurry !!! A vector image is never blurry.
Can anyone at PTC tell us if Prime 3 will contain a fix to this problem?
Thank you.
Lengthy symbolic equations
I have to evaluate two fairly messy equations,
in terms of several radii and pressures, which I only know symbolically. I have solved these by hand and, as expected, get my sigmas in terms of the radii and pressures. But the expressions are lengthy and I need to use them in other equations. Is there a way I can write expressions which maintain the symbolic placeholders for my varibles?
Mathcad help :(
Hello, my name is Alex and i am a student at the Polytechnic University of Bucharest.
I have never used this software before and it is getting very dificult finding what i need.
My industrial design teacher has given me some equation stuff to work, but i never used mathcad.
I have to create in mathcad 2 cylinders that would intersect and after that make some calculations.
The first is vertical and the second should passthrough the first but horizontaly, i've attached a photo, hope this will be usefull.
He explained me that there ar 3 scenarios i need to test, all based on assigning a diferent value to "d".
Please help if can