SMath Studio Forum
»
SMath Studio
»
Questions
»
How to choose the maximum value from the formula?
Rank: Member Groups: Registered
Joined: 17/05/2018(UTC) Posts: 11 Location: Львов
|
I need to recreate the formula for determining the minimum protective layer of concrete. In the formula there is a choice of the maximum value in curly brackets. How do I use this program to make the minimum protective layer of concrete equal to the maximum value in a curly bracket and greater than or equal to 10 millimeters.
c_min=max{c_min,b;c_min,dur+c_dur,y-c_dur,st-c_dur,add}>=10 mm
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 319 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
In fact, it would be advisable to send the sample sheet. Something is not convincing (the braces in Smath are not used). However, the "max" function provides for evaluating the maximum value of a vector internally; then you can put in a vector all the elements to choose the maximum (including "10mm" . Alternatively, the "Max" function contained in the "Custom" plugin (you have to install it from a special menu) directly accepts the lists. sergio
|
|
|
|
Rank: Member Groups: Registered
Joined: 17/05/2018(UTC) Posts: 11 Location: Львов
|
|
|
|
|
Rank: Member Groups: Registered
Joined: 17/05/2018(UTC) Posts: 11 Location: Львов
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/12/2011(UTC) Posts: 319 Location: italy Was thanked: 109 time(s) in 93 post(s)
|
|
2 users thanked PompelmoTell for this useful post.
|
on 17/05/2018(UTC), on 17/05/2018(UTC)
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Min/Max ... for Matrices/Vectors min/max ... for functions in matrices/vectors Sample attached to illustrate min(vector of functions) 2D Plot Discontinuous [min(,)].sm (15kb) downloaded 52 time(s).
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
How to choose the maximum value from the formula?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.