Info

This question is closed. Reopen it to edit or answer.

How to write this equation (kindly help)

1 view (last 30 days)
lasya ganapathi
lasya ganapathi on 18 Jun 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
thank you
  1 Comment
John D'Errico
John D'Errico on 18 Jun 2020
Edited: John D'Errico on 18 Jun 2020
What have you tried? Have you tried int? Or integral? Or even just trapz?
The point is, this is not just a question about how to write that equation. First, you need to learn MATLAB. You need to learn the difference between those three subtly different tools in MATLAB. They are all there for very good reasons. The differences may seem sublte, but are important.
So start by learning enough about MATLAB to define the necessary constants. Decide how what is apparently a function w(q) will be created. Then decide what you will do with this expression, because no formula exists in a vaccuum. You have a reason to compute this. What will you do with it in the end? Do you want it in symbolic form? In numerical form? As a function you can evaluate or plot? How much accuracy do you need?
But until you do all of the above, you cannot reasonably just write that as some equation in MATLAB, and have it do anything useful at all.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!