+ Reply to Thread
Results 1 to 8 of 8

how can I put this function by Excel

  1. #1
    Registered User
    Join Date
    03-08-2016
    Location
    CYPRUS
    MS-Off Ver
    2010
    Posts
    3

    how can I put this function by Excel

    ASA.png


    F(t)= 1/2+2/π (sint+1/3sin3t+1/5sin5t......)
    Last edited by SALAH ALATAI; 03-08-2016 at 07:56 PM. Reason: out of rule

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Help me

    Welcome to the board, Salah.

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Help me

    Hi and welcome. This looks like homework and I'm guessing the moderators are going to be getting onto you about the title too. Once you fix your thread title you might want to explain what part of the assignment you need help with.
    Happy with my advice? Click on the * reputation button below

  4. #4
    Valued Forum Contributor
    Join Date
    05-14-2012
    Location
    Unknown
    MS-Off Ver
    Unseen
    Posts
    429

    Re: Help me

    Let's say you put the value 7 in cell A2; you could put this formula in cell B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy the sequence down ... A3=8, A4=9, and so on. And then copy the formula down.

  5. #5
    Registered User
    Join Date
    03-08-2016
    Location
    CYPRUS
    MS-Off Ver
    2010
    Posts
    3

    Re: Help me

    Thanks for your response

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,669

    Re: Help me

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  7. #7
    Valued Forum Contributor
    Join Date
    05-14-2012
    Location
    Unknown
    MS-Off Ver
    Unseen
    Posts
    429

    Re: Help me

    @shg: apologies.

    @SALAH ALATAI: please comply with shg's request that you change your thread title to comply with forum rules.

  8. #8
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: how can I put this function by Excel

    @alansidman I see the OP has edited his title so I assume you're OK with me posting now. If not kill this post

    So this question is more interesting that I first thought and is more complex than @invisibleman's solution because the formula needs to undertake a recurrent calculation of the function (Sin n x t)/n where n = 1,3,5,7,9,11,........... and t is the angle


    One way to do this is simply keep adding to the formula below

    Please Login or Register  to view this content.
    note that I've put in A1 the degrees but excel undertakes trig functions in radians so you need to multiply by 2 pi and divide by 360. I put 0 to 360 in column A and copied this down in column B then graphed it on a scatter chart. I'd include the file but for the life of me I can't upload files anymore and yes I've tried all the methods recently posted.

    The problem is that you need to make this a very long equation before you get to a level where the incremental change is immaterial. When graphed these all look like squiggly sine curves for the lower end recurrent numbers of n = 5

    The trick is to create an array formula that can add up all the SIN(n*A1*2*PI()/360)/n for n = 1,3,5,7,9,11,.......up to a very big number


    Please Login or Register  to view this content.
    The above formula does this nicely and as you can see I chose 1800 just because its a big number and it gives a very nice result at the end of the day (a very square shaped curve)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1