My Math Forum Matlab equation

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

 June 3rd, 2017, 11:10 PM #1 Newbie   Joined: Nov 2016 From: Aus Posts: 11 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 3rd, 2017 at 11:35 PM.
June 4th, 2017, 05:01 AM   #2
Math Team

Joined: Oct 2011

Posts: 13,140
Thanks: 915

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, 05:36 AM   #3
Newbie

Joined: Nov 2016
From: Aus

Posts: 11
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, 05:48 AM   #4
Senior Member

Joined: Feb 2016
From: Australia

Posts: 1,648
Thanks: 574

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 08:16 PM MathAboveMeth Math Software 1 December 21st, 2016 10:06 AM MMath Math Software 6 May 26th, 2016 11:52 PM stealth4933 Math Software 1 April 30th, 2014 02:37 AM Orient Blue Applied Math 6 May 9th, 2010 08:15 AM

 Contact - Home - Forums - Cryptocurrency Forum - Top