Maths Question - SIN COS etc - HotUKDeals
We use cookie files to improve site functionality and personalisation. By continuing to use HotUKDeals, you accept our cookie and privacy policy.
Get the HotUKDeals app free at Google Play

Search Error

An error occurred when searching, please try again!

Login / Sign UpSubmit

Maths Question - SIN COS etc

£0.00 @ COS
Have a problem: i need to draw a curve using straight equal length lines. It has 4 parameters: start X and Y and an end X and Y Start X and Y will be the pivot so will never change but …
mds1256 Avatar
6y, 2m agoPosted 6 years, 2 months ago
Have a problem:

i need to draw a curve using straight equal length lines.

It has 4 parameters: start X and Y and an end X and Y

Start X and Y will be the pivot so will never change but i need to work out the end X and Y in order to create a 1/4 circle using equal length lines.

Any one know of the equation to solve this?
Other Links From COS:
mds1256 Avatar
6y, 2m agoPosted 6 years, 2 months ago
Options

All Comments

(10) Jump to unreadPost a comment
Comments/page:
#1
Might need to draw what you mean: do you mean you want a set of 4 joined, equal length, straight lines that span from sX:sY to eX:eY that follow are 90 degree arc?
#2
I think I know what you're asking
..effectively what you're trying to do is lay intersecting tangents of equal length on a 1/4 size circle
correct?
and what you're trying to achieve is the a formula for the perimeter of the shape formed by the intersecting equi-length tangents
correct?
#3
darklight
I think I know what you're asking..effectively what you're trying to do is lay intersecting tangents of equal length on a 1/4 size circle correct?and what you're trying to achieve is the a formula for the perimeter of the shape formed by the intersecting equi-length tangents correct?

......................... Just what I was thinking!.............................................. honest
#4
yes!


-----------------------------
|
|
|....................................................................................<------- the curve from the horizontal to the vertical ish lol
|
|
|





Edited By: mds1256 on Jan 04, 2011 13:40
#5
snowtiger
darklight
I think I know what you're asking..effectively what you're trying to do is lay intersecting tangents of equal length on a 1/4 size circle correct?and what you're trying to achieve is the a formula for the perimeter of the shape formed by the intersecting equi-length tangents correct?


......................... Just what I was thinking!.............................................. honest



..love things like this...take a look @ this other problem
link

http://www.hotukdeals.com/misc/anyone-good-at-physics-activity-hal/819170?page=3

anyway ...will get back later this afternoon..if you haven't resolved it by then
cheers
DL
#6
any luck?
#7
sorry for the late response ...have you made any progress yourself?

we're looking at a polygonic figure ?
I assume you know the radius of this 1/4 circle you'd like to draw ?
so either
1) we have this circle enclosing a polygon with the tips of the polygon touching the inner perimeter of the circle ( 1/4 circle to be specific )
or
2) have the circle just fitting inside the the polygon which would automatically create tangents for you if you see what I mean
( rather like fitting a small bicycle wheel into a multisided (angular) hat box so that the wheel touches every angled side( face)
..my mums hat boxes come to mind..haha)


anyway take a look here

http://www.mathopenref.com/polygonregulararea.html

cheers
#8
No... still struggling..

radius is - 6cm
#9
..ok will have a go ...be back later..
cheers
#10
worked it out in the end

var offsetX = 0;
var offsetY = 100;
var circleRadius = 600;
for(i = 0; i<=90; i++)
{

x = (Math.cos(i * 3.142 / 180) * circleRadius);
y = (Math.sin(i * 3.142 / 180) * circleRadius);

}

Post a Comment

You don't need an account to leave a comment. Just enter your email address. We'll keep it private.

...OR log in with your social account

...OR comment using your social account

Looking for Twitter login?
Thanks for your comment! Keep it up!
We just need to have a quick look and it will be live soon.
The community is happy to hear your opinion! Keep contributing!