Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need this asap please + + ... + This problem is customized to your UID. Please note that technically speaking you could use any

image text in transcribedi need this asap please

+ + ... + This problem is customized to your UID. Please note that technically speaking you could use any number (not just your UID) for this and the tests will pass, I will be downloading and checking submissions in order to make sure that your submission corresponds to your UID. White a script which does each of the following in order. You will need to syms variables as needed. Where you do this is up to you. 1. Assign uid to your University ID Number as a string. For example if your UID is 012345678 you would assign uid='012345678'. You should not use the Matlab variable uid from here on out, it's just programmed in so that the software can check the remaining problems. 2. Let L be the largest single digit of your UID. Write a for loop which calculates the sum 1 1_1 1 L1213 and assigns the result L 100 to the variable a 2. 3. Let P be the product of the nonzero digits of your UID. Write a for loop which calculates the sum 0.990 +0.993 +0.996 + ... +0.993 and assigns the result to the variable a3. 4. Let S be the sum of the digits of your UID. Write a while loop which finds the smallest integer n such that 1 N and assigns the result to the variable a5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Chemical Engineering Design And Analysis An Introduction

Authors: T. Michael Duncan, Jeffrey A. Reimer

2nd Edition

1108421474, 9781108421478

More Books

Students also viewed these Chemical Engineering questions