Question: = By MATLAB solve this question please = I would appreciate if you copy and paste the Matlab Codes. 3) Write a program that wants
3) Write a program that wants to enter number of students, marks of two midterm exams and a final exam of each student. Then program should determine the total mark and grade of each student by Eq(1) and Eg (2) respectively. Program should print out inputs, total marks, grades and mean of the class as shown in Fig. 1 into file called output.txt. T-0.2M+0.3+M+0.55 12) MidTeem-2 Final MidTerm-1 Grade Total 95.0 90.0 91.3 65.0 48.0 58.5 89.0 A 75.0 F 56.0 C Mean = 79.0 80.0 74.9 74.9 4) In Matlab Editor, write a function that defines the equation system shown below. (20 Points) x'=x x'=2x -3x3-5+r(t) In matlab command window call that function and solve the equation system by "Matlab ode 45 function" in 10,4 for the initial condtions x (0) -- x(0) 1 and x (0)-2. . Plot the graph of x against t, write the labels of axies. At can be taken 0.01
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
