Parametric Equations are a set of equations that express a set of quantities as
ID: 3530894 • Letter: P
Question
Parametric Equations are a set of equations that express a set of quantities as explicit functions of a number of independent variables, known as parameters, and are broadly used within the structural engineering domain. 1. Given two 2D points, p1 and p2, the parametric line equation is defined asp(t) = (1-t)*p1+ t*p2 , for t ? [0,1], and two 2D p1 and p2 of the form pi=[xi, yi] Using this equation, write a function to discretize a line between points p1 and p2, based on a given step size ?t for t and return the computed points. Assume that points holds all computed value pairs in an nx2 matrix form.function points = discretizeLine(p1, p2, stepsize) Note: Make sure that your function properly handles arbitrary step sizes and discretizes the line in some form from beginning to end, using known or computed information and some common sense. Examples: >> discretizeLine([0 0], [1 0], 0.01); >> discretizeLine([0 0], [1 0], 0.6); >> discretizeLine([0 0], [1 0], 2.0);
Explanation / Answer
http://www.google.com.pk/#hl=en&output;=search&sclient;=psy-ab&q;=Parametric+Equations+are+a+set+of+equations+that+express+a+set+of+quantities+as+explicit+functions+of+a+number+of+independent+variables,+known+as+parameters,+and+are+broadly+used+within+the+structural+engineering+domain.+1.+Given+two+2D+points,+p1+and+p2,+the+parametric+line+equation+is+defined+asp(t)+=+(1-t)*p1++t*p2+,+for+t+?+[0,1],+and+two+2D+p1+and+p2+of+the+form+pi=[xi,+yi]+Using+this+equation,+&oq;=Parametric+Equations+are+a+set+of+equations+that+express+a+set+of+quantities+as+explicit+functions+of+a+number+of+independent+variables,+known+as+parameters,+and+are+broadly+used+within+the+structural+engineering+domain.+1.+Given+two+2D+points,+p1+and+p2,+the+parametric+line+equation+is+defined+asp(t)+=+(1-t)*p1++t*p2+,+for+t+?+[0,1],+and+two+2D+p1+and+p2+of+the+form+pi=[xi,+yi]+Using+this+equation,+&gs;_l=hp.12...3242.3242.0.4595.1.1.0.0.0.0.0.0..0.0.les;..0.1...1c..6.psy-ab.EaXuM8PdC7s&pbx;=1&bav;=on.2,or.r_qf.&bvm;=bv.43828540,d.ZWU&fp;=a6dd36bc29c9735d&biw;=1024&bih;=629
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.