I am trying to him my daughter who has an I-Mac and needs to run this
program on her computer. The screen shot seems to indicate that this
runs in MSDOS in a window and should run on the Mac with a simple
emulator. Anyone have any experience with this?
David
Hello every body
I am Harekrushna from Germany currently. I am doing my PhD in chemistry. But I
am
stuck with an integration and I want to get rid of that. So if anyone want to
help me out of
this problem, just reply and then I will put my question.
Looking forward your replies
Harekrushna
Hi, I have just joined Cmap group. I am a civil engineer so I am very concerned to apply finite element for structural analysis. Thank for permitting me to down load Cmap.
Hi to every body out there
i wanna say that i am a mathematics & computer enthusiast
i am new to CMAP so could anybody please explain me what this all
about & how it works
Dear Prof. Ha and others,
I found cmap recently on the internet purely by chance. My first
impression is that cmap is very useful and interesting product. From
my point of view as an instructor of computer programing and numerical
application in chemical engineering it could be an ideal tool for
teaching. I am going to spend some time in learning it and I would
probably include it in my teaching courses.
I wish all the best to the creators of this product.
Regards,
Radovan Omorjan
Faculty of Technology
Novi Sad, Serbia&Montenegro
we are looking for scripts about "problem of transport"
and about "north-west angel method"
if somebody know something about that then please
post here or mail me at hyaena@...
best regards
Luke ^ Bart
ps. simplex.cmp is cool :)
Dear CMAP Users,
The new version CMAP 6.7 has been uploaded. In addition to some
minor tune-ups, the new version will save and restore all options
that were set. Several application programs have also been updated.
Regards,
K. H. Ha, Ph.D., Professor
Department of Building, Civil & Environmental Engineering
Concordia University, Rm. BE 353
1455 de Maisonneuve Blvd, West
Montreal, H3G-1M8
Canada
Hi Dr. Ha and everyone!
Anybody found a way to do manual integration with good results here?
I have this program (ick.cmp) that won't calculate the areas of a
rectangular or a triangular area when the deltas are medium small. Not
infinitessimal at all.
If you run the test with the global variable named "test" set to 1 it
will miscalculate like crazy. When you set "test" to 2 it uses enormous
deltas but comes up with much more accurate values. I tried messing
with tol#=1e-6 and it's still pretty bad.
I'm also tossing in a graph program (SoL.cmp for "speed of light") to
show the sharp knee in the mass/velocity curve near the speed of light
just for fun.
It really is practically a brick wall.
I'm using CMAP to generate graphics as I explore physics and math a bit.
/*
Integral of 1/x between x=0 and x=1 is infinity defined?
*/
/////////////////////////////////////////////////////////////
float test=1; // set test=1 or 2 for small deltas or large
/////////////////////////////////////////////////////////////
DrawTriangle(float x1, float y1, float x2, float y2, float x3, float y3)
{
plotline(x1, y1, x2, y2);
plotline(x2, y2, x3, y3);
plotline(x3, y3, x1, y1);
}
main()
{
float x, y, oldx=1.0, oldy=1.0;
float x0=1.0, y0=1.0; // option for large deltas of 1/2, 1/4...
float delta=.5; // for smaller and smaller steps
float thresh=delta; // threshold for display
float a1, a2; // area accumulators for upper trgl and lower rect
clearplot();
setrange(0, 0, 1, 10);
setop(b,15);
setop(c, 0);
plotlinearscale("y", 10);
plotlinearscale("x", 10);
for (x=1; x>.05; x=x-1/128)
{
y=1/x;
plotline(oldx, oldy, x, y);
if (test==1)
{
a1=a1+((x-oldx)*(y-oldy))/2; // triangular area above
a2=a2+(x-oldx)*oldy; // rectangular area below
}
if (x<=thresh)
{
if (test==2)
{
a1=(x-x0)*(y-y0)/2;
a2=(x-x0)*(y0);
}
setop(c,12);
setop(f,12);
setop(p,2);
plotrectangle(x, y0, x0, 0);
setop(c,13);
DrawTriangle(x0,y0,x,y,x,y0);
setop(c,0);
putxy(x, y, abs(a1));
putxy(x,1, abs(a2));
delta=delta/2;
thresh=thresh-delta;
a1=0;
a2=0;
x0=x;
y0=y;
}
oldx=x;
oldy=y;
}
putxy(.3, 5, "Smallish deltas result in gross errors when integrating
manually.");
putxy(.4, 4, "Compare run when test=2 (delta ~ .5, .25...) to test=1 (delta =
1/128).");
putxy(.5, 3, "Current test setting is");
putxy(.68, 3, test);
if (test==1) {putxy(.7,3, "ICK!");}
}
/*
Physics/Relativity
Display mass increase as a function of velocity.
f(v)=1/(1-v^2/c^2)
where:
v is velocity
c is speed of light
Uses drawline to improve resolution for curve with sharp knee.
*/
func(float v) // percent of SoL
{
float tmp, c=300e6;
tmp=1/(1-(v^2/100^2)^(1/2));
return(tmp);
}
DrawGrid()
{
float xeff;
for (x=0; x<=100; x=x+10)
{
plotline(x, 0, x, 1000);
plotline(0, x*10, 100, x*10);
xeff=x*10; // avoid 0*mass display, should be 1*mass
if(xeff==0)
{
xeff=1;
}
putxy(-8, 1100, "(times mass)");
putxy(40, -120, "(% Speed of Light)");
putxy(-8, 20+xeff, xeff);
putxy(101, 20+xeff, xeff);
putxy(x-1, -50, x);
}
}
DrawCurve()
{
float oldx=0, oldy=0, stepsize=1;
for (i=0;i<100;i=i+stepsize)
{
newy=func(i);
if (newy<=1000) // keep it on the graph
{
plotline(oldx, oldy, i, newy);
}
oldx=i;
oldy=newy;
// adjust stepsize for better resolution as curve turns up
if (i>90) {stepsize=0.1;}
if (i>99) {stepsize=0.01;}
}
}
LabelAPoint(float x, float y, float val)
{
putxy(x, y, "(");
putxy(x+1, y, val);
putxy(x+3+floor(log10(val)), y, ")");
plotarrow(x+2,y-50,x,0,'E');
}
LabelPoints() // show numerical values at 50% and 90% SoL
{
LabelAPoint(50,100,func(50));
LabelAPoint(90, 100, func(90));
}
main()
{
clearplot();
setrange(-20, -200, 120, 1200); // leave larger blank margins
setop(B,15); // background= white
setop(c, 4); // grid = red
DrawGrid();
LabelPoints();
setop(C,0); // curve = black
// plot(i, 0, 99.9, func(i)); // not good enough resolution
DrawCurve();
}
1. Thanks for the suggestion. The upcoming new version will have that feature.
2. To draw arrows, it's best to use function plotarrow(). You can also place a character in the draw-document using putxy(x,y,""). Font is specified in setop(T, ...).
microworksoftware <microworksoftware@...> wrote:
I have two questions.
1. Any plans to save the initial options, so the next time you start CMAP they will be used. Currently, I need to set them at every CMAP activation.
2. Is it possible to print a special character by expressing it as a hexadecimal code and possibly a font. Example: I want to be able to print on the graph a down arrow or up arrow characters.
Thanks for your help.
Igor Livshin
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
I have two questions.
1. Any plans to save the initial options, so the next time you start
CMAP they will be used. Currently, I need to set them at every CMAP
activation.
2. Is it possible to print a special character by expressing it as a
hexadecimal code and possibly a font. Example: I want to be able to
print on the graph a down arrow or up arrow characters.
Thanks for your help.
Igor Livshin
Hi All,
Would any one be interested in sharing ideas about::
1. Calculating Surface area of non coplanar quads.
2. Volume of hexahedra with curved surfaces (four points on the
surface may be non coplanar).
Hi
I was looking recently at the frequency of Pythagorean Triples. In
particular I was interested in the set with opposite and adjacent as
n, (n+1), - 3,4,5 being the first in this series. The next one is
20,21,29, and this is followed by 119, 120, 169.
I set my PC generating these triples with a simple program, and I
found that the distribution – i.e., the ratio of the gap between
successive triples approximates close and closer to 3 + root(8) –
i.e., 5.828……..
Does anyone have any idea why root-eight should be linked to the
distribution of this particular set of Pythagorean Triples?
Incidentally, my interest was in looking at a shape which – as the
numbers got larger – approximated closer and closer to a square, the
hypotenuse of the triangle being the diagonal. In all of the triples
the hypotenuse is an integer, but of course for a true square the
diagonal/side ratio would be non-rational.
Any thoughts?
Ken
Hi Benjie,
I am a new member of this group. I have a problem about the polygon
approximation.
I am a automotive engineer, still a student. I have a small project
which should do the following. I need your assistance for an
algorithm for:
1.I will read a acceleration Vs Time curve, and calculate the
velocity, displacement and energy from this.
2.I will get the maximum of velocity, displacement and energy.
3.I have to approximate this acc vs time curve into a predefined
number of slopes and constants, which will depend on the shape of
the curve.
4.This approximated curve should have the same maximum velocity,
displacement and energy as that of the original curve
Could any one of u suggest me any good algorithm which will be
efficient in doing this for me.
Waiting for your valuable reply.
Best Regards
Kashi
Hello,
Since CMAP does not retain options set at runtime, I would like to
change the initial options, so whenewer CMAP starts, the options will
be set to what I need. Where the initial options are kept.
Thanks.
I am looking for an algorithm that can subdivide a polygon.
I am a geodetic engineer. My idea is that given a polygon, I can subdivide this into any number of polygons given some parameters (like the polygons should have equal area, etc).
What do you think is the best strategy to this problem? My objective is to automate this problem.
Hello all,
I am looking for an algorithm that can subdivide a polygon.
I am a geodetic engineer. My idea is that given a polygon, I can
subdivide this into any number of polygons given some parameters
(like the polygons should have equal area, etc).
What do you think is the best strategy to this problem? My objective
is to automate this problem.
Thanks!
Benjie
Hello
I am a new member to this group.
I am not a math genius, i am only a small designer and layout guy who wish
to know the official name of the attached symbols.
easy question, I assume :-))
please answer me ASAP, and a previuos thanks to all responses.
Zaher
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
Press Esc continuously.
--- In cmap@y..., "Ramin" <golpesar@h...> wrote:
> Scenario:
> --------
> ....
> mat A[2];
> ....
> while(1)
> {
> view(A);
> }
> ....
>
> This will cause and infinite loop and I think there is no way to
get
> out of it other than killing the Cmap application.
>
> Suggestion:
> ----------
> It would be very nice if an "Exit program" item is added to the
> view() window and similar windows, so that the user can terminate
the
> current running cmap program while the focus is on the view window.
>
>
> Or is there a remedy that I don't know about it?
Scenario:
--------
....
mat A[2];
....
while(1)
{
view(A);
}
....
This will cause and infinite loop and I think there is no way to get
out of it other than killing the Cmap application.
Suggestion:
----------
It would be very nice if an "Exit program" item is added to the
view() window and similar windows, so that the user can terminate the
current running cmap program while the focus is on the view window.
Or is there a remedy that I don't know about it?
Try get the missing files here:
http://www.webattack.com/help/missingfiles.html
--- In cmap@y..., "ask !" <a_toy_lab@y...> wrote:
> Hello everybody,
> Cmap, installed last year, used to run OK under Windows 95 OS.
> I have lost that version and see that Winndows 95 is not supported
> anymore.
> The first problem looks to be an MSVCIRT:DLL "file not found"
> I cant upgrade Windows. What else can I do?
> Thanks.
> Gian Paolo Bronzetti, Italia
Hello everybody,
Cmap, installed last year, used to run OK under Windows 95 OS.
I have lost that version and see that Winndows 95 is not supported
anymore.
The first problem looks to be an MSVCIRT:DLL "file not found"
I cant upgrade Windows. What else can I do?
Thanks.
Gian Paolo Bronzetti, Italia
You can always input expressions in Cmap, view() included. Just enter
the expression and press Enter. The variable name is shown on top of
the view window, so what are you confused about?
Cheers,
James
--- In cmap@y..., "voquangthanh" <voquangthanh@y...> wrote:
> I'm a new user of CMAP and I have a problem when I input data. For
> me, when I'm using Buil-in view() to get data I cann't put
> expression for what data I need and the problems are I confused
> these inputs. Besides, with Buil-in getnum()I can do that but I
> cann't input data for matrices. Do we have other functions look
like
> view() and getnum()which I can put my expressions and can do well
> with matries ?
I'm a new user of CMAP and I have a problem when I input data. For
me, when I'm using Buil-in view() to get data I cann't put
expression for what data I need and the problems are I confused
these inputs. Besides, with Buil-in getnum()I can do that but I
cann't input data for matrices. Do we have other functions look like
view() and getnum()which I can put my expressions and can do well
with matries ?
Hello,
A new Cmap.Hlp file has been uploaded to the Files area of your cmap
group. It includes documentation for OpenGL graphics in CMAP-Pro.
This file replaces the old Cmap.Hlp file. You can access the file at
the URL
http://groups.yahoo.com/group/cmap/files/%20Cmap%20Download%20and%
20News/CMAP.HLP.zip
To play with OpenGL-graphics, use CMAP-Pro to open any of the
following files (which should be in the CMAP-directory):
Olg1.cmp
Knot.ogl
Mountain.ogl
You are welcome to post interesting OpenGL scenes in CMAP-forum for
everyone to enjoy.
Regards,
Dr. K. H. Ha
Professor
Hello,
I am new in using CMAP and I would like some help with data entry.
Q: How can I read an ASCII file with my data arranged in N rows and M
columns with no variable names and then assign each column to
j=1,2,...,M global CMAP variables for further processing?
Any help is appreciated.
Thanks,
Dimitrios Thomakos
thomakos@...dimitrios_thomakos@...
Hi all,
I would like to ask if there is a chance to change the x-axis
resolution by plotting graphs. For example, if I use cmap to
graphicaly solve some polynome intersection with the axis and I would
like to read the position of the mouse cursor with requested accuracy,
not only in the "integer units". Use latest (6.6.8) version.
Thanks,
David
first...i am thankful to cmap producer...
Cmap is useful to me...
I am a Korean...30 years old...
May I ask You a question?
I had read cmap tutoral(pdf files.).
I don't know the Data file(matrix 801 by 9) in-out method.
Do you have any material about file I/O ?
help index ?
please, refer to my question...
Good-bye, everyone~~~...
e-mail address : ikarustar@...