how to write this equation
1 view (last 30 days)
Show older comments
Can someone help me write this equation. I am having problems with a bracket somewhere.Not getting the answer i needed.
Thanks
6 Comments
John BG
on 14 Jun 2016
good, you got to the result you wanted.
The adding of .^ ./ is what I meant
Now you can throw in vectors, as long as same length, and obtain numeric results, better than working with symbolic variables.
Regards
John
Accepted Answer
Stephen23
on 12 Jun 2016
Edited: Stephen23
on 12 Jun 2016
I used y and B to make it easier to read:
num = 2*y*(r^((y-1)/y)-1)
den = (y-1)*(B^4 - r^(-2/y))
out = sqrt(num/den)
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!