Go to Post Why subject your robot to a potential sensor failure when you can train a monkey (or a student, if monkeys are lacking) to put the tube at the right height every time? - JVN [more]
Home
Go Back   Chief Delphi > Other > Math and Science
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-10-2014, 22:39
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Math Quiz 5

Quote:
Originally Posted by Bryce Paputa View Post
I'll look into an analytic solution.
It may not exist. My CAS choked on it.


Reply With Quote
  #2   Spotlight this post!  
Unread 29-10-2014, 23:01
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Math Quiz 5

Quote:
Originally Posted by Ether View Post
It may not exist. My CAS choked on it.
Using your R(c) method, a numerical root finder quickly converges to a precise value for c.

But you can get the same result without differentiating R(c), by simply plotting R(c) and locating the extremum.



Attached Thumbnails
Click image for larger version

Name:	find_root dRdc=0.png
Views:	15
Size:	25.8 KB
ID:	17422  Click image for larger version

Name:	find max R(c).png
Views:	15
Size:	6.4 KB
ID:	17423  
Reply With Quote
  #3   Spotlight this post!  
Unread 29-10-2014, 23:09
Bryce Paputa's Avatar
Bryce Paputa Bryce Paputa is offline
FF TSL: Frog Farce
FRC #0503 (Frog Force)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Novi Michigan
Posts: 454
Bryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond repute
Re: Math Quiz 5

I get 3 arcsinh(2 sqrt(c)) * sqrt(4c^2+c) = 2c+8c^2. I doubt there is a nice closed form of this.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-10-2014, 23:22
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Math Quiz 5


For completeness, here's how to solve the problem using constrained nonlinear optimization.

It's a bit easier to set up. All you need is the length and area as a function of a and b.

The area is the objective (to be maximized), and the length is a constraint on the values of a and b.


Attached Thumbnails
Click image for larger version

Name:	NLO solution.png
Views:	41
Size:	23.4 KB
ID:	17424  

Last edited by Ether : 29-10-2014 at 23:33.
Reply With Quote
  #5   Spotlight this post!  
Unread 30-10-2014, 10:13
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Math Quiz 5


Extra credit:

What is wrong with this method?


Attached Thumbnails
Click image for larger version

Name:	system of equations.png
Views:	50
Size:	20.8 KB
ID:	17431  
Reply With Quote
  #6   Spotlight this post!  
Unread 03-11-2014, 18:39
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Math Quiz 5

Quote:
Originally Posted by Ether View Post

Extra credit:

What is wrong with this method?
It gives the correct answer... but what are the pros and cons compared to this method?


Attached Thumbnails
Click image for larger version

Name:	3 Eqs.png
Views:	32
Size:	15.8 KB
ID:	17444  

Last edited by Ether : 04-11-2014 at 14:11.
Reply With Quote
  #7   Spotlight this post!  
Unread 06-11-2014, 14:16
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Math Quiz 5

Quote:
Originally Posted by Ether View Post
It gives the correct answer... but what are the pros and cons compared to this method?
Any college students out there taking a course in numerical methods?


Reply With Quote
  #8   Spotlight this post!  
Unread 08-11-2014, 09:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Math Quiz 5

Quote:
Originally Posted by Ether View Post
Any college students out there taking a course in numerical methods?
... or multivariate calculus?


Attached Thumbnails
Click image for larger version

Name:	LaGrange_Multipliers.png
Views:	35
Size:	34.3 KB
ID:	17456  
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi