Search the web
Sign In
New User? Sign Up
cmap · C-based Mathematical Application Programming Environment
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 128 - 160 of 161   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#160 From: "daveydimwit" <david@...>
Date: Wed Sep 14, 2005 9:25 pm
Subject: Running on a Mac
daveydimwit
Offline Offline
Send Email Send Email
 
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

#159 From: "Harekrushna" <s_harekrushna@...>
Date: Sat Jul 16, 2005 7:25 pm
Subject: Regarding Integration
s_harekrushna
Offline Offline
Send Email Send Email
 
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

#158 From: bichnga vu <bichngavu@...>
Date: Wed Apr 13, 2005 10:14 pm
Subject: Hi every body
bichngavu
Offline Offline
Send Email Send Email
 
Dear Dr. Ha and every body,
 
 
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.
 
B.N. Vu


Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!

#157 From: "dump124" <dump124@...>
Date: Tue Jan 25, 2005 5:09 pm
Subject: Hi
dump124
Offline Offline
Send Email Send Email
 
Hi I have just joined this group...
Basically a C programmer on Linux.

#156 From: "maverick_rahulsuri" <maverick_rahulsuri@...>
Date: Sat Oct 2, 2004 1:45 pm
Subject: beginner
maverick_rah...
Offline Offline
Send Email Send Email
 
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

#155 From: "omorr1b" <omorr@...>
Date: Sat Jul 31, 2004 12:01 pm
Subject: Greetings
omorr1b
Offline Offline
Send Email Send Email
 
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

#154 From: "hyaena50" <hyaena@...>
Date: Mon Mar 15, 2004 3:11 pm
Subject: we are looking for scripts about "problem of transport"
hyaena50
Offline Offline
Send Email Send Email
 
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 :)

#153 From: "k_h_ha" <k_h_ha@...>
Date: Sun Jan 18, 2004 10:03 pm
Subject: CMAP v.6.70
k_h_ha
Offline Offline
Send Email Send Email
 
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

#152 From: Rainbow Sally <rainbowsally@...>
Date: Tue Dec 9, 2003 9:46 pm
Subject: Gotta prob... Manual integration with small deltas
rainbowsally...
Offline Offline
Send Email Send Email
 
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();
}

#151 From: "K. Ha" <k_h_ha@...>
Date: Mon Oct 27, 2003 3:35 pm
Subject: Re: Initial options
k_h_ha
Offline Offline
Send Email Send Email
 
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

#150 From: "microworksoftware" <microworksoftware@...>
Date: Sun Oct 26, 2003 4:13 am
Subject: Initial options
microworksof...
Offline Offline
Send Email Send Email
 
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

#149 From: "hexa_hedra" <hexa_hedra@...>
Date: Sat Jul 26, 2003 10:06 pm
Subject: Surface area and volume
hexa_hedra
Offline Offline
Send Email Send Email
 
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).

#148 From: "harrogate22" <kbhowell@...>
Date: Sat Jun 14, 2003 10:32 am
Subject: Pythagorean Triples
harrogate22
Offline Offline
Send Email Send Email
 
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

#147 From: "rg_kashi" <rg_kashi@...>
Date: Wed Jun 11, 2003 6:08 pm
Subject: Curve approximation
rg_kashi
Offline Offline
Send Email Send Email
 
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

#146 From: Bhuvana Ganapathi <b_ganapathi@...>
Date: Mon May 12, 2003 11:51 pm
Subject: New Member to this Group
b_ganapathi
Offline Offline
Send Email Send Email
 
Hello!
 
I am thrilled to join this intellectual user group. I am an old student of Prof. Ha.
Let me get used to this forum. more later.
 
Regards
 
Krish
 


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

#145 From: "microworksoftware" <microworksoftware@...>
Date: Sat May 10, 2003 5:57 pm
Subject: Setting initial options for CMAP
microworksof...
Offline Offline
Send Email Send Email
 
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.

#144 From: "K. Ha" <k_h_ha@...>
Date: Fri Jan 17, 2003 4:20 am
Subject: Re: ALgorithm for subdividing polygons
k_h_ha
Offline Offline
Send Email Send Email
 

The ideas in "isoparametric finite element" and "shape functions" for mesh generation may be useful for your problem.

 "Benjamin Orpilla` <benjie_orpilla@...>" <benjie_orpilla@...> wrote:

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



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

#143 From: "Benjamin Orpilla` <benjie_orpilla@...>" <benjie_orpilla@...>
Date: Wed Jan 15, 2003 3:25 am
Subject: ALgorithm for subdividing polygons
benjie_orpilla
Offline Offline
Send Email Send Email
 
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

#142 From: "Zaher Habhab" <zaherhabhab@...>
Date: Sat Dec 14, 2002 4:04 pm
Subject: Official Name of some symbols I
zaher_habhab
Offline Offline
Send Email Send Email
 
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

#140 From: "Bernard Xhumga" <xhunga@...>
Date: Thu Dec 5, 2002 7:37 pm
Subject: a new member
xhungab
Offline Offline
Send Email Send Email
 
Hello,
 
My name is bernard,
I am french.
I study alone math and programming for pleasure.
I have some notions of mapleV.
I begin in c (3 months).
 
I have written this functions which work with fractions.
 
addm, subm, multm, powm, smultm, transpose, trace,
det, minor, cofactor, mcofactor, adjoint, inverse,
gauss, gaussjordan.
 
When I have discovered your group.
 
I have installed : CmapInst.exe
 
And I try to use it.
 
thank.


#139 From: "k_h_ha" <k_h_ha@...>
Date: Fri Oct 25, 2002 3:51 pm
Subject: Re: Suggestion
k_h_ha
Offline Offline
Send Email Send Email
 
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?

#138 From: "Ramin" <golpesar@...>
Date: Fri Oct 25, 2002 2:13 pm
Subject: Suggestion
r_hazegh
Offline Offline
Send Email Send Email
 
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?

#137 From: "k_h_ha" <k_h_ha@...>
Date: Thu Sep 26, 2002 3:06 am
Subject: Re: MSVCIRT.DLL
k_h_ha
Offline Offline
Send Email Send Email
 
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

#136 From: "ask !" <a_toy_lab@...>
Date: Wed Sep 25, 2002 12:23 pm
Subject: MSVCIRT.DLL
a_toy_lab
Offline Offline
Send Email Send Email
 
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

#135 From: "jameshugues" <jameshugues@...>
Date: Wed Sep 18, 2002 1:12 pm
Subject: Re: Input data
jameshugues
Offline Offline
Send Email Send Email
 
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 ?

#134 From: "voquangthanh" <voquangthanh@...>
Date: Wed Sep 18, 2002 4:59 am
Subject: Input data
voquangthanh
Offline Offline
Send Email Send Email
 
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 ?

#131 From: "k_h_ha" <k_h_ha@...>
Date: Sat Jun 15, 2002 3:49 pm
Subject: New Cmap.Hlp for CMAP Pro
k_h_ha
Offline Offline
Send Email Send Email
 
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

#130 From: "wxyzabcd12342002" <dimitrios_thomakos@...>
Date: Thu Jun 13, 2002 7:14 pm
Subject: Data entry
wxyzabcd1234...
Offline Offline
Send Email Send Email
 
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@...

#129 From: "dkomanek" <komanek@...>
Date: Fri May 31, 2002 12:34 pm
Subject: x-axis resolution by plotting
dkomanek
Offline Offline
Send Email Send Email
 
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

#128 From: "ikarustar" <ikarustar@...>
Date: Fri May 10, 2002 4:06 am
Subject: help...
ikarustar
Offline Offline
Send Email Send Email
 
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@...

Messages 128 - 160 of 161   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help