cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

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

BeNNy
1-Newbie

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

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

3 REPLIES 3

May be so:

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

it's similar:

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

thank u so much!!

BeNNy

MikeArmstrong
5-Regular Member
(To:BeNNy)

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

Mike

Announcements

Top Tags