E(z)=(lambda*z*R)/(2*E_initial*((z.^2+R^2)^(3/2)))
Show older comments
Why is this wrong ? It won't give me an answer
Answers (1)
Walter Roberson
on 16 Sep 2017
E = (lambda .* z .* R) ./ (2 .* E_initial .* ((z.^2 + R.^2).^(3/2)))
2 Comments
Maria V Alberico
on 17 Sep 2017
Walter Roberson
on 17 Sep 2017
What are the values for your variables? What result are you getting? What result do you expect to see?
Perhaps you need
E = @(z) (lambda .* z .* R) ./ (2 .* E_initial .* ((z.^2 + R.^2).^(3/2)))
if you are trying to create a function
Categories
Find more on App Building 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!