Skip to main content
8-Gravel
September 7, 2016
Question

A programming question: assign a value to a variable

  • September 7, 2016
  • 4 replies
  • 1371 views


Hi I want to let lambda be = 1 if normal or 0.75 lightweight. how can I prepare a simple input like this so when I do a calc I specify either normal or lightweight . can any one tell me what is the best way to put this? thanks

4 replies

8-Gravel
September 7, 2016

Q7.png

8-Gravel
September 7, 2016

This does not work. I am trying to see how I can best represent this. Any ideas? please share. Thank you.

1-Visitor
September 7, 2016

Do you have another variable in your sheet that clarifies if your concrete is normal or lightweight?

If so, you can do something like this:

If not, I'd just make a text comment: