Previous in Forum: Trianglular Solid Antenna   Next in Forum: WiFi Cable Modems
Close
Close
Close
17 comments
Rating: Comments: Nested
Associate

Join Date: Sep 2011
Posts: 47

Fitting a Triangle

12/08/2014 8:55 AM

Hi..

I have a different query here.. I have a sine wave plotted in the graph. I wanted to know whether its possible to fit a triangle using three points(origin,first maximum,first minimum). I have calculated the length of sides and angles. It satisfies the properities of triangle(sum of twosides>thirdside and sum of angles = 180). I just wanted to know whether my fitting is correct...my aim is to calculate the distance of the maximum peak from the line joining origin and first minimum.. I have fitted a triangle to calculate the same.. Please guys help me with this..

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#1

Re: Fitting a Triangle

12/08/2014 10:13 AM

"my aim is to calculate the distance of the maximum peak from the line joining origin and first minimum" - may I ask why?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#2

Re: Fitting a Triangle

12/08/2014 12:37 PM

I think you need to explain what you're really trying to do.

Paraphrasing your question:-

Can I draw a triangle by joining three dots. Can I then measure the height of one dot above the base formed by the other two.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Guru
Safety - Hazmat - New Member United States - US - Statue of Liberty - New Member Engineering Fields - Chemical Engineering - Old Hand

Join Date: Mar 2011
Location: Lubbock, Texas
Posts: 14331
Good Answers: 162
#11
In reply to #2

Re: Fitting a Triangle

12/09/2014 11:49 AM

Maybe he is trying to design a new fractal antenna.

__________________
If it ain't broke, don't fix it. Just build a better one.
Register to Reply
Guru

Join Date: Jul 2007
Location: Commissariat de Police, Nouvions, occupied France, 1942.
Posts: 2599
Good Answers: 77
#3

Re: Fitting a Triangle

12/08/2014 3:00 PM

I can't see the connection with sine waves, Mildred. You need to explain the problem to me a bit more.

__________________
Good moaning!
Register to Reply
Guru
Technical Fields - Project Managers & Project Engineers - New Member

Join Date: Jun 2014
Posts: 623
Good Answers: 33
#4

Re: Fitting a Triangle

12/08/2014 3:54 PM

You say you want to calculate the length from a point to a line. At what point of the line do you want the distance to be measured from?

If I understand the word picture you describe correctly, I do not see why you cannot use a triangle vs. arithmetic with x & y coordinates on your ordinate system.

Either way works.

__________________
Hey Isaac, catch! ...oops, that's gonna leave a mark...
Register to Reply
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#5

Re: Fitting a Triangle

12/08/2014 5:13 PM

It sounds like you have a graph similar to what is plotted below. The answer is 'Yes' you can solve for the sides, angles and area of the triangle - BUT you need to be working in 'pure' numbers.

Visually, the way you plot the graph can yield very different looking triangles, as you can see in the two examples below. But if you stick to pure numbers - algebra and trigonometry - you will get the same values, regardless of what the triangle looks like.

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9913
Good Answers: 1141
#6
In reply to #5

Re: Fitting a Triangle

12/08/2014 8:01 PM

It looks harder than it is. Imagine a rectangular grid of 12 uniformly spaced points, 4 wide by 3 tall. Number them 1 to 4 (top), 5 to 8 (middle), and 9 to 12 (bottom). The lines go from #5 to #2, #5 to #12, and #2 to #12. If the vertical spacing is dy (the amplitude of the sine wave) and the horizontal spacing is dx (1/4 wavelength), then the line lengths are sqrt(dx^2 + dy^2), sqrt(9dx^2+dy^2), and sqrt(4dx^2+4dy^2). Once you know the lengths of the sides, you can calculate each angle from the length of the three sides using the law of cosines:

C=sqrt(A^2 + B^2 -2ABcos(c)) , where c is the angle opposite side C.

Register to Reply
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#7
In reply to #6

Re: Fitting a Triangle

12/08/2014 11:26 PM

If my graph describes what the OP is asking, then the lengths and angles are given by the following, using pi since pure numbers are required.

h1 = √[12 + (pi/2)2]

h2 = √[12 + (3 pi/2)2]

h3 = √[22 + (pi)2]

A1 = arcsin(1/h1) + arcsin(1/h2)

A2 = pi - 2 arcsin(1/h1)

A3 = pi - A1 - A2

The area can be given by: AREA = ½ (1*pi) + ½ (1 * 3 pi/2) - ½ (1 * pi/2); AREA = pi.

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply Score 1 for Good Answer
3
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#12
In reply to #7

Re: Fitting a Triangle

12/09/2014 3:00 PM

Good Answer (I think).

Just for completeness:_

OP Please tell us if we're barking up the right tree, or, just barking mad.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply Good Answer (Score 3)
Guru
Technical Fields - Technical Writing - New Member Engineering Fields - Piping Design Engineering - New Member

Join Date: May 2009
Location: Richland, WA, USA
Posts: 21017
Good Answers: 795
#13
In reply to #12

Re: Fitting a Triangle

12/09/2014 5:38 PM

GA; only answer so far that shows (h) what the OP asked.

__________________
In vino veritas; in cervisia carmen; in aqua E. coli.
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#14
In reply to #13

Re: Fitting a Triangle

12/09/2014 8:03 PM

Agreed. Distance from the line was was to be found. I was going to post a similar diagram, but I've been working on site, away from a suitable PC.

(Sheesh - doesn't that sound like sour grapes?)

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply Off Topic (Score 4)
Guru

Join Date: Jan 2006
Location: Tamworth, UK.
Posts: 1782
Good Answers: 45
#15
In reply to #13

Re: Fitting a Triangle

12/10/2014 8:01 AM

Yes, Tornado 13, in the sense that a value for 'h' has been given, but that is just one possible answer because it could be any length from 'a' to 'c' depending on where the point is on the line AC.

No answer to my question in post 9 has been given.

The point used by Randall 12 for 'h' might be right, but it would be useful to know if this is the one the OP had in mind.

__________________
When arguing, remember mud-slinging = lost ground.
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#17
In reply to #15

Re: Fitting a Triangle

12/10/2014 8:20 AM

Surely the distance from a point to a line only has any practical meaning if it refers to the shortest distance?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
2
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#16
In reply to #7

Re: Fitting a Triangle

12/10/2014 8:17 AM

In my example above, the height H the OP is looking for is simply given by:

H = 2*AREA / h2. I.e.,

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply Good Answer (Score 2)
Commentator

Join Date: Sep 2011
Location: Durban South Africa
Posts: 75
Good Answers: 2
#8

Re: Fitting a Triangle

12/08/2014 11:26 PM

Easily done using co-ordinate geometry.

Register to Reply
Guru

Join Date: Jan 2006
Location: Tamworth, UK.
Posts: 1782
Good Answers: 45
#9

Re: Fitting a Triangle

12/09/2014 7:01 AM

' my aim is to calculate the distance of the maximum peak from the line joining origin and first minimum'

Do you mean a point 'anywhere' on the line? the mid point of the line, or one that is vertical ?

Intuitively I feel the answer can be derived in terms of frequency and amplitude.

The mathematicians can help here.

__________________
When arguing, remember mud-slinging = lost ground.
Register to Reply
Guru

Join Date: Feb 2011
Posts: 1119
Good Answers: 11
#10

Re: Fitting a Triangle

12/09/2014 10:37 AM

Yes it could fit. If your interest is to approximate the area bounded by it, say Volt* Seconds or Amperes* Seconds, why not use real sine function and integrate it?

__________________
" To infinity and beyond" - Buzz Lightyear
Register to Reply
Register to Reply 17 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

beentheredonethat (1); Crabtree (1); horace40 (2); James Stewart (1); JohnDG (3); Massey (1); Noudge79 (1); Randall (2); Rixter (1); Tornado (1); Usbport (3)

Previous in Forum: Trianglular Solid Antenna   Next in Forum: WiFi Cable Modems

Advertisement