Recent content by Rachelross
-
R
Solving DE dx/dt=1/x^2+tanh(t+1)+C w/Euler's Method
Homework Statement Write a script file to solve the DE dx/dt=1/x^2+tanh(t+1)+C using Euler's method .Solve the equation from t0 to t1 using step size h =0.02 and initial condition x(0)=5.Find the value of x(t1) for values of C from -3 to -1 in steps of 0.1 .plot x(t1) for different values...- Rachelross
- Thread
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
R
Integrating f(x) with Trapezium Rule & Plotting for Different Values of C
Thank you so much n.karthick :)- Rachelross
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
R
Integrating f(x) with Trapezium Rule & Plotting for Different Values of C
Homework Statement Write a script file to integrate the function f(x)=x^3+tan(x)+C using the trapezium rule.Calculate the integral between the end points x=2 and x=4 with strip size 0.1.Calculate the integral for range of values from 1 to 3 in steps of 0.1.plot the integral obtained for...- Rachelross
- Thread
- Plotting
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help