Skip to main content
1-Visitor
March 13, 2012
Question

.... := if [....]

  • March 13, 2012
  • 1 reply
  • 1865 views

Hello guys!

I have something to ask you ... when I write a definition that could take on other values​​, we take for example the area of ​​a rectangle: A: = if [p <0, t B *, B * h], which means that whenp <0, the area is B * t, otherwise it is equal to B * h.

The question is: if I wanted to addanother condition to the area of the rectangle, for example, that for d> 0 is q * t, otherwise its value is g * t?

I hope I explained well ...


BeNNy

1 reply

24-Ruby IV
March 13, 2012

May be so:

a:=if(c>d , if(c>t , b, e ),m )

BeNNy1-VisitorAuthor
1-Visitor
March 13, 2012

it's similar:

a:=if(c>d,m,if(c>t,b,e))

thank u so much!!

BeNNy

1-Visitor
March 14, 2012

There are a few ways to do this. A worksheet would help.

Mike