Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I use x as a variable in a sine function and then graph it

I need to graph the function y=2sin 0.5 PI x
But a) it wont recognise x
b) it wont graph a sine curve
Why? and how do I fix it?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default How do I use x as a variable in a sine function and then graphit

Confused.Maths.Assignment wrote:
I need to graph the function y=2sin 0.5 PI x
But a) it wont recognise x
b) it wont graph a sine curve
Why? and how do I fix it?


Are you actually using Excel? Regardless, your example formula needs
help because you have not shown us how to interpret it. Most
programmatic parsers will guess you mean

y = 2 * sin (0.5) * PI * x

, which is pretty silly, really, and would result in a straight line.

I assume you meant,

y = 2 * sin (0.5 * PI * x)

In Excel, you can approach this like so. If you have x values in column
A, place the following formula in column B:

=2*SIN(0.5*PI()*A2)

Create an XY chart on columns A:B. A sine curve is the result.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable time scaling for different views in a graph Matz Excel Discussion (Misc queries) 3 August 6th 06 04:54 AM
curve fitting to a sine function Tenarife Charts and Charting in Excel 2 August 13th 05 08:23 PM
2 Variable Graph - want average line??? qthisup Charts and Charting in Excel 1 July 14th 05 01:50 AM
Graph with variable data length snoach Excel Discussion (Misc queries) 1 May 27th 05 10:15 AM
how do I use "inv sine" in a worksheet Elimits Excel Worksheet Functions 1 November 17th 04 06:55 PM


All times are GMT +1. The time now is 09:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"