My Math Forum  

Go Back   My Math Forum > Math Forums > Math Software

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


Reply
 
LinkBack Thread Tools Display Modes
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.
Naz Ar is offline  
 
June 4th, 2017, 05:01 AM   #2
Math Team
 
Joined: Oct 2011
From: Ottawa Ontario, Canada

Posts: 10,688
Thanks: 701

Quote:
Originally Posted by Naz Ar View Post
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?
Denis is offline  
June 6th, 2017, 05:36 AM   #3
Newbie
 
Joined: Nov 2016
From: Aus

Posts: 11
Thanks: 0

Quote:
Originally Posted by Denis View Post
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
Naz Ar is offline  
June 6th, 2017, 05:48 AM   #4
Senior Member
 
Joined: Feb 2016
From: Australia

Posts: 1,356
Thanks: 464

Math Focus: Yet to find out.
Quote:
Originally Posted by Naz Ar View Post
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.
Joppy is offline  
Reply

  My Math Forum > Math Forums > Math Software

Tags
equation, matlab



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solving equation in Matlab Naz Ar Math Software 6 May 15th, 2017 08:16 PM
Using Matlab MathAboveMeth Math Software 1 December 21st, 2016 10:06 AM
Which is use of matlab MMath Math Software 6 May 26th, 2016 11:52 PM
Need Matlab Help stealth4933 Math Software 1 April 30th, 2014 02:37 AM
Non-linear equation system in Matlab Orient Blue Applied Math 6 May 9th, 2010 08:15 AM





Copyright © 2017 My Math Forum. All rights reserved.