Question: i need this asap please x=2 1. Assign the variable uid to your University ID Number as a string. For example if your UID is

i need this asap please x=2 1. Assign the variable uid toi need this asap please

x=2 1. Assign the variable uid to your University ID Number as a string. For example if your UID is 012345678 you would assign uid='012345678'. Note the apostrophes which make it a string of letters. Do not just do uid=012345678. You should not use the Matlab variable uid from here on out (See question 3 for clarification), it's just programmed in so that the software can check the remaining problems. 2. If the last digit of your UID is even, calculate sin 0.3). If it is odd, calculate cos (0.3). Assign the result to a2. 3. Let L be the leftmost nonzero digit of your UID and let R be the rightmost nonzero digit of your UID. Use diff and subs to calculate d xl. - R Assign the result to a3. For example if your UID were 12345670 then you would simply do: a3 = subs (diff((x^1- dr cos x 7)/cos(x)),x,2). 4. Let S be the sum of the digits in your UID. Use int to calculate f. Vadx. Assign the result to a4. 5. Let L be the smallest digit appearing in your UID and let R be the largest digit appearing in your UID. The function f(x) = (x-LR-X) opens down and crosses the x-axis at x=L and x=R. Use int to find the area below f (x) on the interval (L, R). Assign the result to a5. 6. Let K be your UID and let L be the number obtained by reversing the digits of your UID. Use solve to solve the system of equations xy = K and x + y = L Assign the result to a6. 7. Let p(x) be the degree 8 or lower polynomial constructed using coefficients from your UID in order. For example if your UID is 318554213 then the values 3,1,8, become the coefficients and we get p(x) = 3x8 + 1x? +886 + 5x3 + 5x4 + 4x3 + 2x2 + 1x! +3. Use d diff to calculate dezp(x). Assign the result to the symbolic function f(x). 8. Let A be the leftmost nonzero digit of your UID and let B be the second-leftmost nonzero digit in your UID. Use vpasolve to find the approximate single x-intercept for the function y = x2A+1 +eBx Assign the result to a8

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!