My Math Forum  

Go Back   My Math Forum > High School Math Forum > Geometry

Geometry Geometry Math Forum


Reply
 
LinkBack Thread Tools Display Modes
October 27th, 2019, 10:55 AM   #1
Math Team
 
MATHEMATICIAN's Avatar
 
Joined: Jul 2013
From: काठमाडौं, नेपाल

Posts: 911
Thanks: 64

Math Focus: सामान्य गणित
logical help

I want to select N random points of intersection without repetition.

1. any intersection point
2. only along perimeter

The gap between the lined horizontally and vertically are same 'D'

The number of lines may differ from that of the picture, depending on values of L1, L2, W1, W2 and D
MATHEMATICIAN is offline  
 
October 27th, 2019, 10:57 AM   #2
Math Team
 
MATHEMATICIAN's Avatar
 
Joined: Jul 2013
From: काठमाडौं, नेपाल

Posts: 911
Thanks: 64

Math Focus: सामान्य गणित
this is the associated graph for reference purpose.
Attached Images
File Type: jpg IMG_20191027_224218.jpg (70.7 KB, 1 views)
MATHEMATICIAN is offline  
October 27th, 2019, 01:28 PM   #3
Senior Member
 
Joined: Feb 2016
From: Australia

Posts: 1,847
Thanks: 661

Math Focus: Yet to find out.
Just create a function which gives you the set of intersection points depending on the parameters, then choose a subset of them with a random index or something.
Joppy is offline  
October 27th, 2019, 01:35 PM   #4
Senior Member
 
Joined: Aug 2012

Posts: 2,426
Thanks: 760

Quote:
Originally Posted by MATHEMATICIAN View Post
I want to select N random points of intersection without repetition.

1. any intersection point
2. only along perimeter

The gap between the lined horizontally and vertically are same 'D'

The number of lines may differ from that of the picture, depending on values of L1, L2, W1, W2 and D
If your points are on the perimeter, why not just start in the lower left corner and traverse clockwise, listing the points of intersection? You use the dimensions to know when to turn.
Maschke is offline  
Reply

  My Math Forum > High School Math Forum > Geometry

Tags
geometry, logical, loop, matlab



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logical equivalences help matemego Number Theory 0 December 10th, 2014 10:14 AM
Logical problems..Can anyone help me? aashi.raut Applied Math 10 November 15th, 2013 02:06 PM
Help here, a logical proof danoc93 Applied Math 4 October 23rd, 2013 12:27 PM
LOGICAL EQUIVALENCE maths4computing Applied Math 15 July 20th, 2013 09:31 AM
Logical illusions Infinity Applied Math 20 April 20th, 2007 01:17 PM





Copyright © 2019 My Math Forum. All rights reserved.