필터 지우기
필터 지우기

Tracing an arc on circumfrence of quarter circle

조회 수: 1 (최근 30일)
Ron Herman
Ron Herman 2020년 3월 25일
댓글: darova 2020년 5월 19일
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
darova
darova 2020년 3월 25일
Position angle of each arc is the same? Or do you have data for them?
Ron Herman
Ron Herman 2020년 3월 25일
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

댓글을 달려면 로그인하십시오.

채택된 답변

darova
darova 2020년 3월 25일
Solution:
I used fsolve to find: RedArea - BlueArea = 0
See script
  댓글 수: 7
darova
darova 2020년 3월 28일
See ap variable?
darova
darova 2020년 5월 19일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by