I'd like to draw a triangle and mark a point P in it with barycentric coordinates (3/4,1/6,1/12). How to do this with Maple? Best regards, Rainer Rosenthal r.rosenthal@web.de

0 |

4/16/2006 9:48:36 PM

Perhaps this will do for you. > restart: > with(plots): > P[1],P[2],P[3]:=[3,5],[-1,4],[7,-3]: > B:=[3/4,1/6,1/12]: > C:=add(B[i]*P[i],i=1..3): > > T:=plot([P[1],P[2],P[3],P[1]], style=line, color=red, scaling = constrained,axes=normal): > Pt:=plot([C], style=point,symbol=circle,color=blue): > Text:=textplot([op(C+[-.2,.2]),convert(B,string)],align={ABOVE,RIGHT}): > > display([Text,T,Pt]);

0 |

4/17/2006 2:37:12 AM

Edwin Clark schrieb: > Perhaps this will do for you. Many thanks, it really did! I added the normalization and was able to display the picture I wanted: Point [17,3,8] in an equilateral triangle. My new version including three Easter-eggs as a little present for you: restart: barycentric := proc(tri,raw) sum(evalf(tri[j])*raw[j]/sum(raw[i],i=1..3),j=1..3) end proc: with(plots): P[1],P[2],P[3]:=[0,0],[1,0],[1/2,sqrt(3)/2]: B := [17,3,8]: C := barycentric(P,B): T:=plot([P[1],P[2],P[3],P[1]], style=line,color=red,scaling=constrained,axes=normal): Pt:=plot([C], style=point,symbol=circle,color=blue): Text:=textplot([op(C+[0.02,0.02]),convert(B,string)],align={ABOVE,RIGHT}): display([Text,T,Pt]); # # Thanks to Edwin Clark --- some Easter-eggs # p1 := plot([sin(x),x,x=0..2*Pi], color=red, axes=normal): p2 := plot([sin(x)*0.7,x,x=0..2*Pi], color=blue, axes=normal): p3 := plot([sin(x)*0.2,x,x=Pi..2*Pi], color=green, axes=normal): q1 := changecoords(p1, polar): q2 := changecoords(p2, polar): q3 := changecoords(p3, polar): display([q1,q2,q3]); Best regards, Rainer Rosenthal r.rosenthal@web.de

0 |

4/17/2006 8:50:06 AM

Please. Can anyone will help me through this 1. How to enter the document into the maple soft.? 2. How to enter the file into the maple software?? In article <0bd39523-9a45-41bc-9512-e492962bd258@ir9g2000pbc.googlegroups.com>, darshi <darshantv401@gmail.com> wrote: > Please. Can anyone will help me through this > 1. How to enter the document into the maple soft.? > 2. How to enter the file into the maple software?? Mac, Windows, Linux, ... ??? On Mac, you can select "Open" in the "File" menu of Maple. Or drag the document onto the icon o...

Author acquired a licensed copy of mathematical software Maple V Release 8.= 0 by=20 ( Waterloo ) Maple Soft. Author is not as desperate as any of the Napoleon= Bonapartes; yet, author is desperately seeking a copy of a software execut= able hotfix-patch-upgrade 8.0.1 program [ and any all if any more recent th= an referenced version 8.0.1 ] -- for mathematical software Maple V Release = 8.0=20 ( Waterloo Maple Soft ). If you may provide a copy: =20 FOR REPLY =3D---> Upload to mjollnir0101@GMAIL.com in form of attachment to= electronic mail message. eNd oF mEsSaGe. =20 ...

Assuming one needs to have a function returning false or true on each call in pseudo-random order.and using JavaScript native Math.random() method as the basis of the pseudo-randomness. Say the variants of such function are: getAnswer1() { var n = Math.round(Math.random()); return n ? true : false; } getAnswer2() { var n = Math.floor(Math.random()*2); return (n==2) ? true : false; } Leaving obvious practical testing by platforms aside: Is there are theoretical considerations that pseudo-randomness (predictability) of either of above will be better or worse than the o...

Author acquired a licensed copy of mathematical software Maple V Release 8.0 ( by Waterloo Maple Soft ). Author is not as desperate as any of the Napoleon Bonapartes; yet, affirmatively is seeking a copy of software executable hotfix-patch-upgrade 8.0.1 program [ and any all if any more recent than referenced version 8.0.1 ]for Maple V Release 8.0 ( Waterloo Maple Soft ). If you may provide a copy: FOR REPLY =---> Upload to mjollnir0101@GMAIL.com [ SIC ]. ...

Author acquired a licensed copy of mathematical software Maple V Release 8.= 0=20 ( Waterloo Maple Soft ). Author is not as desperate as any of the Napoleon= Bonapartes; yet, affirmatively is seeking a copy of software executable=20 hotfix-patch-upgrade 8.0.1 program [ and any all if any more recent than re= ferenced version 8.0.1 ] for Maple V Release 8.0 ( Waterloo Maple Soft ). = If you may provide a copy of an upgrade-patch-hotfix for one or more of thr= ee versions of referenced software program for MacOS ( Apple Mcintosh Compu= ter ), LiNUX ( Linus Thorvald ), and Windows ( Mi...

Hi there, Assume one point is within a cuboid, The point should be represented by a linear combination of all vertices of the coboid. Could someone tell me how to calculate the weight for those vertices? or any reference paper? I only know the same case within a convex polygon and a tetrahedron.. subdivide the cuboid into several tetrahedra? Thanks very much : ) Best Regards, Brian Brian <cuckoo@cs.nchu.edu.tw> wrote: > Assume one point is within a cuboid, > The point should be represented by a linear combination of all vertices > o...

Hello all, I have points P1, P2 lying in a triangle A, B, C. I'm able to compute barycentric coordinates of P1 and P2. Is it possible to interpolate somehow the barycentric coordinates to obtain points which lie on the line segment P1P2? Of course, I could interpolate linearly between P1 and P2, but I would like to interpolate bar. coordinates instead. Is that possible? Thanks. Jindra On Apr 12, 3:39 pm, jindra <jpa...@gmail.com> wrote: > Hello all, > I have points P1, P2 lying in a triangle A, B, C. I'm able to compute > barycentric coordinates of P1 and P2. Is it po...

Does anybody know if there exists in Maple (or possibly as an external package) something with the equivalent functionality of Combinatorica for Mathematica? cheers, -A ...

Peter Shirley's book ("Fundamentals of Computer Graphics") discusses color interpolation via barycentric coordinates. It also says: "we can use the barycentric coordinates to interpolate the depth values of the vertices to each pixel." Is this correct though? I thought some special perspective correct interpolation had to be done. > Peter Shirley's book ("Fundamentals of Computer Graphics") discusses color > interpolation via barycentric coordinates. It also says: "we can use the > barycentric coordinates to interpolate the dept...

Hi everyone, some of you know how fill a quads in 2D using barycentric coordinates?At the present, I'm splitting the quads into 2 triangles, but that way is inefficient because I have to iterate over the second bounding box which repeats pixel that were filled previously (by example, to fill the 2nd triangle I traversed the 1st triangle that belongs at bounding box formed by 2nd triangle) Thanks esmitt Am 01.07.2010 00:50, schrieb esmitt: > Hi everyone, some of you know how fill a quads in 2D using barycentric > coordinates? I think we all know that that's a bad idea, so don&#...

Hi, I have a transformation x+iy=exp(a+ib), where a and b are the coordinates of the new system. What is the best way to derive different derivatives in the new system in maple? The first derivative is quite easy, but when we go, to lets say, second derivative of a certain function by x and y, getting the derivative by a and b becomes something tricky and long. And I need third derivatives as well, so I'd rather the computer do it for me. Victor In article <1188227922.245830.163710@r29g2000hsg.googlegroups.com>, Victor <Mollari@gmail.com> wrote: >I have ...

Hi, just curious if there's a neat way to get the barycentric coordinates (or similar) of the current fragment in a GLSL shader? Only way I could think of it was to render each triangle individually, but that's not too good for performance... - Asbj�rn Lord Crc wrote: > just curious if there's a neat way to get the barycentric coordinates > (or similar) of the current fragment in a GLSL shader? NO, but you can get the same result if you can afford to choose the primitive type to be GL_TRIANGLES and setup the barycentric to each vertex as: A = vec3(1.0, 0.0, 0.0); B = v...

I realize this is not truly a LabVIEW question, but I'm hoping for suggestions. I have a digitized image of a sample on a 3 axis stage. The user selects "paths" for a drill to take along the surface of the sample. On the image, 3 reference points are identified. The stage posititions (x, y, and z) corresponding to these points are then identified. I need to now convert the coordinates of the paths to the stage coordinate system. Are there any LabVIEW vi's that are suited to this need? I have IMAQ vi's but not very experience with these yet. Suggestions much apprecia...

Had a good Christmas this weekend? I came across diskettes with "Mailmerge 3.0 and Calcstar version 1.45 for CP/M 8080", that seem to be for a Dec Rainbow machine. Besides a Mailmerge overlay and the Calcstar files, some CP/M and some CP/M-86 files, there are three files on the diskettes that I never have heard of before: Z80.SYS, Z80CCP.SYS and PRMTVPVT.SYS. There are no ASCII texts in PRMTVPVT.SYS. The only ASCII text in Z80.SYS (at the end of the file) is "EI SPHLDI XCHGPCHLXTHLRET HLT CMC STC CMA DAA RAR RAL RRC RLC NOP CPI ORI XRI ANI SBI IN SUI OUT ACI ADI CALLJMP LDA...

) is the point between two objects where they balance each other. For example, it is the center of mass where two or more celestial bodies orbit ...

This video, part of a new series of ESA teaching resources called 'Teach with space', shows an experiment performed by ESA astronaut Samantha ...

A comet is an icy small Solar System body (SSSB) that, when close enough to the Sun , displays a visible coma (a thin, fuzzy, temporary atmosphere ...

Dynamical time is required to describe the motion of bodies in a particularreference frame and according to a particular gravitational theory. ...

two dimensional curves index A-E

Award-winning reference tool providing easy access to authoritative and up-to-date information across all major areas of science and technology. ...

Maybe you heard that ATI GPUs starting from 2*** have hardware tessellation unit. Maybe you have seen it working in GPU Mesh Mapper and Render ...

a measured or measurable period, a continuum that lacks spatial dimensions. Time is of philosophical interest and is also the subject of mathematical ...

Online Astronomy Text Table of Contents Recent Updates / Recent Pictures / Recent Questions and Replies © Courtney Seligman, 1993-2010 (This ...

See what's going on with flipcode! This section of the archives stores flipcode's collection of featuredarticles and columns. Reflections and ...

Resources last updated: 2/12/2016 6:09:58 PM