Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

any ideas on question1? Instruction of exam (please read it carefully): You will

ID: 3587560 • Letter: A

Question


any ideas on question1?

Instruction of exam (please read it carefully): You will have 120 minutes to write 3 separate m file for following three problems. Save each of your programs in this format: problem #1: lastname1.m Problem #2: lastname2.m Problem #3: lastname3.m Next, put all of your m files in a folder with name of your first and last names (with space between your first and last names). At the end of exam, I'll come to your seat and you should put the folder in my flash memory that I connect to your computer. For example, if your name is Lisa Mogrin, then save your program for Problem #1 as: mogrini1.m Next, put it in a folder with the name Lisa Mogrini After you wrote and saved all 3 m files in abovementioned fashion, then let me know so that I can come over your computer, and get your folder. Problem # 1 (40 points): As mentioned in the Chapter 2 of textbook, the derivative of function d by: V(G) =-= where At is the finite time interval, ti is the initial time and ti+1 is the later time of interval. (a) Write a m.file that approximately calculates the derivative of function f(t)-3t'-6t+2 over he time span of-4 t 2, Use At = 0.1 for the numerical calculations. (b) Next, plot the erivative of function flt) in that time interval (needless to mention that your m.file should plot he time derivative of f(t). roblem # 2 (20 points): Create a built-in function in Matlab for Problem 2.15 of the text pok. In fact, your developed function should get the numeric grade as input and return the rresponding letter grade as the output

Explanation / Answer

In java, there are predefined functions in apache commons

The exact package name is org.apache.commons.math3.analysis.differentiation