Hi groups i want to write a program ro numerically integrate an
equation using the rectangle method,i know a little bit about the
rectangle method but never used it abd dont quite really know how to
program it.if you guys know how to do it, can you help me out.
the equation looks like
eq = ∫ sin(θ*Π) / cos(2*Π*θ) ,the
integration is from 0 to 1000.
Thanks in advance,
Bye 7 2487
"rockwell" <ro**********@y ahoo.com> wrote in message
news:6b******** *************** ***@posting.goo gle.com... Hi groups i want to write a program ro numerically integrate an equation using the rectangle method,i know a little bit about the rectangle method but never used it abd dont quite really know how to program it.if you guys know how to do it, can you help me out. the equation looks like
eq = ∫ sin(θ*Π) / cos(2*Π*θ) ,the integration is from 0 to 1000.
Thanks in advance, Bye
Post the effort you made, and someone will help you with it. No-one is going
to do your homework for you, you would not learn anything that way so it
wouldn't be good for anyone.
john
"rockwell" <ro**********@y ahoo.com> schrieb im Newsbeitrag
news:6b******** *************** ***@posting.goo gle.com... Hi groups i want to write a program ro numerically integrate an equation using the rectangle method,i know a little bit about the rectangle method but never used it abd dont quite really know how to program it.if you guys know how to do it, can you help me out. the equation looks like
eq = ∫ sin(θ*Π) / cos(2*Π*θ) ,the integration is from 0 to 1000.
Thanks in advance, Bye
eq = x^2
integration from 0 to 100
So, basically you make smal stips of let's say 0.01 width and
calculate the area of this strip.
di = (value_left + value_right) / 2 * detla_width;
Then you only sum it up.
HTH,
Gernot
Gernot Frisch posted: "rockwell" <ro**********@y ahoo.com> schrieb im
Newsbeitrag news:6b******** *************** ***@posting.goo gle.com... Hi groups i want to write a program ro numerically
integrate an equation using the rectangle method,i know a little bit
about the rectangle method but never used it abd dont quite really
know how to program it.if you guys know how to do it, can you help
me out. the equation looks like
eq = ∫ sin(θ*Π) / cos(2*Π*θ)
,the integration is from 0 to 1000.
Thanks in advance, Bye eq = x^2 integration from 0 to 100 So, basically you make smal stips of let's say 0.01 width
and calculate the area of this strip.
di = (value_left + value_right) / 2 * detla_width;
Then you only sum it up.
HTH, Gernot
Gernot, I'd prefer if you wouldn't fully answers people's
questions like that when they've shown no effort at all,
especially when it looks like a homework question.
Rockwell, if you want me to do your homework for you, head
to rentacoder.com and I'll do it for a nominal fee.
But if you want some help with C++, make an effort and I'll
be more than willing to share what I know (and can do).
-JKop
"JKop" <NU**@NULL.NULL > schrieb im Newsbeitrag
news:Nu******** ***********@new s.indigo.ie... Gernot Frisch posted:
"rockwell" <ro**********@y ahoo.com> schrieb im
Newsbeitrag news:6b******** *************** ***@posting.goo gle.com... Hi groups i want to write a program ro numerically integrate an equation using the rectangle method,i know a little bit about the rectangle method but never used it abd dont quite really know how to program it.if you guys know how to do it, can you help me out. the equation looks like
eq = ∫ sin(θ*Π) / cos(2*Π*θ) ,the integration is from 0 to 1000.
Thanks in advance, Bye
eq = x^2 integration from 0 to 100 So, basically you make smal stips of let's say 0.01 width and calculate the area of this strip.
di = (value_left + value_right) / 2 * detla_width;
Then you only sum it up.
HTH, Gernot
Gernot, I'd prefer if you wouldn't fully answers people's questions like that when they've shown no effort at all, especially when it looks like a homework question.
Rockwell, if you want me to do your homework for you, head to rentacoder.com and I'll do it for a nominal fee.
But if you want some help with C++, make an effort and I'll be more than willing to share what I know (and can do).
I just explained how to do it. I didn't post any line of code. I think
it's fair to explain _how_ things work for a homework. Because
understanding how it works is the aim of a homework.
Gernot Frisch posted: "JKop" <NU**@NULL.NULL > schrieb im Newsbeitrag news:Nu******** ***********@new s.indigo.ie... Gernot Frisch posted:
"rockwell" <ro**********@y ahoo.com> schrieb im
Newsbeitrag news:6b******** *************** ***@posting.goo gle.com... Hi groups i want to write a program ro numerically
integrate an equation using the rectangle method,i know a little
bit about the rectangle method but never used it abd dont quite
really know how to program it.if you guys know how to do it, can you help
me out. the equation looks like
eq = ∫ sin(θ*Π) / cos(2*Π*&#
952;) ,the integration is from 0 to 1000.
Thanks in advance, Bye
eq = x^2 integration from 0 to 100 So, basically you make smal stips of let's say 0.01
width and calculate the area of this strip.
di = (value_left + value_right) / 2 * detla_width;
Then you only sum it up.
HTH, Gernot Gernot, I'd prefer if you wouldn't fully answers
people's questions like that when they've shown no effort at all,
especially when it looks like a homework question.
Rockwell, if you want me to do your homework for you,
head to rentacoder.com and I'll do it for a nominal fee.
But if you want some help with C++, make an effort and
I'll be more than willing to share what I know (and can do).
I just explained how to do it. I didn't post any line of
code. I think it's fair to explain _how_ things work for a homework.
Because understanding how it works is the aim of a homework.
I suppose...
-JKop
JKOP,
go back to your java group. we don't need java cop jkop jgop or whatever,
things like you are not appropriate in comp.lang.c++ group. especially for
bagging money. back to your NULL land.
Gernot is right.
"JKop" <NU**@NULL.NULL > дÈëÓʼþ
news:x6******** ***********@new s.indigo.ie... Gernot Frisch posted:
"JKop" <NU**@NULL.NULL > schrieb im Newsbeitrag news:Nu******** ***********@new s.indigo.ie... Gernot Frisch posted:
"rockwell" <ro**********@y ahoo.com> schrieb im Newsbeitrag news:6b******** *************** ***@posting.goo gle.com... > Hi groups i want to write a program ro numerically integrate an> equation using the rectangle method,i know a little bit about the> rectangle method but never used it abd dont quite really know how to> program it.if you guys know how to do it, can you help me out. the> equation looks like > > eq = ∫ sin(θ*Π) / cos(2*Π*&# 952;) ,the> integration is from 0 to 1000. > > Thanks in advance, > Bye
eq = x^2 integration from 0 to 100 So, basically you make smal stips of let's say 0.01 width and calculate the area of this strip.
di = (value_left + value_right) / 2 * detla_width;
Then you only sum it up.
HTH, Gernot
Gernot, I'd prefer if you wouldn't fully answers people's questions like that when they've shown no effort at all, especially when it looks like a homework question.
Rockwell, if you want me to do your homework for you, head to rentacoder.com and I'll do it for a nominal fee.
But if you want some help with C++, make an effort and I'll be more than willing to share what I know (and can do).
I just explained how to do it. I didn't post any line of
code. I think it's fair to explain _how_ things work for a homework. Because understanding how it works is the aim of a homework. I suppose...
-JKop
Smith posted: JKOP, go back to your java group. we don't need java cop jkop jgop or whatever, things like you are not appropriate in comp.lang.c++ group. especially for bagging money. back to your NULL land.
Gernot is right.
Disgusting grammar.
Really Smith, I'd love to help you here on this one, but I don't know Java,
nor can I comprehend how a person could possibly be not appropriate in a
newsgroup. "NULL land" doesn't exist, that's just where Mammy tells you
Daddy's gone.
-JKop This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: A.T. |
last post by:
Am trying to sort the following file with the <xsl:sort> function, but
can't get it to work properly. Would like the id column sorted
according both alphabetically & numerically. (e.g. A-01, A-02, B-02).
Currently the output, is a table display.
XML DOCUMENT
<root>
<version>
<id>A-01</id>
<!-- other elements -removed for ease of reading-->
|
by: Federico G. Babelis |
last post by:
Hi All:
I have this line of code, but the syntax check in VB.NET 2003 and also in
VB.NET 2005 Beta 2 shows as unknown:
Dim local4 As Byte
Fixed(local4 = AddressOf dest(offset))
CType(local4, Short) = CType(src, Short)
|
by: Saputra |
last post by:
Does anyone know how to sort a data view numerically? By default, when
you sort a field from a table in a database, it sorts it in
alpha-numerical order. In MS Access, sort is by alpha-numeric, that
is, numbers sort from 1, 10 ,11, 1X, 2, 21, 2X, etc. I want VB.NET to
sort a column in data view numerically, so it goes 1 - 9, 10 - 19, 20 -
29, etc..
|
by: Paul McGuire |
last post by:
My son showed me this Flash game, Orbit (there are *many* links on the
web out there for it, here's one for the Google-challenged:
http://uploads.ungrounded.net/250000/250408_orbit.swf), and it is
*addicting*.
Basically, you control a comet to traverse through the gravitational
fields of randomly placed planets. Your only inputs are starting x,y
location and starting direction and speed, defined by clicking,
dragging, and releasing the...
|
by: pdmountaineer |
last post by:
hi,
I am writing a C program and I would like to integrate some executables
(.EXE files) from my C program. Is this possible and how should one do
this exactly?
kind regards
| |
by: pdmountaineer |
last post by:
hi,
I would like to integrate some executable files (.EXE files) into a new
C program. Is this possible and if so, how should it be done exactly???
kind regards
|
by: analfabete |
last post by:
Hi,
I begin in python program and I would like to know how I can do to integrate Internet Explorer into my python program without titlebar statusbar etc... Just with the main windows (windows which show web site)
I have already searched documention but i never find something about my problem
Thank you !
|
by: =?Utf-8?B?TG9zdEluTUQ=?= |
last post by:
Hi all,
I have a "connected" datagridview that uses a bindingsource/datatable to
load the grid and update the user's modifications to the database. I have a
column that is set in the database as varchar, but it is populated with
values ranging from 1 to 49. It is not an option to change the column to
integer in the database.
When I sort the column by clicking on the column header it sorts
alphabetically as expected (Ex. 1, 10, 11,...
|
by: Peng Yu |
last post by:
Hi,
Suppose T is 'float' or 'double'.
T x;
x < 10 * std::numeric_limits<T>::epsilon();
I can use the above comparison to test if 'x' is numerically zero. But
I'm wondering what should be a good multiplicative constant before
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |