answersLogoWhite

0

#include

#include

#include

#define pi 3.14

void main()

{

float degree,tanvalue;

clrscr();

printf("Enter degree:\n");

scanf("%f",°ree);

tanvalue=tan(degree*(pi/180.0));

printf("tan value of %.2f is %.2f",degree,tanvalue);

getch();

}

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Computer Science

What is the Big O notation for finding the complexity of algorithms that involve both the operations of finding the character 'c' and 'k' in a given input?

The Big O notation for finding the complexity of algorithms that involve both finding the character 'c' and 'k' in a given input is O(n), where n is the length of the input.


Write a program in c language to implement framing methods like character stuffing?

A program in c language to implement framing methods like character stuffing can be grave sizeCRC-32 and the variable c50.


A set of electronic instructions that tell the computer what to do?

A set of electronic instructions that tells the computer what to do is called a program. Programs are essentially algorithms to a solution that are written in a language the computer can understand.


How can I effectively stop a MATLAB program that is running indefinitely?

To effectively stop a MATLAB program that is running indefinitely, you can press Ctrl C on your keyboard to interrupt the execution of the program. This will halt the program and allow you to make necessary adjustments or terminate it completely.


What are the key considerations when implementing a C program that simulates a Poisson distribution?

When implementing a C program to simulate a Poisson distribution, key considerations include understanding the Poisson distribution formula, generating random numbers using a Poisson distribution, and ensuring the program accurately reflects the expected distribution outcomes. Additionally, it is important to validate the results of the simulation and optimize the program for efficiency.