The formula for calculating the value of A in terms of 'r' and 'V' is :
Below is the program which has the user defined function which calculates the value of A by taking value of 'r' and 'V' as an input from the user:
#include "stdafx.h"
#include <math.h>
#define pi 3.14
double calculate(float r, float v)
{
double A = r * ( (pi*r) + sqrt( pow(pi*r,2) + (
(9*pow(v,2))/pow(r,4) ) ) );
return A;
}
int main()
{
float R, V;
printf("Enter the radius :");
scanf("%f",&R);
printf("Enter the Volume :");
scanf("%f", &V);
double A = calculate(R, V);
printf("The Value of A is : %f", A);
printf("\n");
return 0;
}
OUTPUT (output is validated with the google results)
feel free to ask if you have any doubt :)
s Review View Tell me what you w AaBbccDc LT Normal Paragraph Write in a c...
Review View AaBbCcDc AaBbCcDc AaBbc AaBbCc I Normal 1 No Spaci... Heading 1 Heading 2 Paragraph AMERICAN TRAINING SCHOOL TOE MEESSIONE Name: + Date: Identifying-the-P, QRS-complex-and-T-waves-homework 1.- Identify the waves, QRS complexes, and the T-waves.-Notice that you have-a-blue-line with: circles, red with circlesand-greenwithcircles.tabelall-the circlesthe wave component of these cardiac cycles. 1 Co
Joseph Salib Lab 6 Newtons law.docx Review View Help Tell me what you want to do AaBbCcte Replace AaBbCcDe AaBbCcDc AaBbCa dabCl AaBbCcD !Normal TNo Spac Heading 1 Heading 2 Heading 3 Title Subtitle Select G Editing 8. Adding 10 and 20 grams of mass to the hanger m/s' di di 9. The Atwood Machine Trial M M2 % difference ae m/s 314 45 .883 at m/s Discussion and Conclusion/ Post-Lab Questions 1. What Did theoretical and experimental values agree?...
es Mailings Review View Help Search a A E ES 2 -A-EEEE TE. AaBbccdc AaBbccdc AaBbc AaBbccc A 1 Normal 11 No Spac... Heading 1 Heading 2 Paragraph Styles Oncology certification: 1: Describe your plan (inlucing timeline and study strategies) for obtaining your certification 2:If you are not qualified, what is your barrier? How can you overcome it? What is your timeline for doing so?
Document (15) Mailings Review View Help Tell me what you want to do erences E. Normal No Spac. Heading 1 Heading Font Paragraph Styles Policy draft paper: 5 pa ge discussion on "Allocating Limited Donor Organs or Payment for Organs". (1) why is this topic relevant to the course. (2) why is this topic of interest to you. (3) who is affected by the issue. (4) examples of differing perspectives on the issue. (5) your plan for developing your paper-what...
Assn 2 (1)- Word Tell me what you want to do View e 1 Normal , 2. H. Lt ! İNo Spec Heading 1 Heading 2 Tale Subtitle Subtle finn Emphasis intense E- Shong Styles Paragraph Process Control- Assn 2 Problem 3: Find the characteristics equation, the poles and zeros for the following transfer functions and plot them in s plane. Problem 1: Determine the following for a plant with the transfer function below when a unit step input is...
x Excel template - Saved Home Insert Data Review View Help Tell me what you want to do 5 X Out - 10-AA 13 Currency Lu Copy BTW. DA S. % 9 et Delete 29 Forsbe Clear 816 1 Personal taxes Salary $84,000.00 Tax Table for Single Individuals Taxable income 4 Dividend Income 5 Interest income 6 LT Stock Sale 7 LT Stock Cost ST Stock Sale 9 ST Stock Cost 10 Personal Exemption 11 Pomured Deductions 12 Aplicable Tax...
please label all of the molecules HULL W y ! REVIEW View EndNote XY Acrobat Ret Works Format Ay.A-EE. . AaBbCcDc AaBbCcDc AaBb Normal T No Spac... Heading 1 AaBbce Heading 2 Paragraph Styles Br Side reaction that results from no protection 3- Side reaction that results from high temperatures
Review View Help Open in Desktop App Tell me what you À BI U or Av. ...Ev EvE *Write a paper on the advantages, disadvantages and proper use of condoms?
Documents Word References Mailings Review View Help Tell me what you want to do AA Aa- X ARYA AaBbccDc AaBbCcDc AaBbc T Normal 1 No Spac... Heading ant Paragraph ady to be installed, but first we need to close some apps. Update now A manufacturer of exercise bicycles is studying the relationship between the number of months an exercise bicycle has been owned and the length of time it was used last week. Data for a random sample of 7...
but References Review View Help Open in Desktop App Tell me what you want to do Editing wo. ~ 12 А А" B 1 U .. 三 Evv A Styles Find Dic 6 04. (25 marks) Header Imagine you are the owner of food manufacturing business and you wish to do quantitative analysis for your company, explain the steps of your analysis? How do you identify the major problems? 7 Header Header ch (US) 10096 P W # * 3...