Answer:
Using linkedlist on C++, we have the program below.
Explanation:
#include<iostream>
#include<cstdlib>
using namespace std;
//structure of linked list
struct linkedList
{
int data;
struct linkedList *next;
};
//print linked list
void printList(struct linkedList *head)
{
linkedList *t=head;
while(t!=NULL)
{
cout<<t->data;
if(t->next!=NULL)
cout<<" -> ";
t=t->next;
}
}
//insert newnode at head of linked List
struct linkedList* insert(struct linkedList *head,int data)
{
linkedList *newnode=new linkedList;
newnode->data=data;
newnode->next=NULL;
if(head==NULL)
head=newnode;
else
{
struct linkedList *temp=head;
while(temp->next!=NULL)
temp=temp->next;
temp->next=newnode;
}
return head;
}
void multiplyOddPosition(struct linkedList *head)
{
struct linkedList *temp=head;
while(temp!=NULL)
{
temp->data = temp->data*10; //multiply values at odd position by 10
temp = temp->next;
//skip odd position values
if(temp!= NULL)
temp = temp->next;
}
}
int main()
{
int n,data;
linkedList *head=NULL;
// create linked list
head=insert(head,20);
head=insert(head,5);
head=insert(head,11);
head=insert(head,17);
head=insert(head,23);
head=insert(head,12);
head=insert(head,4);
head=insert(head,21);
cout<<"\nLinked List : ";
printList(head); //print list
multiplyOddPosition(head);
cout<<"\nLinked List After Multiply by 10 at odd position : ";
printList(head); //print list
return 0;
}
A distillation column is an essential item used in the distillation of liquid mixtures to separate the mixture into its component parts, or fractions, based on the differences in volatilities. Fractionating columns are used in small scale laboratory distillations as well as large scale industrial distillations.
Answer:
force R = 846.11 N
lifting force L = 110.36 N
if cable fail complete both R and L will be zero
Explanation:
given data
mass woman mw = 60 kg
mass package mp = 9 kg
accelerates rate a = g/4
to find out
force R and lifting force L and if cable fail than what values would R and L acquire
solution
we calculate here first reaction R force
we know elevator which accelerates upward
so now by direction of motion , balance the force that is express as
R - ( mw + mp ) × g = ( mw + mp ) × a
here put all these value and a = g/4 and use g = 9.81 m/s²
R - ( 60 + 9 ) × 9.81 = ( 60 + 9 ) × g/4
R = ( 69 ) × 9.81/4 + ( 69 ) 9.81
R = 69 ( 9.81 + 2.4525 )
force R = 846.11 N
and
lifting force is express as here
lifting force = mp ( g + a)
put here value
lifting force = 9 ( 9.81 + 9.81/4)
lifting force L = 110.36 N
and
we know if cable completely fail than body move free fall and experience no force
so both R and L will be zero
Answer:
Between 5 & 10 MPa in Table B.1.4
Explanation:
150F = 65°C
State 1:
T = 65°C , x = 0.0; Table B.1.1: v = 0,001020 m^3
/kg
Process: T = constant = 65°C
State 2:
T, v = 0.99 x v
f (65°C) = 0.99 x 0,001020 = 0.0010098 m^3
/kg
Between 5 & 10 MPa in Table B.1.4