Question: You need to write scripts for all problems. Each script should contain the comments on each line. You also need to publish your scripts to

 You need to write scripts for all problems. Each script should
contain the comments on each line. You also need to publish your

You need to write scripts for all problems. Each script should contain the comments on each line. You also need to publish your scripts to pdf files. 1. (Chapter.1) Store a number with a decimal place in a double variable (the default). Convert the variable to type int32 and store the result in a new variable. (10pts) 2. (Chapter.1) Create a variable ftemp to store a temperature in degrees Fahrenheit F). Convert this to degrees Celsius C) and store the result in a variable ctemp. The conversion factor is C (F-32) 5/9. (10pts) 3. (Chapter.1) What would be the results of the following expressions? Write the script to produce the results. State your reasoning in the comments in your script. (15pts) a, 'b' a 'c -1 b, 3 a 241 c. (3 2) 1 d. xor (5 4) 4. (Chapter.1) A chemical plant releases an amount A of pollutant into a stream. The maximum concentration of the pollutant at a point which is a distance x from the plant is: (10pts) A 2 Create variables for the values of A and x, and then for C.Assume that the distance x is in meters. Experiment with different values for x, (e in this case is Euler's number, 2.71828) 5. (Chapter.2) Create a vector x which consists of 20 equally spaced points in the range from -r to +n. Create a y vector which is sin(x). (10pts) 6. (Chapter.2) Find the following sum by first creating vectors for the numerators and denominators: (15pts) Continued on the next page

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 Databases Questions!