Search found 10 matches

by lobow
Fri Jun 11, 2004 9:01 pm
Forum: C
Topic: arctan() and abs() functions
Replies: 4
Views: 2245

Tks, I have already founded it. abs() was in stdlib.h
and i just have atan() thats why I dont find that.
by lobow
Fri Jun 11, 2004 8:07 pm
Forum: C
Topic: arctan() and abs() functions
Replies: 4
Views: 2245

arctan() and abs() functions

Hi! I have to use these fuctions arctan() and abs() but the compiler didnt find it in math.h . Is it in another library?

Is there a site that has a list of librarys and its functions?
by lobow
Fri Jun 11, 2004 4:37 pm
Forum: Volume 106 (10600-10699)
Topic: 10609 - Fractal
Replies: 20
Views: 5748

I saw an error in my formula. I was using the midpoint to rotate, but ill never find the C point with this (i think). Then I changed the x,y coordinates of the rotation axis to the point B and the point that I want to rotate to A, rotating 60
by lobow
Fri Jun 11, 2004 3:15 pm
Forum: Volume 106 (10600-10699)
Topic: 10609 - Fractal
Replies: 20
Views: 5748

I used the same way you showed this last post. At least when I used my way in your values I found the same C point.

But when I use in my program I get (6.710351,-6.710351).

The only thing that may be wrong then its the midpoint. What formula did you use to find it? I used (A+B)/2, maybe it is wrong.
by lobow
Thu Jun 10, 2004 10:36 pm
Forum: Volume 106 (10600-10699)
Topic: 10609 - Fractal
Replies: 20
Views: 5748

angga888 wrote: x' = cos@ * (x-p) - sin@ * (y-q) + p
y' = sin@ * (x-p) + cos@ * (y-q) + q
I used this formula like this, see if its right:

I have A and B points and want to know the C

used x and y as valors of A
p and q valors of the midpoint of AB
and cos and sin of 90
by lobow
Thu Jun 10, 2004 12:37 am
Forum: Volume 106 (10600-10699)
Topic: 10609 - Fractal
Replies: 20
Views: 5748

Another dumb question... When in the problem says to divide AB in ratio of 1:3, you divided it in 3 or 4 pieces? And if I use (point A + the distance of the piece) I can get the point C?
by lobow
Wed Jun 09, 2004 3:29 pm
Forum: Volume 106 (10600-10699)
Topic: 10609 - Fractal
Replies: 20
Views: 5748

How do you rotate de coordinates? I never heard of it.
by lobow
Tue Jun 08, 2004 7:41 pm
Forum: Volume 106 (10600-10699)
Topic: 10609 - Fractal
Replies: 20
Views: 5748

Hi! Im having problems to discover the points of the equilateral triangle. Someone can help me with how can I draw this triangle?

Tks
by lobow
Tue Jun 08, 2004 7:37 pm
Forum: Volume 6 (600-699)
Topic: 609 - Metal Cutting
Replies: 4
Views: 3731

sry, wrong problem
by lobow
Tue Jun 08, 2004 7:35 pm
Forum: Volume 6 (600-699)
Topic: 609 - Metal Cutting
Replies: 4
Views: 3731

Hi! Im having problems to discover the points of the equilateral triangle. Someone can help me with how can I draw this triangle?

Tks

Go to advanced search