plz help as soon as possible i want full matlab code of this question
Show older comments
Make a MATLAB code of the following Maclaurin Series that determine
the number of terms necessary to approximate cos x to 3 significant figures
approximation.
cos(x)=1-x^2/2!+x^4/4!-x^6/6!+...
Calculate the approximation using a value of x = 0.3Π.
9 Comments
madhan ravi
on 2 Jul 2020
Ok did you do anything?
Steven Lord
on 2 Jul 2020
Edited: Walter Roberson
on 2 Jul 2020
This sounds like a homework assignment. If it is, show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial ( https://www.mathworks.com/support/learn-with-matlab-tutorials.html ) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.
huzaifa khan
on 2 Jul 2020
huzaifa khan
on 2 Jul 2020
Walter Roberson
on 2 Jul 2020
We are not going to give you the full code. However if you ask a specific question such as why you are getting a particular error in your attempt, then we will assist with that.
huzaifa khan
on 2 Jul 2020
Walter Roberson
on 2 Jul 2020
There are students who think they know everything and refuse to ask for help because they think they know better than other people. Such students might learn, but when they get to the workplace, they are often a pain for other people to work with.
There are students who know they do not understand some things and ask for help, describing what they are unclear on and asking specific questions. These students are often the best kind of students in the long run, even if they do not necessarily get the highest marks, because willingness to learn and willingness to work with other people to see what they have to say, is very valuable. These students will continue to learn after they graduate.
There are students who make poor efforts to learn. Sometimes they manage to pass anyhow, especially if they can convince other people to do the work for them. It is best for society if these kinds of students fail to graduate.
In short: if you do not go to the effort to try to do the work, and ask questions about the parts you have trouble with... then we would prefer that you fail. If you are not going to make an effort in the course, then get out of the course. If it is a required course for your degree but you are not willing to make an effort for it, then change degrees -- or drop out.
We are (effectively) tutors. Our job is to teach people who want to learn, not to give solutions so that they can pass the course without trying.
dpb
on 2 Jul 2020
+1 @WR!
Besides the practical that
- we don't get credit for having done the work, either from the instructor nor the institution, and
- all institutions have guidelines regarding using others' work for their own; wouldn't want to abet in violations.
the cyclist
on 2 Jul 2020
Edited: the cyclist
on 2 Jul 2020
Walter's comment was so satisfying to read.
Answers (1)
Rik
on 2 Jul 2020
0 votes
(I'm only posting an answer to prevent deletion of the question and so preserve the comments. I think the solution to the problem is stated very well by Walter, so I doubt a 'normal' answer is likely to be posted. Maybe we should put this line of though in a separate thread (even if the sentiment can be read in the normal homework guidelines thread as well).)
Categories
Find more on Just for fun in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!