Azzera filtri
Azzera filtri

Tracing an arc on circumfrence of quarter circle

1 visualizzazione (ultimi 30 giorni)
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 Commenti
darova
darova il 25 Mar 2020
Position angle of each arc is the same? Or do you have data for them?
Ron Herman
Ron Herman il 25 Mar 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

Accedi per commentare.

Risposta accettata

darova
darova il 25 Mar 2020
Solution:
I used fsolve to find: RedArea - BlueArea = 0
See script
  7 Commenti
darova
darova il 19 Mag 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by