- #1
kaizen.moto
- 98
- 0
Hi there,
I have altogether 17 formulations or expressions which are repetitive and have link from each other.
My question is that how to make these formulation or expressions in a simpler form. In another word, how to make the codes or syntax become shorter due to these repetitive expressions.
Is there any better way to express all the 17 formulations in just one or two general codes but yet it works for all 17 expressions.
For instance:
the general expression is sub[r_]:=..... (1)
so if I want to substitute the value of any r, from 1 to 17, I got all the different 17 expressions as stated in the notebook attached.
Thank you in advance for any feedback.
I have altogether 17 formulations or expressions which are repetitive and have link from each other.
My question is that how to make these formulation or expressions in a simpler form. In another word, how to make the codes or syntax become shorter due to these repetitive expressions.
Is there any better way to express all the 17 formulations in just one or two general codes but yet it works for all 17 expressions.
For instance:
the general expression is sub[r_]:=..... (1)
so if I want to substitute the value of any r, from 1 to 17, I got all the different 17 expressions as stated in the notebook attached.
Thank you in advance for any feedback.