MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by dashty
on 17 Feb 2013

If

R1 = 0.173*(E^3/2)*A1^1/3 R2 = 0.173*(E^3/2)*A2^1/3 R3 = 0.173*(E^3/2)*A3^1/3 Wi = (Ni*Ai)/M

for R1 Ni = 10 & A1 = 12 for R2 N2 = 8 & A2 = 1 foe R3 N3 = 4 & A3 = 16 M = sum(Ni*Ri) E = ( 1,2,...,10)

Then

1/R = sum(wi/Ri)

Find R

*No products are associated with this question.*

Answer by Carlos
on 18 Feb 2013

Accepted answer

Is this what you mean?

>> A=27; >> E=1:1:10; >> R = 0.173*(E.^3/2)*A.^1/3

R =

Columns 1 through 9

0.7785 6.2280 21.0195 49.8240 97.3125 168.1560 267.0255 398.5920 567.5265

Column 10

778.5000

Answer by Tae Yeong Kim
on 17 Feb 2013

Edited by Tae Yeong Kim
on 17 Feb 2013

It is very hard to interpret the equations. Could you form the equations neatly?

Answer by Image Analyst
on 17 Feb 2013

Isn't it just

R = 1 ./ sum(wi./Ri)

????? Of course that assumes you already know what wi and Ri are, which none of us do.

Answer by Walter Roberson
on 17 Feb 2013

N = [10 8 4] A = [12 1 16]; R = ?? M = sum(R .* N); W = (N .* A) ./ M; Final_R = 1 ./ sum(W .* R);

Unfortunately the definition of R(i) is confused as it is based upon E which appears to be 1:10.

## 2 Comments

## Greg Heath (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/63788#comment_130220

Please separate equations by putting them on separate lines.

Thanks.

## Walter Roberson (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/63788#comment_130232

Reformatted, but they are hard to interpret that way too.