You are not logged in or registered. Please login or register to use the full functionality of this board...
SIGN IN Join Our Community For FREE


Another Brilliant(R) math problem
06-08-2017, 01:18 PM (This post was last modified: 06-08-2017 03:42 PM by STxAxTIC.)
Post: #1
 (Print Post)
Another Brilliant(R) math problem
Hey guys,

This one popped up on Walt's site in the Ads section:

[Image: fadsfdsdsfds.png]
It's nonlinear so your usual matrix tricks won't work. Adding the two equations I can see that

(x^2 + y^2 + 2xy) = (x + y)^2 = 50

such that x + y = sqrt(50).

...But that is cheating. The answer trivially follows from what I just stated... but are we in the business of solving these analytically? For fun, I ended up using my nonlinear equation solver to get it. Anyone else care to try this way? (And bplus, if you want nano to be bigger than 100 lines one day, and/or if nano can already solve this kind of problem, its a suitable target one way or the other.)
Find all posts by this user
Like Post
06-08-2017, 03:32 PM (This post was last modified: 06-08-2017 03:34 PM by bplus.)
Post: #2
 (Print Post)
RE: Another Brilliant(R) math problem
I think it "brilliant" to observe x + y = sqr(50), nice one STxAxTIC!

Nano could graph y = (20 - x^2)/x
and                       x = (30 - y^2)/y
and                       x or y  = (+1 or -1 ) * sqr(50) - (y or x)
probably! (should be easy...) except for labeling everything... could color each plot different.
APPEND: except when x or y = 0

Is Brilliant asking when x = y ?

B += _
Find all posts by this user
Like Post
06-08-2017, 03:38 PM
Post: #3
 (Print Post)
RE: Another Brilliant(R) math problem
I figured you'd like this one bplus. The problem is asking what is the product of x and y?
Find all posts by this user
Like Post
06-08-2017, 04:29 PM
Post: #4
 (Print Post)
RE: Another Brilliant(R) math problem
Alright I couldn't resist.

[Image: fdsafdsfdsd.png]
Find all posts by this user
Like Post
06-09-2017, 07:31 AM (This post was last modified: 06-09-2017 07:32 AM by Aurel.)
Post: #5
 (Print Post)
RE: Another Brilliant(R) math problem
Hi Static
Do you know what is wrong with your program?
Graphical presentations ...not just bunch of numbers!

basicPro forum:
http://basicpro.mipropia.com/smf/index.php
EU Radioboard forum:
http://euradioboard.createmybb3.com/index.php
AurelSoft main site:
http://aurelsoft.ucoz.com
Find all posts by this user
Like Post
06-09-2017, 08:06 AM (This post was last modified: 06-09-2017 08:07 AM by STxAxTIC.)
Post: #6
 (Print Post)
RE: Another Brilliant(R) math problem
Oh my lord, I'm so triggered over what Aurel said. Walt? Mods? Mennonites of Censorhip? Anyone?

Yeah just kidding.

Still awaiting your solution Aurel, supposing you'd know one when you saw one. Swing and a miss so far.
Find all posts by this user
Like Post
06-09-2017, 01:59 PM (This post was last modified: 06-09-2017 02:37 PM by bplus.)
Post: #7
 (Print Post)
RE: Another Brilliant(R) math problem
Oh the Jacobian Matrix!

Yikes, maybe 40 years ago I might of been exposed to this sort of math, obviously it didn't take.

Also nice is the Sxript X+ Console, tell me it's more the 100 lines  ;-))

Aurel, If you ever need some serious math help, I think you want this guy on your side. Wink

B += _
Find all posts by this user
Like Post
06-10-2017, 10:34 AM (This post was last modified: 06-10-2017 10:38 AM by STxAxTIC.)
Post: #8
 (Print Post)
RE: Another Brilliant(R) math problem
Sup bplus,

Thanks for the compliments. As it turns out, the console you see is a website:

http://www.sxript.com/sxript/docs/console/console.html

Clicking the logo brings you to the main page, http://www.sxript.com
(It's not a commercial endeavor - I just play around with web domains and junk like that.)

If you want to get right to the juicy stuff, go here: http://www.sxript.com/sxript/docs/guide08.html
...and click on any of the topics. The code is preloaded, so you just have to mash the green button. You can edit the middle field as a bonus, so this is my go-to utility for lots of things, but there should* be more topics on the way. (*Just gotta get over my laziness.)

As a final note to pique your interest, sxript is written in 3 languages simultaneously (a number which can be generalized). The web stuff is all javascript, which happens to be directly translated from qb45 code. Same can be said for the c++ implementation. And the freebasic version, and the qb64 version. So too with the qb45 version (it really works). All implementations use the same code, simply pumped through a handmade utility that makes syntax changes. I chose a discipline that forgoes the luxuries of any particular language, but assures universality through strictness, such that the logic and semantics are "outside" of the code itself. Sxript is basically a tool for reducing problems - the language doesn't much matter. (It's more than 100 lines.)
Find all posts by this user
Like Post



Forum Jump:


User(s) browsing this thread: 1 Guest(s)




QB64 Member Project - Qubic
QB64 Member Project - Kings Court
QB64 Member Project - Martin Fractals version three
QB64 Member Project - STxAxTIC 3D World
QB64 Member Project - Foursight
QB64 Member Project - Line Thickness
QB64 Member Project - Blokus
QB64 Member Project - Domain
QB64 Member Project - Color Rotating Text
QB64 Member Project - Martin Fractals version two
QB64 Member Project - Color Triangles
QB64 Member Project - Kobolts Monopoly
QB64 Member Project - Amazon
QB64 Member Project - Spiro Roses
QB64 Member Project - Touche
QB64 Member Project - Swirl
QB64 Member Project - Connect Four
QB64 Member Project - Algeria Weather
QB64 Member Project - Sabotage
QB64 Member Project - Point Blank
QB64 Member Project - Bowditch curve
QB64 Member Project - ARB Checkers
QB64 Member Project - Pivet version one
QB64 Member Project - Exit
QB64 Member Project - MAPTRIANGLE
QB64 Member Project - Splatter
QB64 Member Project - 9 Board
QB64 Member Project - Score 4
QB64 Member Project - Rotating Background
QB64 Member Project - Othello
QB64 Member Project - Rubix's Magic
QB64 Member Project - Dakapo
QB64 Member Project - Inside Moves
QB64 Member Project - Spinning Color Wheel
QB64 Member Project - Kings Vallery version two
QB64 Member Project - Basic Dithering
QB64 Member Project - Kings Valley verion one
QB64 Member Project - Overboard
QB64 Member Project - Input
QB64 Member Project - Martin Fractals version four
QB64 Member Project - Pivot version two
QB64 Member Project - RGB Color Wheel
QB64 Member Project - Full Color LED Sign
QB64 Member Project - Martin Fractals version one
QB64 Member Project - Dreamy Clock
QB64 Member Project - OpenGL Triangles
QB64 Member Project - Quarto
QB64 Member Project - Isolation
QB64 Member Project - Red Scrolling LED Sign