You are on page 1of 8

ME F318: Computer Aided Design

Tutorial/Assignment - 2

BITS Pilani
Hyderabad Campus
TUTORIAL PROBLEM

T1. Find the point, tangent vector and slope of a parametric general ellipse with α=40°

plane at u = 0.65 when the major and minor axes are 180 mm and 90 mm respectively, by

(i) using the parametric equation of the general ellipse, and (ii) using the parametric

equation of the basic ellipse followed by coordinate transformation from WCS to MCS.

(iii) At what value of the parameter does the slope become unbounded?

BITS Pilani, Hyderabad Campus


TUTORIAL SOLUTION
; ;
(i) P (u) = [xc + A cos (2 × π × u) cos (α)-B sin (2 × π × u) sin (α) yc + A cos (2 × π × u) sin (α) + B sin (2 × π × u) cos (α) zc],
0≤u≤1

;
= [0 + 90 × cos (2 × π × 0.65) × cosd (40) – 45 × sin (2 × π × 0.65) × sind (40) 0 + 90 × cos (2 × π × 0.65) × sind (40) + 45× sin

;
(2 × π × 0.65) ×cosd (40) 0]

= [–17.1 , –61.9 , 0]

Differentiating with respect to “u” the parametric equation for general ellipse:

; ;
P’(u)=[ –A sin (u) cos(α) – B cos (u) sin (α) –A sin (u)sin (α) + B cos (u)cos (α) 0]

;
=[-2×π×90×sin(2×π×0.65)×cosd(40)–2×π×45×cos(2×π×0.65)×sind(40) –2×π×90×sin(2×π×0.65)×sind(40)+

2×π×45×cos(2×π×0.65)×cosd(40) 0] ;
= [457.3, 166.8, 0].
BITS Pilani, Hyderabad Campus
BITS Pilani, Hyderabad Campus
BITS Pilani, Hyderabad Campus
TUTORIAL SOLUTION
(ii) Basic ellipse with respect to the WCS:

; ;
P (u) = [A cos (2 × π × u) B sin (2 × π × u) 0], 0≤u≤1

; ;
P (u=0.65) = [90 × cos (2 × π × 0.65) 45 × sin (2 × π × 0.65) 0] = [–52.9, –36.4, 0]

P’(u) = [–2 × π × A × sin (2 × π × u); 2 × π × B × cos (2 ×π × u); 0], 0≤u≤1

P’(u = 0.65) = [–2 × π × 90 × sin(2 × π × 0.65); 2 × π × 45 × cos (2 × π × 0.65); 0]


= [457.5, –166.2, 0]
[P (u)]MCS = [T] × [P (u)]WCS

; ; ;
=[cosd(40) , cosd(130) , cosd(90) , 0 cosd(50) , cosd(40) , cosd(90) , 0 cosd(90) , cosd(90) , cosd(0) , 0 0 , 0 , 0 , 1] × [–52.9

; –36.4 ; 0 ; 1]
= [–17.1; –61.9 ; 0 ; 1], which is same as the result with general ellipse equation.

BITS Pilani, Hyderabad Campus


TUTORIAL SOLUTION

[P’(u)]MCS = [T] × [P’(u)]WCS

; ; ;
=[cosd(40) , cosd(130) , cosd(90) , 0 cosd(50) , cosd(40) , cosd(90) , 0 cosd(90) , cosd(90) , cosd(0) , 0 0 , 0 , 0 , 1] × [457.5 ;
–166.2 ; 0; 1]
= [457.3; 166.8; 0; 1], which is the same as the result with the general ellipse equation.

(iii) –90 ×sin (u) × cosd (40) – 45 ×cos (u) × sind (40) = 0

Tan (u) = – (45/90) × tand (40) ; u = a tand (–(45/90) × tand (40)) = –22.8.
That means the slope becomes unbounded at 360 – 22.8 = 337.2. Also at 180 – 22.8 = 157.2.

BITS Pilani, Hyderabad Campus


ASSIGNMENT PROBLEM

(A) Find the point and tangent vector at a value of the parameter u as given below of a parametric parabola with respect to the

MCS by (i) using the parametric equation of the general parabola, and (ii) using the parametric equation of the basic parabola

followed by coordinate transformation from WCS to MCS. The parametric parabola is lying in a plane parallel to X-Y plane with

its vertex at [5, 4, 1] and its axis of symmetry inclined at α = 60° to X-axis. Its focal distance is 50 mm. (iii) At what value of

parameter does the slope become unbounded?

Student-specific parameter value: Solve your assignment at the value of u equal to the first non-zero digit from left plus 0.1

times the first digit from the right in the last three digits of your ID number.

For example, if the last three digits in the ID number are 725 then u = 7 + 0.1 × 5 = 7.5. If this calculation for your ID number

results in zero, then use u = 5.75.

BITS Pilani, Hyderabad Campus

You might also like