Filter löschen
Filter löschen

Tracing an arc on circumfrence of quarter circle

1 Ansicht (letzte 30 Tage)
Ron Herman
Ron Herman am 25 Mär. 2020
Kommentiert: darova am 19 Mai 2020
As per the given problem I have to place the arc on the circumfrence of quarter circle in the best possible way.....
Radius of Quarter curcle=55
Radius of arc= 9 and arc angle=60
The objective of the problem is that the arc bottom point should touch the green line as shown in figure. The quarter circle is divided into equal section of gap 'a'. we need to put the arc center in each zone in best way such that arc traces the quarter circle in best way as shown.
Data can be changed if desired.....
This problem required calculus to find best position of diffrent arc center
Arc radius=9 and arc angle=60 degrees. ( we only need to adjust the arc centeres x cordinate for all arcs)
All the arcs are identical and even there orientation are same and the arcs cannot be rotated.
a=55/6
b1 (given)=4.55
b2=b1+ 1*(a) = 4.55 +1* (55/6)
b3=b1+2*(a) = 4.55 + 2*(55/6)
b4=b1+3*(a) = 4.55 +3 *(55/6)
b5=b1+4*(a) = 4.55 +4 *(55/6)
b6=b1+5*(a) = 4.55 + 5*(55/6)
  6 Kommentare
darova
darova am 25 Mär. 2020
Position angle of each arc is the same? Or do you have data for them?
Ron Herman
Ron Herman am 25 Mär. 2020
all position angle are same....60 degree such that arc will touch the bottom line and all the bottom lines and y coordinate of arc centers are defined

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

darova
darova am 25 Mär. 2020
Solution:
I used fsolve to find: RedArea - BlueArea = 0
See script
  7 Kommentare
darova
darova am 28 Mär. 2020
See ap variable?
darova
darova am 19 Mai 2020
Save arcoptim function in separate file. Use main function as a script
r = 10;
R = ...
% code
And separate file with name arcoptim.m
function A = arcoptim(x0,y0,x1,y1,R)
% code

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by