User Profile

Collapse

Profile Sidebar

Collapse
kolnit
kolnit
Last Activity: Sep 26 '07, 03:56 AM
Joined: Sep 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kolnit
    started a topic using C++ to determine if a no. is prime or not
    in C

    using C++ to determine if a no. is prime or not

    i wanna use C++ to determine whether a no. is prime or not...
    but the thing just doesnt work at all...
    would anyone kindly check this for me??
    Thanks a lot!
    [code=cpp]
    #include "stdafx.h"
    #include <iostream>
    #include <cmath>
    using namespace std;

    //To determine whether a given number is prime or not

    void main()
    {
    int N;int count;...
    See more | Go to post
    Last edited by sicarie; Sep 26 '07, 12:54 PM. Reason: Code tags

  • kolnit
    started a topic solve eqtn by Newton-Raphson's method
    in C

    solve eqtn by Newton-Raphson's method

    Find a soln to the following eqtn by Newton-Raphson's method
    e^(0.05x)+x^2=1 32254

    Let f(x)= e^(0.05x)+x^2-132254

    perform iterations until abs f(x)<10^-6


    I just have no idea wt to do!!
    THanks a lot!!
    See more | Go to post
No activity results to display
Show More
Working...