Page 1 of 1

Algebra help

Posted: Wed Oct 19, 2011 10:59 am
by Exar Kun
Fuzzy brain today. Could anyone solve this for n please?

h=ne+g(n+1)

edit: n=(-g+h) / (g+e) sound right?

Re: Algebra help

Posted: Wed Oct 19, 2011 11:11 am
by norbs
Sorry mick, even with having a hazy memory of algebra i cant help you there.

Re: Algebra help

Posted: Wed Oct 19, 2011 12:23 pm
by Vilante
Same as Norbs mate, it's giving me a headache :)

Re: Algebra help

Posted: Wed Oct 19, 2011 12:53 pm
by ysu
I haven't done anything like this in 20 years or so, but let's see...

start
h=ne+g(n+1)

also as:
h= ne+ng + g

minus g
h-g = ne+ng

taking n out on the right side
h-g = n (e+g)

divide by (e+g)
(h-g)/(e+g) = n

yeah it looks the same :)

Re: Algebra help

Posted: Wed Oct 19, 2011 1:01 pm
by Vilante
Damn it, what's wrong with me? Getting old :)

Re: Algebra help

Posted: Wed Oct 19, 2011 1:17 pm
by Exar Kun
Thanks guys - yep tested it all out and it works. My parametric screening fence is now able to calculate the required number of slats (n) given the height of the opening (h), height of each element (e) and the required gap between each element (g). For some reason I stared at it going around in circles this morning and then 10 minutes after posting I worked it out. :tilt:

Image

Re: Algebra help

Posted: Wed Oct 19, 2011 3:42 pm
by Sambo
What happenes when the height of the element is 1cm and there is a required overlap of 1cm (ie g = -1)? :D

Does that shatter your programs world?




I do realise that would mean the slats would be ontop of eachother.

Re: Algebra help

Posted: Wed Oct 19, 2011 4:19 pm
by Exar Kun
I have a different object where I can do that - where each element has an angle parameter so the gap is controlled by the distance from base point to base point of each element ( rather than distance between ) and then I can change the angle of them ato when they overlap they don't actually touch. So no danger to space and time if such a situation presents itself. :D

Re: Algebra help

Posted: Wed Oct 19, 2011 5:41 pm
by Sambo
Damn it.

Re: Algebra help

Posted: Wed Oct 19, 2011 5:50 pm
by norbs
Suck it Sambo! :lol: :lol: :lol: :D


I am stunned Wobbler has come in here yet with some invention of his to fix the problem for Mick.

Re: Algebra help

Posted: Wed Oct 19, 2011 5:54 pm
by r8response
norbs wrote:Suck it Sambo! :lol: :lol: :lol: :D


I am stunned Wobbler has come in here yet with some invention of his to fix the problem for Mick.


I'm still waiting for him to call "repost"

Re: Algebra help

Posted: Wed Oct 19, 2011 6:55 pm
by Cutter
Revit????

Re: Algebra help

Posted: Wed Oct 19, 2011 8:23 pm
by Exar Kun
Yep. Still not really applicable in your line of work?

Re: Algebra help

Posted: Thu Oct 20, 2011 2:27 pm
by Cutter
No, REVIT MEP treats Fire Protection as a poor cousin of plumbing.
Also because it comes from the states it follows US systems, methods and equipment.
Because we're a British colony, we have the English stuff and methods as a basis of our industry.

I use it to merge into BIM or Navis works models where I have to, but its bulldust, not a real design as nothing touches, its all a few mm out to prevent the wrong automatic fittings being used.
But it looks right and people that dont know love it.

Re: Algebra help

Posted: Thu Oct 20, 2011 3:13 pm
by Exar Kun
Yeah, Revit Architecture is by far the most developed. The MEP people have been treated the worst so far. Still, it's come a long way in a relatively short space of time. I'm in the beta program so get to see a bit of what's coming up there and on the whole it looks good. Also a pretty good place to get in touch with the devs. Can't get away from the fact that Autodesk is like every other company and will prefer to have shiny new features that sell the product rather than fix what's broken though...

Re: Algebra help

Posted: Fri Oct 21, 2011 1:02 pm
by AstrO
Don't forget to divide by 0

Re: Algebra help

Posted: Fri Oct 21, 2011 2:40 pm
by smithcorp
I'm still trying to work this out with cuisenaire rods.

Re: Algebra help

Posted: Sun Dec 11, 2011 6:15 pm
by Hz-Lab
a = b where a = majority & b = normality