I get the same as Mark, using RPN i did the following:

* wl = Wall length: 636 cm
* ot = Offset total: 22 cm + 22 cm = 44 cm
* pw = Painting width: 64 cm 
* np = number of paintings: 6

---

* first nail: ot/2 + pw/2
* next nails: (wl - (ot + pw))/(np-1)

---

first: <$macrocall $name="rpn" a=<<rpn 44 2 />> b=<<rpn 64 2 />> operation=
"+" decimals="2" precision="p" locale="de-CH"/> cm

next: 
<$wikify name="distance" text='<$macrocall $name="rpn" a=636 b=<<rpn 44 64 
+>> operation="-"/>'>
<$macrocall $name="rpn" a=<<distance>> b=<<rpn 6 1 ->> operation="/" 
decimals="2" precision="p" locale="de-CH"/>  cm
</$wikify>

Now your turn Josiah, put the four parameters in input fields and use for 
every wall. :-D

Cheers, 
Thomas

Am Sonntag, 11. November 2018 17:15:13 UTC+1 schrieb Mark S.:
>
> I get 
>
> separation distance = (636-2(22)-2(32))/5 = 105.6 cm
>
> So first center starts at 22+32 = 54 cm and each center is separated by 
> 105.6 cm
>
> #1 54
> #2 159.6
> ....
>
> check the math
>
> -- Mark
> On Sunday, November 11, 2018 at 6:01:06 AM UTC-8, @TiddlyTweeter wrote:
>>
>> I have a problem. I'm crap at math.
>>
>> The problem is to calculate the "hanging points" for 6 paintings.
>>
>> These are the inputs ....
>>
>> - the wall is 636 centimeters long;
>>
>> - the offset of the edge of first and last frames is 22 cm from the start 
>> of the wall (left) and end of the wall (right). 
>>
>> - the frames of each of the six paintings is 64 cm wide. 
>>
>> What is the calculation that will give me the list of "mid-points" (the 
>> painting's lateral centres) such that I can equally space the paintings? 
>> (Practically I need the measure of the centre-to-centre distance of the 
>> paintings within the specified length, taking into account the offsets.)
>>
>> That is the first part, to get the math. 
>>
>>
>> *The second part is which math plugins for TiddlyWiki can do this simply?*
>>
>> Best Sunday wishes
>> Josiah
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6960d41d-ce12-48fd-acf7-e6899310ed09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to