My Math Forum Matlab equation

 Math Software Math Software - Mathematica, Matlab, Calculators, Graphing Software

 June 4th, 2017, 12:10 AM #1 Newbie   Joined: Nov 2016 From: Aus Posts: 24 Thanks: 0 Matlab equation Hi Guys I want to solve the following equations in Matlab x=y*a+(yb)^c------1, a,b, and c are constants...This equation define a curve; y.x=A---------2 , A=constant, this curve intersect the first one in one point is the solution this may be simplified to a*y^2+y^(1+c)*b^c-A=0 Thanks Last edited by Naz Ar; June 4th, 2017 at 12:35 AM.
June 4th, 2017, 06:01 AM   #2
Math Team

Joined: Oct 2011

Posts: 13,590
Thanks: 953

Quote:
 Originally Posted by Naz Ar x=y*a+(yb)^c------1 y.x=A----------------2
y*a, yb and y.x are all multiplications?
If so, WHY d'hell are you obscuring the problem?
Why not use (as example) ya, yb and yx ?
Quote:
 this may be simplified to a*y^2+y^(1+c)*b^c-A=0
Please show HOW you did the simplification.

Question:
x=y*a+(yb)^c------1
Solving for c:
(yb)^c = x - ya
c = LOG(x - ya) / LOG(yb)
Do you understand that?

June 6th, 2017, 06:36 AM   #3
Newbie

Joined: Nov 2016
From: Aus

Posts: 24
Thanks: 0

Quote:
 Originally Posted by Denis y*a, yb and y.x are all multiplications? If so, WHY d'hell are you obscuring the problem? Why not use (as example) ya, yb and yx ? Please show HOW you did the simplification. Question: x=y*a+(yb)^c------1 Solving for c: (yb)^c = x - ya c = LOG(x - ya) / LOG(yb) Do you understand that?

c is constant, but y and x are the variables
The equation is solved using newton's method
Thanks

June 6th, 2017, 06:48 AM   #4
Senior Member

Joined: Feb 2016
From: Australia

Posts: 1,737
Thanks: 606

Math Focus: Yet to find out.
Quote:
 Originally Posted by Naz Ar c is constant, but y and x are the variables The equation is solved using newton's method Thanks
You can use fzero in matlab for newton's method.

 Tags equation, matlab

 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post Naz Ar Math Software 6 May 15th, 2017 09:16 PM MathAboveMeth Math Software 1 December 21st, 2016 11:06 AM MMath Math Software 6 May 27th, 2016 12:52 AM stealth4933 Math Software 1 April 30th, 2014 03:37 AM Orient Blue Applied Math 6 May 9th, 2010 09:15 AM

 Contact - Home - Forums - Cryptocurrency Forum - Top