|
|
Trapezium Rule with Varying Strip Widths
I'm really stuck trying to work out this problem.
I have an integral ∫1/x dx (between 1 and 101), and I want to use the trapezium rule to estimate the area but with strips that increase geometrically in width.
such that,
Δxn = r^(n-1).Δx1 (where Δxn is the width of the nth strip and r is a constant) ( to calculate Δx1 you apparently need to use the formula for the sum of a geometric progression, to give a total of 100 strips for any value of r)
Any ideas on how to go about producing a function to solve this? Any suggestions/help would be very much appreciated
|
|
0
|
|
|
|
Reply
|
Jake
|
12/26/2010 4:20:19 PM |
|
"Jake Chihuahua" wrote in message <if7q03$8b0$1@fred.mathworks.com>...
> I'm really stuck trying to work out this problem.
>
> I have an integral ∫1/x dx (between 1 and 101), and I want to use the trapezium rule to estimate the area but with strips that increase geometrically in width.
> such that,
>
> Δxn = r^(n-1).Δx1 (where Δxn is the width of the nth strip and r is a constant) ( to calculate Δx1 you apparently need to use the formula for the sum of a geometric progression, to give a total of 100 strips for any value of r)
>
> Any ideas on how to go about producing a function to solve this? Any suggestions/help would be very much appreciated
So why would your function not just call trapz, with
points at a varying distance?
Ok, I assume that as part of the homework assignment
you are disallowed from calling trapz. If so, then why
should we do your homework for you? What have YOU
tried to solve your problem, and how/why did it fail?
John
|
|
0
|
|
|
|
Reply
|
John
|
12/26/2010 4:36:04 PM
|
|
|
1 Replies
505 Views
(page loaded in 0.035 seconds)
Similiar Articles: Trapezium Rule with Varying Strip Widths - comp.soft-sys.matlab ...I'm really stuck trying to work out this problem. I have an integral ∫1/x dx (between 1 and 101), and I want to use the trapezium rule to es... Trapezium rule - comp.soft-sys.matlab... power strip - comp.home.automation Trapezium rule - comp.soft-sys.matlab Looking for function or technique - comp.lang.rexx Trapezium Rule with Varying Strip Widths - comp ... Trapezium rule - comp.soft-sys.matlabTrapezium Rule with Varying Strip Widths - comp.soft-sys.matlab ... I'm really stuck trying to work out this problem. I have an integral ∫1/x dx (between 1 and 101), and ... geometric summation in matlab - comp.soft-sys.matlabTrapezium Rule with Varying Strip Widths - comp.soft-sys.matlab ... geometric summation in matlab - comp.soft-sys.matlab Trapezium rule - comp.soft-sys.matlab geometric ... How to strip comments out of code - comp.lang.java.programmer ...Trapezium Rule with Varying Strip Widths - comp.soft-sys.matlab ... I'm really stuck trying to work out this problem. I have an ... under a curve makes use of strips of ... how to write a grammar rule with yacc/bison - comp.unix.programmer ...Trapezium Rule with Varying Strip Widths - comp.soft-sys.matlab ... how to write a grammar rule with yacc/bison - comp.unix.programmer ... Howdy...I need to write a class ... Calculating the distance between an object and our camera - comp ...Dears, Kindly Can you help me in Calculate the real distance between an object and a camera( that we are seeing the object through it, for any... Looking for function or technique - comp.lang.rexxTrapezium rule - comp.soft-sys.matlab Time sequencing power strip - comp.home.automation Trapezium rule - comp.soft ... technique - comp.lang.rexx Trapezium Rule with Varying top 10 uses for random data compression?? anyone? - comp ...One more varying tricky tempers will okay spring the ... Just now, go relax a strip! Kenny, still analysing ... While tracks from time to time drive sizes, the wheats ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... Trapezium Rule with Varying Strip Widths - comp.soft-sys.matlab ...I'm really stuck trying to work out this problem. I have an integral ∫1/x dx (between 1 and 101), and I want to use the trapezium rule to es... Trapezium Rule with Varying Strip Widths - Newsreader - MATLAB CentralI'm really stuck trying to work out this problem. I have an integral ∫1/x dx (between 1 and 101), and I want to use the trapezium rule to estimate the area but with ... 7/26/2012 11:41:02 AM
|
|
|
|
|
|
|
|
|