Dedicated forum for our customers to share, collaborate, discuss best practices.
Recently active
All, I am using a building code prescribed equation with a constant that does not have units assigned in the code. As a result MathCad gives a Unit error. Now I could backsolve to find the units but that seems cumbersome. Can I simply force MathCad to solve the equation and remove the red rectangle from the output/print?
Hi, was wondering if anyone knows how to improve the resolution for PDFs from MCP? Regardless of the method (print to PDF or save as PDF), embedded Excel tables and Chart Components look terrible.Thanks,-Mathcad Prime 9.0
Having issues with the solve block, "units are not compatible" I know the part that is bad is the part in the screenshot as that part was added specifically for this scenario. Would also like to simplify it as its the same equation with different Q value determined by the Q[ value. Please advise, Thank you!!
After fixing an issue with an earlier solve block I am now finding this,Please advise and thank you!
Even though I have declared two values for all variables that are iterative Mathcad Prime 8 is still pushing this error "Ranges with units must specify the second value in the range", please advise and thank you!
Buenas tardes estoy programando una hoja de calculo que tiene que ver con operación de matrices y tengo un problema de operación. Por favor si alguien me pueda ayudar a resolver este inconveniente. la versión es Mathcad prime 8.0Gracias anticipadamente.
I am trying to find the min/max value at each index across 2 matricies.The min/max function finds the smallest/largest value across both matricies at every index, which is not what i want.. PNG and mathcadfile attached for clarity. I am using mathcad prime 9.0.0.0. I have tried several syntaxes (shown in the attachment), but to no luck. Does anyone know the syntax for this? Cheers,Sebastian
I wrote a small program to simulate astro dynamics.The program crashes (program terminate and disappear from screen) when I increase the number of iterations and celestial bodies. No error message! Can someone help? I can share my program. Thanks Serge
You have 15 spheres with d=1. Put all spheres in the box which has 2.6 length for each edge.If you add new sphere, you make the new world records. It only fills 44.7% of the box!
(This is only a puzzle to fun! ) Tokoro. All distances of the points to be Integer Make a circle with its center (0,0) and radius r. Make five points on the circle with all distances of the points to be integer. The puzzle is to find the minimum of r. Next, the same puzzle except the number of points are 10. The answer of 4 points attached.
I have a Prime 7.0 worksheet with two matrices (of immediate interest). They are w [1x3] and P [3x2].I am trying to manipulate and ensure that they have the same number of rows. And trying to do it with a nested loop. BUT the inner loop seems to work once and then returns the matrix. The outer loop never increments to the next step. I'm obviously doing something wrong, but can't see it.If anyone could point me in the right direction, that would be great. Thanks! FOR i: 1 TO rows(P)---> FOR j: 1 TO rows(w)---> ---> IF (criteria)---> ---> ---> STACK (new row to w)---> ---> ---> GOTO / SKIPTO next i
How to resolve this error
I'm hoping I'm missing a simple way of doing this...(MathCAD Prime 7.0.0.0) Thanks
Hello, For a project, I would like to store the result of the following expression : in another value (called prev for this example). But, I would like to update it manually, even if my parameters change. That way, I would be able to compare 2 curves with different parameters on the same graph in the same sheet. Can someone help me ? Grégory
When I increase the number of Iteration on page 5, ex. 250 to 2500 the program crashes, instead of giving an error message and stopping.
Is temperature units computable with pressure within equation in Prime?
I am wondering if anyone knows a way to make a Bode plot that shows a y-axis on the left for db (amplitude) and a scale on the right for phase. The Plot function does not support it, but I thought perhaps the "chart" function does since it does allow a second y axis scale on the right. But as I understand it, this is not quite the case. In the "chart" function it seems that the scale on the right is only a replica of the one on the left. This function was very nicely supported in Mathcad 15. Is there a way to do it in Prime 9? Much appreciation for any thoughts/help!
Following the solution to the differential equation for the deflection curve of a beam on an elastic foundation, am trying to get the bending moment M and shearing force V based on the 2nd- and 3rd-order derivatives (using MathCad prime 9).I can come up with values based on the derivative expression BUT am unable to assign the results to matrix variables M and V for plotting the results to show variation along the length of the beam.I tried to define matrices with matching size, BUT it won't evaluate the differential equation. I alternatively tried for loop, BUT the same issue persists. The v counter does not increment to allow calculation of the M variable. Should I be using the ODE solvers for this? Am I missing something? Can't seem to figure it out.Thank you for the help.
Hello, I have been using mathcad for years as a basic user, but do not have much experience using it for matrix operations or programming. I am trying to create a worksheet that will allow me to feed in data in to several 3x1 matrices and then compare values of the elements of each matrix and then create a new matrix of only the largest values. However, the resulting output of what I have at the moment is a scaler. How do I instead get a vector result? Please note that I am using Mathcad 15 (and not Mathcad Prime). Thanks!
Hello everyone I have been trying to study the dynamic response of a vertical cylindric pile partly submerged in the sea and resting on the seabed, using Mathcad Prime 8.0. I have implemented the 1D dynamic beam equation as described at https://en.wikipedia.org/wiki/Euler%E2%80%93Bernoulli_beam_theory The pile is free at the top, held laterally in place at height H and simply supported at the base (with a lateral spring). I have defined the following boundary conditions. w and v are deflection and curvature. The units look correct to me. Besides, making the sheet unitless does not solve the problem.Could anyone point me towards the solution or shed more light on what is meant by "inconsistent conditions" ? I have attached the spreadsheet and datafile for some trials.One issue I see with the file is that I(x) and q(x) have discontinuities so Mathcad may have difficulties evaluating I''(x) over the complete interval. Best regards François
Hi,I use the latest Mathcad version on a virtual machine (parallel) on my Mac Book Pro M1. The program runs smoothly so far and works excellently.Unfortunately, when I insert images using various options, despite saving them, when I reopen the document they are only displayed as a "Search images.." button.Does anyone here have an idea?Best regardsFinn
This month’s challenge ties into the Mathcad for Mechanical Engineers Webinar. Your challenge, should you choose to accept it, is to create a worksheet that calculates the stresses on a key in a keyway for a crankshaft and flywheel. The Scenario A key is a mechanical component used to transfer power between a rotating shaft and a machine component (in the image below, a flywheel). The torque is 150 Newton-meters. The shaft diameter where the flywheel is attached has a diameter of 50mm. The key length is 50mm with a breadth (width) of 12.5 mm and total height of 10 mm. The size of the chamfers on the key is 1 mm, but you can ignore them for the stress calculations if you wish. The Challenge Your task is to calculate the following: Calculate the torque that can be transmitted by the reduced shaft diameter (the diameter not including the keyway). Calculate the shear stress and compressive stress on the key and shaft. (Optional) Using the technique presented by Dr. H
I'm trying to write a short function in Prime 7.0 that will loop through data and populate multiple matrices and then stack them.Even though the matrices are the same size, I am getting a "The dimensions of these arguments do not match." error when using the stack function.I tried pulling sample matrices out of the loop and stacking them. That worked, as expected.Can you not use the stack function in a loop? Or am I missing something else?Thanks!
Since you are only able to have your licensed account on one account unless they're connected to the same network and with a different subscription, is there a way for me to inactivate the license on one device and activate the subscription on another? Right now the account is on my desktop but I need it on my laptop.
I was looking at the sample worksheet (PDF) posted on the PTC website and I created a (supposed to be) matching MathCAD Prime 7.0 worksheet. https://community.ptc.com/t5/Mathcad/Building-Structural-Design-Single-Span-Beams-Shear-and-Moment/td-p/450598 Almost everything matches the sample PDF results...the Shear values, shear graph, and maximum Moment. BUT the moment function and graph points are way off. I've skimmed over everything multiple times and I can't see any typos or errors.Can anyone see where the error is? Thanks!
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.