cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Values for Variable

the_viking-disa
1-Visitor

Values for Variable

Its easy to have a variable x having values from 0 to 355 in increments of 5 by x:=0,5..355

But I want a variable say y, having values starting from 120,125....355,0,5,10....115 (order should be as given).

How do you declare such a variable??
15 REPLIES 15

It would be normal in such cases to use a vector,
and then use a range variable to index it. The
vector can be loaded by a suitable programme line
(probably two steps in your case).

Philip Oakley

thanks....can you help me with the programming part?
how will the program look?

On 4/2/2010 2:15:14 PM, the_viking wrote:
>thanks....can you help me with
== thanks....can you help me with the programming part?
== how will the program look?

Here's a couple of ways ...

Stuart


thanks a ton stuart 🙂

Also can you let me know good reference book/s for learning mathcad.

On 4/5/2010 4:33:53 PM, the_viking wrote:
>Also can you let me know good reference book/s for learning mathcad.

Sorry, I don't know of any. I learned Mathcad the hard way by just using it, reading the Quicksheets & Help files, and looking at the Collaboratory (plus attached files).

Stuart

On 4/5/2010 4:33:53 PM, the_viking wrote:
>Also can you let me know good
>reference book/s for learning
>mathcad.
______________________________

There are lots of web site Mathcad.
Many have sheets to download.
A serious book about Mathcad would be, let say 2000p [�]. And now with 14 that is not the same at all than 11 and earlier versions, very few constructions will be compatible. Hopefully, by beginning of May 2010, I will have over 500 pages of MCADeng in my web site, just as a "starter tool". The remaining of the most precious content will be by the end of this year.
But no sheet to download, only *.PDF [PDFcreator].

jmG



On 4/5/2010 4:33:53 PM, the_viking wrote:
>Also can you let me know good
>reference book/s for learning
>mathcad.

"Mathcad11 Users Guide" - the last good guide (available as pdf in some places)

I also have "Engineering with Mathcad" by Maxfield. ISBN 0-7506-6702-8, which is OK but by then I'd already used the 'Stuart' approach 😉

Philip Oakley

thanks jmg and philip....
@philip - yah...i did use stuarts method. I need some sort of reference coz I think I'll be working in mathcad for some time.

While trial and error and just doing is quite fine and necessary

apart from the Maxfield book(s) I have found
"Philip J. Pritchard - Mathcad, a tool for Engineering Problem Solving" very helpful.

Not 2000 pages but just 200 and very practical.

RMix

Don't forget to also check the resource center:

http://www.ptc.com/appserver/mkt/products/resource/list-books.jsp?&rccg=888&nav=5279&sec=5271&top=0&lang=en&section=mathcad_resource_center

Some material is free and worth reading (for example "Inside Mathcad: Solving", Inside Mathcad: Programming"). Some of the documents for older versions still have useful stuff too, so don't ignore them.

Richard

thanks RMIx & Richard 🙂

On 4/6/2010 6:30:56 PM, the_viking wrote:
>thanks RMIx & Richard 🙂
_________________________

Catch collab work sheets on the fly,
try one month back for instance,
lot of projects going on or related material.

jmG



RichardJ
19-Tanzanite
(To:ptc-1368288)

Please don't cross post. And especially don't tag new questions onto the end of existing threads when they have nothing to do with the thread.

Richard

Richard,
Sorry as i am new to this forum. hence i deleted it.
LEO
Announcements

Top Tags