blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 4
214
| content_id
stringlengths 40
40
| detected_licenses
sequencelengths 0
50
| license_type
stringclasses 2
values | repo_name
stringlengths 6
115
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 21
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 141k
586M
⌀ | star_events_count
int64 0
30.4k
| fork_events_count
int64 0
9.67k
| gha_license_id
stringclasses 8
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 50
values | src_encoding
stringclasses 23
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 1
class | length_bytes
int64 5
10.4M
| extension
stringclasses 29
values | filename
stringlengths 2
96
| content
stringlengths 5
10.4M
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ae47c0b6809d3f44bdf25f7ecf76bc9f1fa98a23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH7/EX7.7/7_7.sce | 416d9879a012854a2e8468347d2a2cf19d118145 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 7_7.sce | clc;
clear;
format('v',6);
V1=60;
V2=20;
r1=2; //in cm
r2=6; //in cm
r=4; //in cm
disp("where A and B are constants.","V=A*ln(r)+B","The potential V as a function of coordinates is ");
disp("B=85.2","A=-36.4","using the given data,we get");
V=-36.4*log(r)+85.2;
disp(V,"The potential at r=4 cm,V(in volt)=");
|
36bec0a879624bc517c99f85d9cdce520a0230a2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/percent/%shs.sci | 71ca5556251953681ea4bdcb9fdbca5007df4cc6 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sci | %shs.sci | function r=%shs(a,b)
//computes a&b for a and b matrices of scalar
if a==[]|b==[] then
r=[]
else
r=(a<>0)&(b<>0)
end
|
2492fbbf860d211450fff27710a2eae203620d4e | fc5f1b90d24aeee218dc9186a13da29b38f42e78 | /tests/parser_JAVA.tst | 019f69e0beb63db0c1a3c7ee41cc29ac566456d1 | [] | no_license | breckinloggins/cbnf | e742c1fe07f374b32185cc4bfd7ec0cf28d5fefc | a6507ea4f5f7710a2591d3a1936d2bbf241eee1c | refs/heads/master | 2021-01-22T19:36:04.952416 | 2011-07-08T23:56:45 | 2011-07-08T23:56:45 | 2,020,610 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,580 | tst | parser_JAVA.tst | // From: http://infoether.com/~tom/java.bnf
grammar JAVA;
/*****************************************
* THE JAVA LANGUAGE GRAMMAR STARTS HERE *
*****************************************/
/*
* Program structuring syntax follows.
*/
CompilationUnit : ( PackageDeclaration )? ( ImportDeclaration )* ( TypeDeclaration )+ ( "\u001a" )? ;
PackageDeclaration : Modifiers "package" Name ";" ;
ImportDeclaration : "import" ( "static" )? Name ( "." "*" )? ";" ;
/*
* Modifiers. We match all modifiers in a single rule to reduce the chances of
* syntax errors for simple modifier mistakes. It will also enable us to give
* better error messages.
*/
Modifiers : ( ( "public" | "static" | "protected" | "private" | "final" | "abstract" | "synchronized" | "native" | "transient" | "volatile" | "strictfp" | Annotation ) )* ;
/*
* Declaration syntax follows.
*/
TypeDeclaration : ";"
| Modifiers ( ClassOrInterfaceDeclaration | EnumDeclaration | AnnotationTypeDeclaration ) ;
ClassOrInterfaceDeclaration : ( "class" | "interface" ) IDENTIFIER ( TypeParameters )? ( ExtendsList )? ( ImplementsList )? ClassOrInterfaceBody ;
ExtendsList : "extends" ClassOrInterfaceType ( "," ClassOrInterfaceType )* ;
ImplementsList : "implements" ClassOrInterfaceType ( "," ClassOrInterfaceType )* ;
EnumDeclaration : "enum" IDENTIFIER ( ImplementsList )? EnumBody ;
EnumBody : "{" ( EnumConstant ( "," EnumConstant )* )? ( "," )? ( ";" ( ClassOrInterfaceBodyDeclaration )* )? "}" ;
EnumConstant : Modifiers IDENTIFIER ( Arguments )? ( ClassOrInterfaceBody )? ;
TypeParameters : "<" TypeParameter ( "," TypeParameter )* ">" ;
TypeParameter : IDENTIFIER ( TypeBound )? ;
TypeBound : "extends" ClassOrInterfaceType ( "&" ClassOrInterfaceType )* ;
ClassOrInterfaceBody : "{" ( ClassOrInterfaceBodyDeclaration )* "}" ;
ClassOrInterfaceBodyDeclaration : Initializer
| Modifiers ( ClassOrInterfaceDeclaration | EnumDeclaration | ConstructorDeclaration | FieldDeclaration | MethodDeclaration | AnnotationTypeDeclaration )
| ";"
;
FieldDeclaration : Type VariableDeclarator ( "," VariableDeclarator )* ";" ;
VariableDeclarator : VariableDeclaratorId ( "=" VariableInitializer )? ;
VariableDeclaratorId : IDENTIFIER ( "[" "]" )* ;
VariableInitializer : ArrayInitializer
| Expression
;
ArrayInitializer : "{" ( VariableInitializer ( "," VariableInitializer )* )? ( "," )? "}" ;
MethodDeclaration : ( TypeParameters )? ResultType MethodDeclarator ( "throws" NameList )? ( Block | ";" )
;
MethodDeclarator : IDENTIFIER FormalParameters ( "[" "]" )* ;
FormalParameters : "(" ( FormalParameter ( "," FormalParameter )* )? ")" ;
FormalParameter : Modifiers ( "final" | Annotation )? Type ( "..." )? VariableDeclaratorId ;
ConstructorDeclaration : ( TypeParameters )? IDENTIFIER FormalParameters ( "throws" NameList )? "{" ( ExplicitConstructorInvocation )? ( BlockStatement )* "}"
;
ExplicitConstructorInvocation : ( IDENTIFIER "." )* ( "this" "." )? ( TypeArguments )? ( "this" | "super" ) Arguments ";" ;
Initializer : ( "static" )? Block ;
/*
* Type, name and expression syntax follows.
*/
Type : ReferenceType
| PrimitiveType
;
ReferenceType : PrimitiveType ( "[" "]" )+
| ( ClassOrInterfaceType ) ( "[" "]" )* ;
ClassOrInterfaceType : IDENTIFIER ( TypeArguments )? ( "." IDENTIFIER ( TypeArguments )? )* ;
TypeArguments : "<" TypeArgument ( "," TypeArgument )* ">" ;
TypeArgument : ReferenceType
| "?" ( WildcardBounds )?
;
WildcardBounds : "extends" ReferenceType
| "super" ReferenceType
;
PrimitiveType : "boolean"
| "char"
| "byte"
| "short"
| "int"
| "long"
| "float"
| "double"
;
ResultType : "void"
| Type
;
Name : IDENTIFIER ( "." IDENTIFIER )* ;
NameList : Name ( "," Name )* ;
/*
* Expression syntax follows.
*/
Expression : ConditionalExpression ( AssignmentOperator Expression )? ;
AssignmentOperator : "="
| "*="
| "/="
| "%="
| "+="
| "-="
| "<<="
| ">>="
| ">>>="
| "&="
| "^="
| "|="
;
ConditionalExpression : ConditionalOrExpression ( "?" Expression ":" Expression )? ;
ConditionalOrExpression : ConditionalAndExpression ( "||" ConditionalAndExpression )* ;
ConditionalAndExpression : InclusiveOrExpression ( "&&" InclusiveOrExpression )* ;
InclusiveOrExpression : ExclusiveOrExpression ( "|" ExclusiveOrExpression )* ;
ExclusiveOrExpression : AndExpression ( "^" AndExpression )* ;
AndExpression : EqualityExpression ( "&" EqualityExpression )* ;
EqualityExpression : InstanceOfExpression ( ( "==" | "!=" ) InstanceOfExpression )* ;
InstanceOfExpression : RelationalExpression ( "instanceof" Type )? ;
RelationalExpression : ShiftExpression ( ( "<" | ">" | "<=" | ">=" ) ShiftExpression )* ;
ShiftExpression : AdditiveExpression ( ( "<<" | RSIGNEDSHIFT | RUNSIGNEDSHIFT ) AdditiveExpression )* ;
AdditiveExpression : MultiplicativeExpression ( ( "+" | "-" ) MultiplicativeExpression )* ;
MultiplicativeExpression : UnaryExpression ( ( "*" | "/" | "%" ) UnaryExpression )* ;
UnaryExpression : ( "+" | "-" ) UnaryExpression
| PreIncrementExpression
| PreDecrementExpression
| UnaryExpressionNotPlusMinus
;
PreIncrementExpression : "++" PrimaryExpression ;
PreDecrementExpression : "--" PrimaryExpression ;
UnaryExpressionNotPlusMinus : ( "~" | "!" ) UnaryExpression
| CastExpression
| PostfixExpression
;
// This production is to determine lookahead only. The LOOKAHEAD specifications
// below are not used, but they are there just to indicate that we know about
// this.
CastLookahead : "(" PrimitiveType
| "(" Type "[" "]"
| "(" Type ")" ( "~" | "!" | "(" | IDENTIFIER | "this" | "super" | "new" | Literal )
;
PostfixExpression : PrimaryExpression ( "++" | "--" )? ;
CastExpression : "(" Type ")" UnaryExpression
| "(" Type ")" UnaryExpressionNotPlusMinus
;
PrimaryExpression : PrimaryPrefix ( PrimarySuffix )* ;
MemberSelector : "." TypeArguments IDENTIFIER ;
PrimaryPrefix : Literal
| ( IDENTIFIER "." )* "this"
| "super" "." IDENTIFIER
| ClassOrInterfaceType "." "super" "." IDENTIFIER
| "(" Expression ")"
| AllocationExpression
| ResultType "." "class"
| Name
;
PrimarySuffix : "." "super"
| "." "this"
| "." AllocationExpression
| MemberSelector
| "[" Expression "]"
| "." IDENTIFIER
| Arguments
;
Literal : INTEGER_LITERAL
| FLOATING_POINT_LITERAL
| CHARACTER_LITERAL
| STRING_LITERAL
| BooleanLiteral
| NullLiteral
;
BooleanLiteral : "true"
| "false"
;
NullLiteral : "null" ;
Arguments : "(" ( ArgumentList )? ")" ;
ArgumentList : Expression ( "," Expression )* ;
AllocationExpression : "new" PrimitiveType ArrayDimsAndInits
| "new" ClassOrInterfaceType ( TypeArguments )? ( ArrayDimsAndInits | Arguments ( ClassOrInterfaceBody )? )
;
/*
* The third LOOKAHEAD specification below is to parse to PrimarySuffix
* if there is an expression between the "[...]".
*/
ArrayDimsAndInits : ( "[" Expression "]" )+ ( "[" "]" )*
| ( "[" "]" )+ ArrayInitializer
;
/*
* Statement syntax follows.
*/
Statement : LabeledStatement
| AssertStatement
| Block
| EmptyStatement
| StatementExpression ";"
| SwitchStatement
| IfStatement
| WhileStatement
| DoStatement
| ForStatement
| BreakStatement
| ContinueStatement
| ReturnStatement
| ThrowStatement
| SynchronizedStatement
| TryStatement
;
AssertStatement : "assert" Expression ( ":" Expression )? ";" ;
LabeledStatement : IDENTIFIER ":" Statement ;
Block : "{" ( BlockStatement )* "}" ;
BlockStatement : LocalVariableDeclaration ";"
| Statement
| ClassOrInterfaceDeclaration
;
LocalVariableDeclaration : Modifiers Type VariableDeclarator ( "," VariableDeclarator )* ;
EmptyStatement : ";" ;
StatementExpression : PreIncrementExpression
| PreDecrementExpression
| PrimaryExpression ( "++" | "--" | AssignmentOperator Expression )?
;
SwitchStatement : "switch" "(" Expression ")" "{" ( SwitchLabel ( BlockStatement )* )* "}" ;
SwitchLabel : "case" Expression ":"
| "default" ":"
;
IfStatement : "if" "(" Expression ")" Statement ( "else" Statement )? ;
WhileStatement : "while" "(" Expression ")" Statement ;
DoStatement : "do" Statement "while" "(" Expression ")" ";" ;
ForStatement : "for" "(" ( Modifiers Type IDENTIFIER ":" Expression | ( ForInit )? ";" ( Expression )? ";" ( ForUpdate )? ) ")" Statement
;
ForInit : LocalVariableDeclaration
| StatementExpressionList
;
StatementExpressionList : StatementExpression ( "," StatementExpression )* ;
ForUpdate : StatementExpressionList ;
BreakStatement : "break" ( IDENTIFIER )? ";" ;
ContinueStatement : "continue" ( IDENTIFIER )? ";" ;
ReturnStatement : "return" ( Expression )? ";" ;
ThrowStatement : "throw" Expression ";" ;
SynchronizedStatement : "synchronized" "(" Expression ")" Block ;
TryStatement : "try" Block ( "catch" "(" FormalParameter ")" Block )* ( "finally" Block )? ;
/* We use productions to match >>>, >> and > so that we can keep the
* type declaration syntax with generics clean
*/
RUNSIGNEDSHIFT : ( ">" ">" ">" ) ;
RSIGNEDSHIFT : ( ">" ">" ) ;
/* Annotation syntax follows. */
Annotation : NormalAnnotation
| SingleMemberAnnotation
| MarkerAnnotation
;
NormalAnnotation : "@" Name "(" ( MemberValuePairs )? ")" ;
MarkerAnnotation : "@" Name ;
SingleMemberAnnotation : "@" Name "(" MemberValue ")" ;
MemberValuePairs : MemberValuePair ( "," MemberValuePair )* ;
MemberValuePair : IDENTIFIER "=" MemberValue ;
MemberValue : Annotation
| MemberValueArrayInitializer
| ConditionalExpression
;
MemberValueArrayInitializer : "{" ( MemberValue ( "," MemberValue )* ( "," )? )? "}" ;
/* Annotation Types. */
AnnotationTypeDeclaration : "@" "interface" IDENTIFIER AnnotationTypeBody ;
AnnotationTypeBody : "{" ( AnnotationTypeMemberDeclaration )* "}" ;
AnnotationTypeMemberDeclaration : Modifiers ( Type IDENTIFIER "(" ")" ( DefaultValue )? ";" | ClassOrInterfaceDeclaration | EnumDeclaration | AnnotationTypeDeclaration | FieldDeclaration )
| ( ";" )
;
DefaultValue : "default" MemberValue ; |
189f265b85c48f9362daf175863bb467dbccab10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH9/EX9.9/9_9.sce | bb459b825e55cfe9b1453d5537722a2c85504612 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 903 | sce | 9_9.sce | clear; clc; close;
Cs = 10*10^(-6);
Ce = 20*10^(-6);
Cc = 1*10^(-6);
Rs = 1*10^(3);
R1 = 40*10^(3);
R2 = 10*10^(3);
Re = 2*10^(3);
Rc = 4*10^(3);
Rl = 2.2*10^(3);
Beta = 100;
ro = %inf;
Vcc = 20;
Ve = 4-0.7;
Vb = R2*Vcc/(R2+R1);
Ie = Ve/Re;
re = 26*10^(-3)/(1.65*10^(-3));
x = Beta*re;
Av = -Rc*Rl/((Rc+Rl)*re);
Zi = R1*R2*x/(R1*R2+R2*x+x*R1);
Ri = Zi;
Vi_by_Vs = Ri/(Ri+Rs);
Avs = Av*Vi_by_Vs;
fls = 1/(2*%pi*(Rs+Ri)*Cs);
disp(fls,'Low cutoff frequency is ');
f1 = fls;
f = .1:10:10*f1;
av = (1+(f1./f)^2)^(-1/2);
av1 = -20*log10(f1/f1);
f2 = f1/10;
av2 = -20*log10(f1/f2);
f3 = f1/4;
av3 = -20*log10(f1/f3);
f4 = f1/2;
av4 = -20*log10(f1/f4);
x = [f2 f3 f4 f1];
y = [av2 av3 av4 av1];
gainplot(f,av);
a = gca();
a.y_location = 'left';
a.x_location = 'top';
a.x_label.text = 'frequency';
a.y_label.text = 'Av';
a.title.text = 'Bode';
plot2d(x,y); |
8957a124ca8ef8882d75b9c25ce77bb87caa7966 | 92c39b1bfa02d70fb861a7fa8c907a2a24613ebf | /g.sci | 98dbdfadd640bf5a46d37f0b08ef9f85f0141bcb | [] | no_license | UTEC-mateIII/TAP-2 | 7e9d8aba21430ef00987dbf14418444f27cd20e7 | faeae752299402b9c7f43c37cf7d62b6a0daa42d | refs/heads/master | 2022-06-29T17:15:47.667656 | 2020-05-04T23:56:57 | 2020-05-04T23:56:57 | 260,448,794 | 0 | 2 | null | 2020-05-01T14:16:39 | 2020-05-01T12:00:47 | null | UTF-8 | Scilab | false | false | 364 | sci | g.sci | // Alberto Oporto Ames 100%
exec("rotE.sci")
d=6
// 53° sobre el eje z del proyector
theta1=53
u=[0, 0, 1]
R1=Rmat(u, theta1)
[A B C D] = rotE(u, theta1, d)
// 37° sobre el eje x del proyector
theta2=37
u2=[1, 0, 0]
u2=R1*u2' // Nuevo eje x
[A B C D] = rot(u2, theta2, A, B, C, D)
disp("A")
disp(A)
disp("B")
disp(B)
disp("C")
disp(C)
disp("D")
disp(D)
|
6511ede1aaa7aa7183ee433ef0f5129b69580fdf | b34461c9ddff1ba130b67023d6e568ada42830dc | /workspace/test script.sce | 3ea966173cce4a8d93e8fb876de1b9a709a67051 | [] | no_license | AdrienKegler/Projet-Exolife | f72287fdc41a07b88f03b8346dafab93b4539b07 | 249f0861dc4ba3f2a7639ea60b7d12b45e717933 | refs/heads/master | 2020-05-25T14:05:45.213740 | 2017-03-17T09:16:20 | 2017-03-17T09:16:20 | 84,937,694 | 0 | 0 | null | 2017-03-15T10:15:55 | 2017-03-14T10:45:25 | Scilab | UTF-8 | Scilab | false | false | 293 | sce | test script.sce | //1e étape
path_name = "C:\Users\clement\Documents\GitHub\Projet-Exolife\images\Gliese 667Cc_surface.pbm";
img_in = readpbm(path_name);
//2e
//3e étape
display_gray(img_in);
//4e étape
writepbm(img_out, 'C:\Users\clement\Documents\GitHub\Projet-Exolife\workspace\création.pbm');
|
889a8b69bfcaf9df3964d393c475717b0d798d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH21/EX21.4/VBELT_4.sce | 9930982859c9588c6c3606626147931ef52c82b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sce | VBELT_4.sce | // sum 21-4
clc;
clear;
P=12*10^3;
Ks=1.1;
Pd=12*10^3*Ks;
N=1440;
B=17;
t=11;
d=200;
i=3;
D=i*d;
C=1000;
// since angle of contact theta is very small
theta=(D-d)/C;
theta=theta*180/%pi;
Kc=0.8;
Lp=(2*C)+(%pi/2*(D+d))+(((D-d)^2)/(4*C));
Li=Lp-45;
Ki=1.1;
//let number of v-belts required = n
//let the KW rating be KWR
KWR=5.23;
n=(P*Ks)/(KWR*Ks*Ki*10^3);
n=3;
// printing data in scilab o/p window
printf("D is %0.1f mm ",D);
printf("\n C is %0.1f mm ",C);
printf("\n n is %0.3f ",n);
printf("\n Li is %0.0f mm ",Li) |
e070bbf4c4e23c458b3289825715c5b644051519 | 27a721095f94b336dd8b88c9d90cb92ca4ab4996 | /Scripts/forwardsub.sci | 086652cc37de645a37d559974cd388d5bc0f2648 | [] | no_license | ECipolatti/Calculo-Numerico | f5201774402680a419345db4fd8f0af686c79e7a | 86369f9010c408854fd141d819bc11b1ab4590c1 | refs/heads/master | 2021-05-06T06:46:10.292226 | 2017-12-11T18:41:46 | 2017-12-11T18:41:46 | 113,894,883 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sci | forwardsub.sci | function [y]=forwardsub(L,b)
[m,n]=size(L);
tol = 10^(-9);
if(L(1,1)<tol)
disp("No funca el algoritmo")
return;
end
y=zeros(n,1);
y(1)= (b(1)/L(1,1));
for i=2:n
if(L(1,1)<tol)
disp("No funca el algoritmo")
return;
end
y(i)=(b(i)-sum(L(1,1:i-1)*y(1:i-1)))/L(i,i);
end
endfunction
|
38d89eaa1bcb7c51f8d3fc79a8fcfb01a266aec7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH4/EX4.3/Ex4_3.sce | 9d9d56e779ba8715391dd7239cb75fad2890cd3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,099 | sce | Ex4_3.sce | // Example 4.3
// To find a)power at receiver b)magnitude of E-field at receiver c)rms voltage applied to receiver input
// Page no. 112
clc;
clear all;
// Given data
Pt=50; // Transmitter power in Watt
fc=900*10^6; // Carrier frequency in Hz
Gt=1; // Transmitter antenna gain
Gr=2; // Receiver antenna gain
Rant=50; // Receiver antenna resistance in ohm
// a)Power at receiver
d=10*10^3; // Distance from antenna in meter
lambda=(3*10^8)/fc; // Carrier wavelength in meter
Prd1=10*log10((Pt*Gt*Gr*lambda^2)/((4*%pi)^2*d^2)); // Power at transmitter in dBW
Prd=10*log10(((Pt*Gt*Gr*lambda^2)/((4*%pi)^2*d^2))/(10^-3)); // Power at transmitter in dBm
// Displaying the result in command window
printf('\n Power at receiver = %0.1f dBW',Prd1);
printf('\n Power at receiver = %0.1f dBm',Prd);
// b)Magnitude of E-field at receiver
Ae=(Gr*lambda^2)/(4*%pi); // Aperture gain
Pr=10^(Prd1/10); // Receiver power in W
E=sqrt((Pr*120*%pi)/Ae); // Magnitude of E-field at receiver
// Displaying the result in command window
printf('\n \n Magnitude of E-field at receiver = %0.4f V/m',E);
// c)rms voltage applied to receiver input
Vant=sqrt(Pr*4*Rant)*10^3; // rms voltage applied to receiver input
//Answer is varrying due to round-off error
//Displaying the result in command window
printf('\n \n RMS voltage applied to receiver input = %0.3f mV',Vant);
|
70616f0e775627500549af6a6fdce3e282521778 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH5/EX5.5/Ex5_5.sce | cf2e3f7696b620964e7bc2793c7db349ae9d66e0 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | Ex5_5.sce | errcatch(-1,"stop");mode(2);//Example 5_5
;
;
//To find the lattice parameter of lead
theta=30 //units in degrees
n=1
l=1.54*10^-10 //units in meters
d=(n*l)/(2*sin(theta*%pi/180))
h=2
k=2
l=0
a=d*(sqrt(h^2+k^2+l^2)) //units in meters
a=a*10^10 //units in Armstrongs
printf("Lattice parameter is a=%.1f A",a)
//in text book the answer is printed wrong as 4.1A The answer is 4.4A nm
exit();
|
df4ddd356c1fcdb6e7a92e656a20264a9714cd49 | c6cc3eb8682c3378dfab15f7b5e056bf35e49440 | /schurrc.sci | a489a36772bf9f9b445c10be86c6bd96163a975a | [] | no_license | parthe/SCILAB-Signal-Processing-toolbox-FOSSEE- | acf0e50411c19ce9918a6f62d819277428d3ee1a | a46b937aa445bac152f0822c33acc392abf5c8a4 | refs/heads/master | 2020-04-27T21:05:17.347792 | 2015-11-05T06:16:14 | 2015-11-05T06:16:14 | 42,814,185 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,331 | sci | schurrc.sci | function [k,varargout] = schurrc(r)
// Compute reflection coefficients from autocorrelation sequence using Schur algorithm
//
// Calling Sequence
// k = schurrc(r)
// [k,e] = scurrc(r)
//
// Parameters
// r: Autocorrelation sequence. Could be a vector or matrix
// k: reflection coefficients. I-th column of k correspond to reflection coefficients of I-th column of r
// e: Prediction error. I-th element of e represents error for I-th column of r
//
// Description
// The function uses the schur algorithm to obtain the reflection coefficients
//
// Examples
//
// See also
// levinson
//
// Author
// Parthe Pandit
//
// Bibliography
// J. Proakis and D. Manolakis, "Digital Signal Processing: Principles, Algorithms, and Applications".
// errcheck-1
if(type(R) > 1), then
error('Input R is not a matrix')
if (min(size(R)) == 1), R = R(:); end
// if R is a row vector
[m,n] = size(R);
if (m == 1)
R = R(:)
end
// Compute reflection coefficients for each column of the input matrix
for j = 1:n
X = conj(R(:,j).');
// Schur's iterative algorithm on a row vector of autocorrelation values
U = [0 X(2:m); X(1:m)];
for i = 2:m
U(2,:) = [0 U(2,1:m-1)];
k(m-1,j) = -U(1,i)/U(2,i);
U = [1 k(m-1,j); conj(k(m-1,j)) 1]*U;
end
e(c) = U(2,end);
end
e = e';
varargout = list(e);
endfunction
|
04ce9fc653534222bdeefce2b5cf9e161abb6ec4 | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /SciLab/simplex.sce | c426d44db36a2b83e81dacfdfe2ecd337c9a49c9 | [] | no_license | bozhink/Code-Chunks | 74355eb4c0d423c2f6484226e564030dff798678 | 860b7b8f53089ed96fd0ebead2e3eec16fa377cb | refs/heads/master | 2020-12-24T06:19:04.343239 | 2019-11-13T14:09:15 | 2019-11-13T14:09:15 | 42,819,484 | 0 | 1 | null | 2019-11-13T14:09:16 | 2015-09-20T16:09:09 | HTML | UTF-8 | Scilab | false | false | 2,441 | sce | simplex.sce | function A=SetIndexRow(AA,C,IBASIS)
[m,n]=size(AA);
for j=1:n
for i=1:m-1
A(i,j)=AA(i,j);
end
A(m,j)=-C(j);
end
for j=1:n
for i=1:m-1
A(m,j)=A(m,j)+A(i,j)*C(IBASIS(i));
end
end
endfunction
function KC=GetKeyColumn(AA)
[m,n]=size(AA);
KC=1;
for i=1:n-1
//Minimum
if AA(m,i)>AA(m,KC) then
KC=i;
end
end
if AA(m,KC)<=0 then
KC=0; //This is used for convergence check
end
endfunction
function KR=GetKeyRow(AA,KeyColumn)
[m,n]=size(AA);
KR=0;
k=1;
while KR==0 & k<m
if AA(k,KeyColumn)>0.0 then
KR=k;
end
k=k+1;
end
if KR==0 then
disp("ERROR in GetKeyRow: Cannot find Key row.");
return;
end
for i=k+1:m-1
if AA(i,KeyColumn)>0.0 then
if AA(i,n)/AA(i,KeyColumn)<AA(KR,n)/AA(KR,KeyColumn) then
KR=i;
end
end
end
endfunction
function IB=UpdateBasis(IBASIS,KeyRow,KeyColumn)
IB = IBASIS;
IB(KeyRow) = KeyColumn;
endfunction
function MR=GetMainRow(AA,KeyRow,KeyColumn)
[m,n]=size(AA);
for j=1:n
MR(j) = AA(KeyRow,j)/AA(KeyRow,KeyColumn);
end
endfunction
function A=UpdateTable(AA,MR,KeyRow,KeyColumn)
[m,n]=size(AA);
for i=1:m
for j=1:n
A(i,j)=AA(i,j)-MR(j)*AA(i,KeyColumn);
end
end
for j=1:n
A(KeyRow,j)=MR(j);
end
endfunction
function [Z,X]=SimplexReturn(AA,IBASIS)
[m,n]=size(AA);
for j=1:n-1
X(j)=0.0;
end
Z=AA(m,n);
for i=1:m-1
X(IBASIS(i))=AA(i,n);
end
endfunction
function [A,IB,KR,KC]=SimplexStep(AA,C,IBASIS)
A=AA;
IB=IBASIS;
KR=1;
KC = GetKeyColumn(AA);
if KC==0 then return; end;
KR = GetKeyRow(AA,KC);
IB = UpdateBasis(IBASIS,KR,KC);
MR = GetMainRow(AA,KR,KC);
A = UpdateTable(AA,MR,KR,KC);
endfunction
function [Z,X]=SIMPLEX(AA,C,IBASIS)
MaximumIterations=100;
BASIS = IBASIS;
A = SetIndexRow(AA,C,IBASIS);
for Iteration = 1:MaximumIterations
[A,BASIS,KeyRow,KeyColumn]=SimplexStep(A,C,BASIS);
if KeyColumn==0 then
[Z,X]=SimplexReturn(A,BASIS);
return;
end;
end;
disp("SIMPLEX exceeded maximum iterations.");
Z=0.0;
X=0.0*ones(C(1:max(size(C))));
return;
endfunction |
b39911f82d579b339f6cadac94b37cf095c7b4af | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/preditor_prey_rate.sce | 4a52ef586ee811691cd0a2c3476f966e611ff1c2 | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | preditor_prey_rate.sce | function [xdot]=preditor_prey_rate(starve,birth,eat,eaten,preditor,prey)
xdot=zeros(2,1);
xdot(1)=(eat*prey-starve)*preditor;
xdot(2)=(birth-eaten*preditor)*prey;
endfunction
|
04109753e8ebe350044dbe08a129d5b0ee0c56a5 | 865c01c4e4d5bbf3fdc95aed975536760189fb5e | /sas6i/CAMBIOS SISTEMA CON TARIFARIO/ejecuta devuelve convenio.tst | 7b6810e6d59b2da97d41da0d15aa52451d023e89 | [] | no_license | giovaron/Solca_HIS | 3b49cd01af546d6706d41fd40f01caf505e833de | 609104035c0971e1eac8a989c1fa069281d46248 | refs/heads/master | 2021-01-10T11:23:41.215533 | 2015-11-09T18:02:56 | 2015-11-09T18:02:56 | 45,841,168 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | tst | ejecuta devuelve convenio.tst | PL/SQL Developer Test script 3.0
8
BEGIN
DECLARE CONVENIO varCHAR2(25) := NULL;
PROMOCION CHAR(2);
BEGIN
CONVENIO := FCTCONTRF.DEVUELVE_CONVENIO(5137,SYSDATE,PROMOCION);
DBMS_OUTPUT.put_line('La promocion es '||convenio);
END;
END;
0
1
PROMOCION
|
ebe1e0d078360191be530de93e3a08fcfcc908ed | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/percent/%lss_a_s.sci | 986ec8b39e544c72f5d6151e263786cf4d31c521 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sci | %lss_a_s.sci | function s1=%lss_a_s(s1,d2)
//s=%lss_a_s(s1,d2) iff s=s1+d2
//!
// Copyright INRIA
s1(5)=s1(5)+d2
|
98bfedf3095dd5e63373190b54bcdcd6cc0b86da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH2/EX2.21.2/ex2_21_2.sce | 5d90afe769112de4db498f57cda82457da4c8680 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | ex2_21_2.sce | //Chapter-2,Example2_21_2,pg 2-47
m=63.5 //atomic weight
u=43.3 //mobility of electron
e=1.6*10^-19 //charge on electron
N=6.02*10^23 //Avogadro's number
d=8.96 //density
Ad=N*d/m //Atomic density
n=1*Ad
ro=1/(n*e*u)
printf("Resistivity of Cu =")
disp(ro)
printf("ohm-cm") |
6baaf6bd131976d79877b756acbe22e14d521ae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH10/EX10.6/10_6.sce | ebff1168c689c478857ea5b138ba77b1f1bb937c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 168 | sce | 10_6.sce | clc
//Initialization of variables
prob=0.001
R=1
N=6.023*10^23
//calculations
dS=1.987*2.303*log10(prob) /N
//results
printf("change in entropy = %.1e eu",dS)
|
36d9790bc872c685203aedd7e64763b1e98a73db | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/31.tst | 22f679d5c2abb2fdeeaa22f866ace633e0dcbacc | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 108 | tst | 31.tst | int main(void)
{
enum a {
A, B, C
};
{
enum a { /* не ошибка */
Z
};
}
}
|
561a8060517d5c295070039a85546eca1524af1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH10/EX10.13/Ex10_13.sce | 2975cdc4c5e0180e0b890d3b5241feccac435e30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 922 | sce | Ex10_13.sce | // Calculating the number of stator and rotor turns and rotor voltage between slip rings at standstill
clc;
disp('Example 10.13, Page No. = 10.35')
// Given Data
// 3 phase induction motor
Nss = 54;// Number of stator slots
Nrs = 72;// Number of rotor slots
V = 400;// Applied voltage across the stator terminals
// Calculation of the number of stator and rotor turns and rotor voltage between slip rings at standstill
Ts = Nss*8/6;// Stator turns per phase. Since 8 conductors per slot
Tr = Nrs*4/6;// Rotor turns per phase. Since 4 conductors per slot
Es = 400/3^(1/2);// Stator voltage per phase
Er = Es*Tr/Ts;// Rotor voltage per phase at standstill
disp(Ts,'Stator turns per phase =');
disp(Tr,'Rotor turns per phase =');
disp(3^(1/2)*Er,'Rotor voltage between slip rings at standstill (Volts)=');
//in book answers are 72, 48 and 266.7 Volts respectively. The answers vary due to round off error
|
3af4ec4cbb22557f7cba0b7ff9c385a02d895d1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH3/EX3.12/Ex3_12.sce | e969be3b2572f4f74681ed64369ccf968fe8f450 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | Ex3_12.sce | //Initilization of variables
F1=150 //lb
F2=200 //lb
F3=200 //lb
F4=225 //lb
M=900 //lb-ft
Theta1=(45*%pi)/180 //radians
Theta2=(30*%pi)/180 //radians
x1=3 //ft
x2=15 //ft
x3=12 //ft
x4=6 //ft
//Calculations
Fx=F1*cos(Theta1)+F2-F4*cos(Theta2) //Applying sum of all forces equal to zero in X direction
Fy=F1*sin(Theta1)-F4*sin(Theta2)+F2 //Applying sum of all forces equal to zero in Y direction
R=sqrt(Fx^2+Fy^2) //lb
theta=atand(Fy/Fx) //degrees
M_o=x1*F2-x2*F1*cos(Theta1)+x3*F1*sin(Theta1)-x4*F2+M+x4*F4*cos(Theta2)-x1*F4*sin(Theta2) //Moment about point O
x=M_o/Fy //Varignons Theorem
//Result
clc
printf('The x intercept of resultant position is %f\n',x)
printf('The Resultant is %f lb and acts at an angle of %f degrees',R,theta)
|
876a8f6c6cb1a3f245c96659762ca4ebba0b09d3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/fraclab/icontwt.sci | 9a971ef6d3af8acaa7a504f06bd708812e8c1697 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,802 | sci | icontwt.sci | function [x] = icontwt(wt,f,wave)
// This Software is ( Copyright INRIA . 1998 1 )
//
// INRIA holds all the ownership rights on the Software.
// The scientific community is asked to use the SOFTWARE
// in order to test and evaluate it.
//
// INRIA freely grants the right to use modify the Software,
// integrate it in another Software.
// Any use or reproduction of this Software to obtain profit or
// for commercial ends being subject to obtaining the prior express
// authorization of INRIA.
//
// INRIA authorizes any reproduction of this Software.
//
// - in limits defined in clauses 9 and 10 of the Berne
// agreement for the protection of literary and artistic works
// respectively specify in their paragraphs 2 and 3 authorizing
// only the reproduction and quoting of works on the condition
// that :
//
// - "this reproduction does not adversely affect the normal
// exploitation of the work or cause any unjustified prejudice
// to the legitimate interests of the author".
//
// - that the quotations given by way of illustration and/or
// tuition conform to the proper uses and that it mentions
// the source and name of the author if this name features
// in the source",
//
// - under the condition that this file is included with
// any reproduction.
//
// Any commercial use made without obtaining the prior express
// agreement of INRIA would therefore constitute a fraudulent
// imitation.
//
// The Software beeing currently developed, INRIA is assuming no
// liability, and should not be responsible, in any manner or any
// case, for any direct or indirect dammages sustained by the user.
//
// Any user of the software shall notify at INRIA any comments
// concerning the use of the Sofware (e-mail : [email protected])
//
// This file is part of FracLab, a Fractal Analysis Software
[N,nt] = size(wt) ;
fmin = min(f) ; fmax = max(f) ;
a = logspace(log10(1),log10(fmax/fmin),N) ; amax = max(a) ;
if length(wave) == 1
if abs(wave) > 0
nh0 = abs(wave) ;
for ptr = 1:N
nha = round(nh0 * a(ptr)) ;
ha = mtlb_fliplr(morlet(f(ptr),nha,~mtlb_isreal(wave))) ;
detail = convol(ha,wt(ptr,:)) ;
resol(ptr,1:nt) = detail(nha+1:nha+nt)./(a(ptr)^2) ;
end
elseif wave == 0
for ptr = 1:N
ha = mtlb_fliplr(mexhat(f(ptr))) ;
nha = (length(ha)-1)/2 ;
detail = convol(ha,wt(ptr,:)) ;
resol(ptr,1:nt) = detail(nha+1:nha+nt)./(a(ptr)^2) ;
end
end
elseif length(wave) > 1
for ptr = 1:N
ha = mtlb_fliplr(conj(wave(2:wave(1,ptr),ptr)')) ;
firstindice = (wave(1,ptr)-mtlb_rem(wave(1,ptr),2))/2 ;
detail = convol(ha,wt(ptr,:)) ;
resol(ptr,1:nt) = detail(firstindice+1:firstindice+nt)./(a(ptr)^2) ;
end
end
x = integ(resol,a) ;
|
97b92e7bb85d911a280d226967d449a689e17806 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.31/Ex3_31.sce | e447885e90c40dffdcfdd4e4ba6cf3da2d475d9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex3_31.sce | //EX3_31 PG-3.67
clc
LR=3e-3;//load regulation
Vnl=15;//no load voltage or maximum voltage
Vfl=Vnl-LR;//full load voltage
%LR=(Vnl-Vfl)/Vfl*100;//percentage load regulation
printf("\n percentage load regulation is +%.2f %%",%LR)
|
48a250184ba2b57a61249b8b1432dfea5bb79284 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/percent/%lssnlss.sci | 1ec35825d4ae9bb4def02e5dfb6678294bc6bf33 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sci | %lssnlss.sci | //[r]=%lssnlss(s1,s2)
//%lssnlss(s1,s2) effectue le test d'inegalite de deux systemes d'etat
//correspond a l'operation s1<>s2
//!
for k=2:7,r=or(s1(k)<>s2(k));if r then return,end,end
//end
|
aa87c1e0ebdc15d4e2220db8fee217b6fef0a848 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.6/18_6.sce | 27e46ea473aa4f00aa925283a3495c50ba1c0eef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | 18_6.sce | //ques-18.6
//Calculating standard heat of formation of n heptane
clc
E1=-1150;//internal energy change at constant volume (in kcal)
h2=-94;//heat of formation of carbon dioxide (in kcal)
h3=-68;//heat of formation of carbon dioxide (in kcal)
H=7*h2+8*h3-E1;//heat of formation
printf("Heat of formation of n-heptane is %d kcal/mol.",H);
|
a9e1d5ecf36b7ef5cd47ac938a9a15eec3d96fd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.2.8/Ch03Exa3_2_8.sci | e135174ea27ae86f0b3447f7f9bdc492255d0daa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sci | Ch03Exa3_2_8.sci | // Scilab code Exa3.2.8 To calculate the activity and weight of radioactive material : Page 128 (2011)
N_o = 7.721e+018; // Number of atoms in 3 mg of U-234
t_h = 2.5e+05; // Half life of U-234, years
T = 150000; // Total time, years
lambda = 0.6931/t_h; // Decay constant, year^-1
N = N_o*(%e^-(lambda*T)); // Number of atoms left after T years
m = 234000; // Mass of 6.023e+023 atoms of U-234, mg
M = m*N/(6.023e+023); // Weight of sample left after t years,
L = 8.8e-014; // Given decay constant, S^-1
A = N*L*10^6/(3.7e+010); // Activity, micro Ci
printf("\nThe weight of sample = %5.3f mg \n Activity = %5.2f micro Ci ", M, A)
// Result
// The weight of sample = 1.979 mg
// Activity = 12.12 micro Ci
|
d1bf588552554d22f828faf0ad269adbcd9878eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH9/EX9.2/Ex9_2.sce | 41d9df6e077a2e4d41c38dd2ad0ef94ff811fad3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,555 | sce | Ex9_2.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 9 Example 2")
Pa=138;//pressure during compression at 1/8 of stroke in KPa
Pb=1.38*10^3;//pressure during compression at 7/8 of stroke in KPa
n_ite=0.5;//indicated thermal efficiency
n_mech=0.8;//mechanical efficiency
C=41800;//calorific value in KJ/kg
y=1.4;//expansion constant
disp("as given")
disp("Va=V2+(7/8)*(V1-V2)")
disp("Vb=V2+(1/8)*(V1-V2)")
disp("and also")
disp("Pa*Va^y=Pb*Vb^y")
disp("so (Va/Vb)=(Pb/Pa)^(1/y)")
(Pb/Pa)^(1/y)
disp("also substituting for Va and Vb")
disp("(V2+(7/8)*(V1-V2))/(V2+(1/8)*(V1-V2))=5.18")
disp("so V1/V2=r=1+(4.18*8/1.82)")
r=1+(4.18*8/1.82)
disp("it gives r=19.37 or V1/V2=19.37,compression ratio=19.37")
disp("as given;cut off occurs at(V1-V2)/15 volume")
disp("V3=V2+(V1-V2)/15")
disp("cut off ratio,rho=V3/V2")
rho=1+(r-1)/15
disp("air standard efficiency for diesel cycle(n_airstandard)=1-(1/(r^(y-1)*y))*((rho^y-1)/(rho-1))")
n_airstandard=1-(1/(r^(y-1)*y))*((rho^y-1)/(rho-1))
disp("in percentage")
n_airstandard=n_airstandard*100
disp("overall efficiency(n_overall)=n_airstandard*n_ite*n_mech")
n_airstandard=0.6325;
n_overall=n_airstandard*n_ite*n_mech
disp("in percentage")
n_overall=n_overall*100
disp("fuel consumption,bhp/hr in kg=")
n_overall=0.253;
75*60*60/(n_overall*C*100)
disp("so compression ratio=19.37")
disp("air standard efficiency=63.25%")
disp("fuel consumption,bhp/hr=0.255 kg")
|
1b5e0e67abeac92c9d3cbc845487b7f2df50b24d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH3/EX3.24/24.sce | 1f695a9e7c41828f23126cfc349447c7314b3de8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | 24.sce | clc
clear
//INPUT DATA
n=4//no.of atoms in Face centered cubic lattice
d=6250//density of potassium bromide in Kg/m^3
AW=60.2//molecular weight of crysal with face centered cubic lattice
N=6.023*10^26//Avagadro's number per Kg mol
//CALCULATION
a=(((n*AW)/(d*N))^(1/3))/10^-10//The lattice constant in armstrong *10^-10
//OUTPUT
printf('The lattice constant is %3.3f*10^-10 Armstrong',a)
|
849050baeed7b2707ed9098da3087f13f31cf3ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH4/EX4.1/ex4_1.sce | 76db8ef2ef0f11949c2f4971a37ad8ba3731c233 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | ex4_1.sce | // Exa 4.1
format('v',7);clc;clear;close;
// Given data
Vi = 5.1;//input voltage in V
n = 8;// number of bit
Resolution = 2^n;
Resolution = Vi/(Resolution-1);// in V/LSB
Resolution= Resolution*10^3;// in mV/LSB
disp(Resolution,"The Resolution in mV/LSB is");
Resolution= Resolution*10^-3;// in V/LSB
Vi = 1.28;// in V
D = Vi/Resolution;//digital output in LSBs
DigitalOutput= dec2bin(round(D));// digital output in binary
disp(DigitalOutput,"The digital output in binary is :")
|
eec63544be04f2d311c4e72571596e65da5dc6fc | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab3/q2.sce | 07a660c4316cf608edb758f7966d3ff0f0653684 | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | q2.sce | s = poly(0,'s');
// PART a
t = 0:.005:8;
G = 85/(s^3+7*s^2+27*s+85);
G = syslin('c',G);
y1 = csim('step', t,G);
G_approx = 17/(s^2+2*s+17);
G_approx = syslin('c',G_approx);
y2 = csim('step', t,G_approx);
plot2d(t,[y1',y2']);
xgrid(5,1,3);
legend(['Original TF', '2nd Order Approximation']);
xlabel('Time t (in sec)');
ylabel('Step Response');
title('Comparison of Step Responses of original & 2nd order approximated systems');
show_window(1);
// PART b
t = 0:.05:100;
G = (s+.01)/(s^3+2.02*s^2+5.04*s+.1);
G = syslin('c',G);
y1 = csim('step', t,G);
G_approx = .5/(s^2+2*s+5);
G_approx = syslin('c',G_approx);
y2 = csim('step', t,G_approx);
plot2d(t,[y1',y2']);
xgrid(5,1,3);
legend(['Original TF', '2nd Order Approximation']);
xlabel('Time t (in sec)');
ylabel('Step Response');
title('Comparison of Step Responses of original & 2nd order approximated systems');
show_window(2);
|
af500ffb282afdd01a0079e04fadbc859c10b97f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH3/EX3.7/Ex3_7.sce | c063b63b049db9bfd72103c437f90d3b4b5c6ffe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ex3_7.sce | //Example 3_7
clc;clear;funcprot(0);
//Constants used
g=9.81;// The acceleration due to gravity in m/s^2
//Given values
rho_0=1040;// The density of brine in kg/m^3
h_1=0.8;// m
H=4;// m
z_0=0;
z_1=4;// z_0 & z_1 are limits of integration
//Calculation
P_1=rho_0*g*h_1/1000;// Standard pressure determination formula in kPa
P_2=integrate('rho_0*g*(sqrt(1+(tan(3.14*z/4/H)^2)))','z',z_0,z_1);//integrant
P_2=P_2/1000;// kPa
P=P_1+P_2;
printf('The gage pressure at the bottom of gradient zone P=%0.1fkPa\n',P);
|
c72173125555b410931ace67c1982b1286c94315 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/tgk.tst | 07dc1cce921e0de6e92e44c4947461b847ca090d | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | tst | tgk.tst | рус рус N;NDEF;SG
мор мор N;NDEF;SG
нам нам N;NDEF;SG
модар модар N;NDEF;SG
сир сир N;NDEF;SG
кишвар кишвар N;SG
дил дил N;NDEF;SG
бол бол N;NDEF;SG
хар хар N;NDEF;SG
зар зар N;NDEF;SG
ранг ранг N;SG
сол сол N;NDEF;SG
мех мех N;NDEF;SG
ватан وطن N;SG
доктор доктор N;NDEF;SG
дам дам N;NDEF;SG
|
fd6f56b46d23f1fed121c84b4bc1bd3a71e17c84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/4_11.sci | 4fe857acb10b35e11860b7f5bff6f8f18fae5aed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sci | 4_11.sci | //Mass of vane and cart(in kg):
M=75;
//Turning angle of vane:
theta=60;
//Speed of water leaving nozzle horizontally(in m/sec):
V=35;
//Exit area of nozzle(in m^):
A=0.003;
//Density of water(in kg/m^3):
d=999;
|
b25d4f99ab0cc1ccea7ce7a8e5acfdd4854180ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH16/EX75.1/75.sce | 8de162d8daa1fcd7cf17b2c3285a68edf7a03b81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 75.sce | clc
//initialisation of variables
d=180//mm
h=1000//rpm
n=320//rpm
//CALCULATIONS
D=d*(h/n)//mm
//RESULTS
printf('the diameter of the follower sheave=% f mm',D)
|
d0e6ad612c82ad241ad28b586ee0141e8db95e44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH8/EX40.3/40.sce | cd823329d0526ed0b604ea5fd3e84003aed3dc33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | 40.sce | clc
//initialisation of variables
v=60//m/sec
a=30//mm
b=120//mm
//CALCULATIONS
V=v*(b/a)//mm/sec
//RESULTS
printf('the velocity of the follower it the groove=% f mm/sec',V)
|
edff3aecf52985fc39f385561f1724d6920806ab | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/util/g_inv.sci | 9f50defcf45c7d105526bb2f613f67aa07922da3 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,595 | sci | g_inv.sci | function x=g_inv(a)
// only to be called by function inv
//!
select type(a)
case 2 then
x=invr(a);return
case 15 then
if a(1)=='r' then
x=invr(a);return
end
if a(1)='lss' then
D=a(5);
[m,n]=size(D);
polyn=(type(D)==2);constant=(type(D)==1);
if constant then rcd=rcond(D);minsv=mini(svd(D));s=poly(0,'s');end
if polyn then rcd=0;minsv=10000;s=poly(0,varn(D));end
if m==n then
if rcd > 1.d-6 then
x=invsysli(a)
else
H=systmat(A);
rand('normal');
valfa=rand(1,10)/100;
www=[];for k=1:10
www=[www,rcond(horner(h,valfa(k)))];end
[w,k1]=maxi(www);alfa=valfa(k1);
rand('uniform');
x=invrs(a,alfa);
end
return
end
if m<n then
warning('non square system! --> right inverse')
if minsv > 1.d-6 then
x=invsysli(a)
else
[stmp,ws]=rowregul(A,0,0);
if mini(svd(stmp(5))) > 1.d-6 then
x=invsysli(stmp)*Ws
else
error('not full rank! --> error ')
end
end
return
end
if m>n then
warning('non square system! --> left inverse')
if minsv > 1.d-6 then
x=invsysli(a)
else
[stmp,ws]=rowregul(A,0,0);
if mini(svd(stmp(5))) > 1.d-6 then
x=invsyslin(stmp)*Ws
else
error('not full rank! --> error ')
end
end
return
end
end
end
|
80c494554865df8cb7a981ee725a4b93adeeb5db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.10/1_10.sce | 88bd745bcbd939765ce019162a5b2fdccecb22ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | 1_10.sce | //Chapter-1,Example 1_10,Page 1-21
clc()
//Given Data:
u1=1.2 //Refractive index of drop of oil
u2=1.33 //Refractive index of water
lam=4.8*10^-7 //wavelength of light
n=3 //order
r=0 //normal incidence,so r=0
//Calculations:
t=n*lam/(2*u1) //Thickness of oil drop
printf('Thickness of oil drop is =%.8f m',t)
|
daab620f22253fce55371cf6824471b85adb21c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH2/EX2.4/Exa2_4.sce | 3c091b8dc283f903ae4bde57e35398e91dda746d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | Exa2_4.sce | //Exa 2.4
clc;
clear;
close;
//Given data
Beta=45;//unitless
RL=1;//in kOhm
deltaVCE=1;//in volt
disp("Part (i) : CE coniguration");
IC=deltaVCE/(RL*1000);//in Ampere
//Formula : Beta=deltaIC/deltaIB
IB=IC/Beta;//in Ampere
disp("Input Base Current, IB in mA : "+string(IB*10^3));
disp("Part (ii) : CB coniguration");
IC=deltaVCE/(RL*1000);//in Ampere
//Formula : Beta=deltaIC/deltaIB
IE=IB+IC;//in Ampere
disp("Input Emitter Current, IE in mA : "+string(IE*10^3));
|
68167bd0b319d7dbb0a818267c8fb1e7e41ebd55 | af7016aa42265281905b02990846e90c82d24ef4 | /HW8/sentence.tst | 44b4e1d649b7caa467fb34efc93310a53fb18ed3 | [] | no_license | artlawson/CS-221-Homework | 8d6634f30c318c85d23643f05cc498d160b9fadd | 65f7cc1b2cd11eb1fde04cb31a07c44ac7bb9967 | refs/heads/master | 2020-04-28T03:00:06.743032 | 2019-05-10T02:47:04 | 2019-05-10T02:47:04 | 174,919,498 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 25 | tst | sentence.tst | This is a test sentence!
|
a5abfcf67ffa611f7a15ada22d796caceb2e3777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH5/EX5.10/EX5_10.sce | 65bcd4cae5ce6305e172c7d845b9b34a7555dd80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 545 | sce | EX5_10.sce | //Example5.10 // To Determine the percent of change in the closed loop gain Af of feedback op-amp circuit
clc;
clear;
close;
A = 10^5 ; // open loop gain
Af = 50 ; // close loop gain
beta = 0.01999 ; // feedback transfer function
dA = 10^4 ; // the change in the open llop gain
// close loop gain
dAf = ((dA)/(1+dA*beta));
disp('close loop gain dAf is = '+string(dAf)+'');
// the percent change of closed loop gain
%dAf = (((Af-dAf)/(Af))*100);
disp('the percent change of closed loop gain dAf is = '+string(%dAf)+'%');
|
85022a4ba335e51d288679b44ad94d9076149ece | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH1/EX1.2/Example1_2.sce | 6d3ed6f453bc21fcd52211ff0e8bd821662c3394 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 948 | sce | Example1_2.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 1: Electromechanical Fundamentals
// Example 1-2
clear; clc; close; // Clear the work space and console.
// Given data
l = 18; // l = length of the conductor in inches
B = 50000; // B = uniform magnetic field in lines/sq-inches
d = 720; // d = distance travelled by conductor in inches
t = 1; // t =time taken for the conductor to move in second
// Calculations
v = d/t; // v = velocity in inches/second with which the conductor moves
// part a
e = B * l * v * 10 ^ -8; // e = instantaneous induced EMF in volt
// part b
A = d * l; // Area swept by the conductor while moving
phi = B * A; // phi = uniform magnetic field
E = ( phi / t ) * 10 ^ -8; // E = average induced EMF
// Display the result
disp("Example 1-2 Solution : ");
printf(" \n a : e = %.2f V ", e);
printf(" \n b : E = %.2f V ", E);
|
a8995f4096b8d0fe7a60edd02ca93d66f8a66cd0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/lsf2poly/lsf2poly3.sce | 9f155f97123c2f4987c9d0c5cefeed565f05b701 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | lsf2poly3.sce | //check o/p when the i/p is a null matrix
x=[];
a=lsf2poly(x);
disp(a);
//output
//
// []
//In MATLAB when i/p matrix is null o/p is a null matrix too
|
39d78daed252eb19245696bc499bce150c7f6c23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH5/EX5.1/Ex5_1.sce | ae71ca2e4c94d083822a1896b8a696fbdd8dc4a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 681 | sce | Ex5_1.sce | //Example 5.1
//Root locus of a Motor Position Control.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function and its root locus
s=poly(0,'s');
Ls=1/(s*(s+1));
//Title, labels and grid to the figure
exec .\fig_settings.sci; //custom script for setting figure properties
evans(Ls)
title(['Root locus for', '$L(s)=1/[s(s+1)]$'],'fontsize',3)
zoom_rect([-2 -1.5 2 1.5])
sgrid([0.5],1,5)
xset("font",1,1.5)
xstring(-1.2,1.1,'$\theta=sin^{-1} \xi$",0,0)
h=legend('');
h.visible = "off"
//------------------------------------------------------------------
|
dea2684c31c6c2bc00825d9cf7ab174f7bdf2982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH11/EX11.1/Ex11_1.sce | 0cb889a05e98d374630f5cbe0ef5189b035ab7ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | Ex11_1.sce | clc//
//
//
//Variable declaration
M=1.4; //magnetic field(T)
H=6.5*10^-4; //magnetic field(T)
//Calculation
chi=M/H;
mew_r=1+chi; //relative permeability of iron
//Result
printf("\n relative permeability of iron is %0.3f ",mew_r)
printf("\n answer given in the book is wrong")
|
29dda3f2a0713d3610ff592bce34dd1ecf5c1525 | be2d2a8f4f52eaee8321843e3982b31822f8eb00 | /lotka_kolterra.sce | badc8d798867c3156aad6751120559e5a27d9039 | [] | no_license | betacord/SK | dbe99f8e767a225fffac30935084d001a12facbb | 8ac1f424f85f595285db0f2f47f8a0fb3afa4033 | refs/heads/master | 2020-03-31T21:35:18.805098 | 2018-12-13T13:16:13 | 2018-12-13T13:16:13 | 152,585,930 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | lotka_kolterra.sce | //Lotka-Kolterra
//N1 - ofiary
//N2 - drapieznik
A = 2; //dzietnosc ofiar
B = 0.2; //skutecznosc polowania
C = 3; //smiertelnosc drapieznikow\
D = 0.05; //wspolczynnik konwersyji
N0 = [100;50]; //stan poczatkowy
t = [0:0.1:20]; //os czasu
function Ndot = lotka(t, N)
Ndot = [(A * N(1) - B*N(1) * N(2));
-C * N(2) + D * N(1) * N(2)];
endfunction
//rozwiazanie ODE
N = ode(N0, t(1), t, lotka);
subplot(221);
plot(t, N(1, :));
xtitle("Ofiary", "t", "N1");
subplot(222);
plot(t, N(2, :));
xtitle("Drapiezniki", "t", "N2");
subplot(223);
plot(N(1, :), N(2, :));
xtitle("Wykres fazowy", "N1", "N2");
subplot(224);
param3d(N(1, :), N(2, :), t);
xtitle("Wykres 3D", "N1", "N2", "t");
|
f1fc530ecacf82bdde50dc8a8685ed2d79e66e45 | bbf1ae079309eca11270422d3f0d259d1515d430 | /numerical-tours/matlab/toolbox_graph/read_off.sci | c557ea27e24ad654ef6650c4bd5d2c5c5a8e5b31 | [
"BSD-2-Clause"
] | permissive | ZichaoDi/Di_MATLABTool | 5e6a67b613c4bcf4d904ddc47c2744b4bcea4885 | c071291c63685c236f507b2cb893c0316ab6415c | refs/heads/master | 2021-08-11T07:28:34.286526 | 2021-08-04T18:26:46 | 2021-08-04T18:26:46 | 149,222,333 | 9 | 5 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 1,074 | sci | read_off.sci | function [vertex,face] = read_off(filename)
// read_off - read data from OFF file.
//
// [vertex,face] = read_off(filename);
//
// 'vertex' is a 'nb.vert x 3' array specifying the position of the vertices.
// 'face' is a 'nb.face x 3' array specifying the connectivity of the mesh.
//
// Copyright (c) 2003 Gabriel Peyré
fid = mopen(filename,'r');
if( fid==-1 )
error('Can''t open the file.');
return;
end
// str = fgets(fid); // -1 if eof
[cnt,str] = mfscanf(1, fid,'%s');
if 0 // ~strcmp(str(1:3), 'OFF')
error('The file is not a valid OFF one.');
end
[cnt,nvert,nface,u] = mfscanf(1, fid, '%d %d %d');
// read vertices
[cnt,vertex] = mfscanf(nvert*3, fid,'%f');
if length(vertex)~=3*nvert
warning('Problem in reading vertices.');
end
vertex = matrix(vertex,3,nvert);
// read Face 1 1088 480 1022
[cnt, face] = mfscanf(nface*4, fid, '%d');
if length(face)~=4*nface
warning('Problem in reading faces.');
end
face = matrix(face, 4, nface);
face = face(2:4,:)+1;
mclose(fid);
endfunction |
8910e126b68b4ee0ab2ade0e636b6fc7fb535092 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH6/EX6.4/example_6_4.sce | 49b5188503aa68be4560cdb9adde7312403e852a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,143 | sce | example_6_4.sce | //Chapter 6
//Example 6.4
//page 209
//To find bus voltages using GS iterations
clear;clc;
//Ybus matrix from the network
Ybus=[3-9*%i -2+6*%i -1+3*%i 0;
-2+6*%i 3.666-11*%i -0.666+2*%i -1+3*%i
-1+3*%i -0.666+2*%i 3.666-11*%i -2+6*%i
0 -1+3*%i -2+6*%i 3-9*%i]
//////////////////////////////////////////////////////
//Pi Qi Vi Remarks Bus no//
P1=0; Q1=0; V1=1.04; //Slack bus 1
P2=0.5; Q2=-0.2; V2=1; //PQbus 2
P3=-1.0; Q3=0.5; V3=1; //PQbus 3
P4=0.3; Q4=-0.1; V4=1; //PQbus 4
/////////////////////////////////////////////////////
n=1;
for i=1:n
V2=(1/Ybus(2,2))*(((P2-%i*Q2)/conj(V2))-Ybus(2,1)*V1-Ybus(2,3)*V3-Ybus(2,4)*V4);
V3=(1/Ybus(3,3))*(((P3-%i*Q3)/conj(V3))-Ybus(3,1)*V1-Ybus(3,2)*V2-Ybus(3,4)*V4);
V4=(1/Ybus(4,4))*(((P4-%i*Q4)/conj(V4))-Ybus(4,1)*V1-Ybus(4,2)*V2-Ybus(4,3)*V3);
end
printf('\nAt the end of iteration %d the voltages at the buses are:\n\nV1=',n);disp(V1);printf('pu');
printf('\n\n\nV2=');disp(V2);printf('pu');
printf('\n\n\nV3=');disp(V3);printf('pu');
printf('\n\n\nV4=');disp(V4);printf('pu');
|
9efb024ae3cfa9b4871c0587081e52c2d2699215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH1/EX1.2/Ex1_2.sce | 43a69bc7c5cf87e2d356e84e16cf36cfd49f3a23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | Ex1_2.sce | // Given data:
clc
T1=40+273.0 // ambient temp in kelvin
T2=-10+273.0 // freezer temp in kelvin
Q2=2 // heat loss rate for freezer in kJ/s
Q1=T1*(Q2/T2) // heat transfer rate in kJ/s
W=Q1-Q2 // work in kW
printf("The least power required is %0.2f kW",W)
|
9fc340de516715db62d8c6ed14ea781e148f7283 | f493220e442f93d7e3a0234be149e0e740c2b149 | /tkochmann/doit02.tst | c7ebfffb70016553ef10c16d5e310f1163add19f | [] | no_license | TYMCOM-X/169268.tape | b8a0065e50e28dbaa1920f2cf47cef6247df0876 | 1d65c45ae9dbedbc348c7ee8e710c80a10d568a5 | refs/heads/master | 2023-03-16T10:01:47.105645 | 2021-03-11T19:39:37 | 2021-03-11T19:39:37 | 345,956,805 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | tst | doit02.tst | GO CRONLN
3 1 1986
DG0301.DTL
GO MS
3 1 1986
MS0301.DTL
GO 56
3 1 1986
560301.DTL
COPY 560301.DTL+FF+DG0301.DTL+FF+MS0301.DTL TO DY0301.DTL
DEL 560301.DTL,DG0301.DTL,MS0301.DTL
COPY SUM.DH+DY0301.SUM TO SUM
COPY DTL.H+DY0301.DTL TO DTL
SEND NTS
ATTENTION STEVE:
DODAY FOR SATURDAY 3/1/1986 HAS COMPLETED.
DAY
DEL /NOPRIN FILE.CMD,DOIT##.TMP,STUFF.TMP
|
74ef6d0e4c6ec6a74f83788f401a3e95a4a80daa | 276dd1422a7890d6657101fcc9cbccc4ae7e8ce4 | /tags/2010/branches/capstone/php/knights/legacytests/test8.tst | 998c9414db418961537d4357f0264bbc455e158a | [] | no_license | valdas/knit | 4a0adef8bfe426506e55ffcc3a297dfa4dc2e903 | ccbdf3c975061ba0875e881e2f94c8432d7a16cb | refs/heads/master | 2021-01-10T02:08:06.358327 | 2012-01-16T17:05:01 | 2012-01-16T17:05:01 | 43,171,119 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 658 | tst | test8.tst | <?php
include ('knights.php');
$array=newBoard();
$array[1][0]=1;
$array[2][7]=2;
$array[5][5]=3;
$array[5][4]=4;
$array[4][0]=5;
$array[5][2]=6;
$array[2][3]=7;
$array[0][1]=8;
$array[3][4]=9;
$array[2][7]=0;
$array[6][5]=1;
$array[7][3]=2;
$array[4][0]=3;
$array[1][3]=4;
$array[2][2]=5;
$array[4][3]=6;
$array[5][1]=7;
$array[4][2]=8;
echo numOfMoves($array, 1,0)."\n";
echo numOfMoves($array, 2,3)."\n";
echo numOfMoves($array, 2,5)."\n";
echo numOfMoves($array, 0,2)."\n";
echo numOfMoves($array, 4,6)."\n";
echo numOfMoves($array, 3,2)."\n";
echo numOfMoves($array, 5,4)."\n";
echo numOfMoves($array, 2,6)."\n";
echo numOfMoves($array, 3,4)."\n";
?>
|
4a9b8e99a22dcee8304abdb54a8ec837ab61bc75 | afcf746e249b9463101019f07a47845355c6acc2 | /starter_files/hw5/a/ClockGen.tst | 85dc235c7029a094ceebdd99ac6011e7d5f7d2d2 | [] | no_license | jyuan2pace/CS506 | afca44ee8df14436d72de97e658a61841091e651 | fa80d2786f006c226c6e6413ee23fe306d6c57d0 | refs/heads/master | 2020-07-28T13:04:37.077116 | 2019-11-24T20:15:20 | 2019-11-24T20:15:20 | 209,419,478 | 8 | 11 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | tst | ClockGen.tst | load ClockGen.hdl,
output-file ClockGen.out,
compare-to ClockGen.cmp,
output-list time%S1.4.1 out%B2.1.2;
tick,
output;
tock,
output;
tick,
output;
tock,
output;
tick,
output;
tock,
output;
tick,
output;
tock,
output;
|
f0a9b8d767a607a4f72f2b0e437b7e0248a7e905 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/JV32ADW/ATWM1_Working_Memory_MEG_JV32ADW_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | a947755d313273093e36bf717b075f1dea85654e | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 36;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 382; width = 382; color = 0, 0, 0;} frame1;
box { height = 369; width = 369; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 369; width = 369; color = 42, 42, 42;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
44 61 292 292 399 125 2092 2992 1942 fixation_cross gabor_069 gabor_159 gabor_040 gabor_101 gabor_069 gabor_159 gabor_040_alt gabor_101_alt "2_1_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_1950_gabor_patch_orientation_069_159_040_101_target_position_1_2_retrieval_position_2" gabor_circ gabor_023_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_1_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_023_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2192 2992 2492 fixation_cross gabor_011 gabor_096 gabor_140 gabor_075 gabor_011 gabor_096_alt gabor_140 gabor_075_alt "2_2_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_011_096_140_075_target_position_1_3_retrieval_position_1" gabor_056_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_2_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_056_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2592 fixation_cross gabor_014 gabor_036 gabor_052 gabor_096 gabor_014 gabor_036_alt gabor_052_alt gabor_096 "2_3_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2600_gabor_patch_orientation_014_036_052_096_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_096_framed blank blank blank blank fixation_cross_white "2_3_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 1942 fixation_cross gabor_033 gabor_150 gabor_103 gabor_167 gabor_033_alt gabor_150 gabor_103 gabor_167_alt "2_4_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1950_gabor_patch_orientation_033_150_103_167_target_position_2_3_retrieval_position_2" gabor_circ gabor_014_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_4_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_014_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1842 2992 2592 fixation_cross gabor_123 gabor_177 gabor_070 gabor_008 gabor_123 gabor_177_alt gabor_070_alt gabor_008 "2_5_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2600_gabor_patch_orientation_123_177_070_008_target_position_1_4_retrieval_position_2" gabor_circ gabor_037_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_5_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_037_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2292 fixation_cross gabor_082 gabor_066 gabor_106 gabor_027 gabor_082_alt gabor_066_alt gabor_106 gabor_027 "2_6_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_082_066_106_027_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_151_framed gabor_circ blank blank blank blank fixation_cross_white "2_6_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2392 fixation_cross gabor_024 gabor_080 gabor_152 gabor_168 gabor_024_alt gabor_080_alt gabor_152 gabor_168 "2_7_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2400_gabor_patch_orientation_024_080_152_168_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_105_framed gabor_circ blank blank blank blank fixation_cross_white "2_7_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_105_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2042 2992 2092 fixation_cross gabor_035 gabor_093 gabor_169 gabor_009 gabor_035_alt gabor_093_alt gabor_169 gabor_009 "2_8_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2100_gabor_patch_orientation_035_093_169_009_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_169_framed gabor_circ blank blank blank blank fixation_cross_white "2_8_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_169_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1842 2992 2092 fixation_cross gabor_027 gabor_007 gabor_077 gabor_151 gabor_027 gabor_007_alt gabor_077 gabor_151_alt "2_9_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2100_gabor_patch_orientation_027_007_077_151_target_position_1_3_retrieval_position_1" gabor_027_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_9_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_027_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1992 2992 2242 fixation_cross gabor_013 gabor_036 gabor_141 gabor_161 gabor_013 gabor_036_alt gabor_141 gabor_161_alt "2_10_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2000_3000_2250_gabor_patch_orientation_013_036_141_161_target_position_1_3_retrieval_position_2" gabor_circ gabor_084_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_10_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_084_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2042 fixation_cross gabor_169 gabor_083 gabor_117 gabor_154 gabor_169 gabor_083 gabor_117_alt gabor_154_alt "2_11_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2050_gabor_patch_orientation_169_083_117_154_target_position_1_2_retrieval_position_2" gabor_circ gabor_083_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_11_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2292 fixation_cross gabor_174 gabor_136 gabor_020 gabor_094 gabor_174_alt gabor_136 gabor_020_alt gabor_094 "2_12_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2300_gabor_patch_orientation_174_136_020_094_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_094_framed blank blank blank blank fixation_cross_white "2_12_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2242 fixation_cross gabor_145 gabor_066 gabor_121 gabor_031 gabor_145 gabor_066_alt gabor_121 gabor_031_alt "2_13_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_145_066_121_031_target_position_1_3_retrieval_position_1" gabor_145_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_13_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_145_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2242 2992 2592 fixation_cross gabor_077 gabor_107 gabor_049 gabor_028 gabor_077 gabor_107 gabor_049_alt gabor_028_alt "2_14_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2600_gabor_patch_orientation_077_107_049_028_target_position_1_2_retrieval_position_2" gabor_circ gabor_107_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_14_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_107_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2042 2992 1992 fixation_cross gabor_062 gabor_035 gabor_105 gabor_152 gabor_062_alt gabor_035 gabor_105_alt gabor_152 "2_15_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2000_gabor_patch_orientation_062_035_105_152_target_position_2_4_retrieval_position_2" gabor_circ gabor_035_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_15_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_035_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2542 fixation_cross gabor_019 gabor_056 gabor_170 gabor_106 gabor_019 gabor_056_alt gabor_170 gabor_106_alt "2_16_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2550_gabor_patch_orientation_019_056_170_106_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_170_framed gabor_circ blank blank blank blank fixation_cross_white "2_16_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2242 2992 2442 fixation_cross gabor_089 gabor_124 gabor_065 gabor_140 gabor_089_alt gabor_124 gabor_065 gabor_140_alt "2_17_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2250_3000_2450_gabor_patch_orientation_089_124_065_140_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_140_framed blank blank blank blank fixation_cross_white "2_17_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_140_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 2542 fixation_cross gabor_143 gabor_110 gabor_165 gabor_035 gabor_143 gabor_110 gabor_165_alt gabor_035_alt "2_18_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_143_110_165_035_target_position_1_2_retrieval_position_1" gabor_094_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_18_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2242 fixation_cross gabor_054 gabor_021 gabor_087 gabor_129 gabor_054_alt gabor_021 gabor_087_alt gabor_129 "2_19_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2250_gabor_patch_orientation_054_021_087_129_target_position_2_4_retrieval_position_2" gabor_circ gabor_021_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_19_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1892 2992 1892 fixation_cross gabor_032 gabor_121 gabor_095 gabor_048 gabor_032 gabor_121_alt gabor_095_alt gabor_048 "2_20_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_032_121_095_048_target_position_1_4_retrieval_position_1" gabor_032_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_20_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_032_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1942 2992 2592 fixation_cross gabor_075 gabor_107 gabor_001 gabor_090 gabor_075 gabor_107_alt gabor_001 gabor_090_alt "2_21_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1950_3000_2600_gabor_patch_orientation_075_107_001_090_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_090_framed blank blank blank blank fixation_cross_white "2_21_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_090_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1992 2992 1942 fixation_cross gabor_021 gabor_109 gabor_093 gabor_143 gabor_021 gabor_109_alt gabor_093_alt gabor_143 "2_22_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_021_109_093_143_target_position_1_4_retrieval_position_1" gabor_067_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_22_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1942 2992 2342 fixation_cross gabor_141 gabor_060 gabor_015 gabor_124 gabor_141_alt gabor_060 gabor_015_alt gabor_124 "2_23_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2350_gabor_patch_orientation_141_060_015_124_target_position_2_4_retrieval_position_2" gabor_circ gabor_060_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_23_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_060_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 2292 fixation_cross gabor_109 gabor_089 gabor_173 gabor_052 gabor_109 gabor_089_alt gabor_173 gabor_052_alt "2_24_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_109_089_173_052_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_034_framed gabor_circ blank blank blank blank fixation_cross_white "2_24_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2242 2992 1992 fixation_cross gabor_058 gabor_032 gabor_098 gabor_180 gabor_058 gabor_032_alt gabor_098 gabor_180_alt "2_25_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2000_gabor_patch_orientation_058_032_098_180_target_position_1_3_retrieval_position_1" gabor_058_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_25_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_058_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2042 fixation_cross gabor_173 gabor_064 gabor_033 gabor_014 gabor_173_alt gabor_064 gabor_033_alt gabor_014 "2_26_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2050_gabor_patch_orientation_173_064_033_014_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_014_framed blank blank blank blank fixation_cross_white "2_26_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_014_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2192 2992 2242 fixation_cross gabor_170 gabor_039 gabor_154 gabor_024 gabor_170_alt gabor_039 gabor_154 gabor_024_alt "2_27_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2250_gabor_patch_orientation_170_039_154_024_target_position_2_3_retrieval_position_2" gabor_circ gabor_084_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_27_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_084_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1792 2992 2192 fixation_cross gabor_026 gabor_149 gabor_089 gabor_108 gabor_026 gabor_149 gabor_089_alt gabor_108_alt "2_28_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2200_gabor_patch_orientation_026_149_089_108_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_108_framed blank blank blank blank fixation_cross_white "2_28_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_108_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2392 fixation_cross gabor_066 gabor_178 gabor_007 gabor_092 gabor_066 gabor_178 gabor_007_alt gabor_092_alt "2_29_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_066_178_007_092_target_position_1_2_retrieval_position_1" gabor_066_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_29_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_066_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2142 fixation_cross gabor_047 gabor_172 gabor_102 gabor_133 gabor_047_alt gabor_172 gabor_102_alt gabor_133 "2_30_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_047_172_102_133_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_133_framed blank blank blank blank fixation_cross_white "2_30_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_133_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1792 2992 2492 fixation_cross gabor_017 gabor_050 gabor_098 gabor_125 gabor_017_alt gabor_050 gabor_098 gabor_125_alt "2_31_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2500_gabor_patch_orientation_017_050_098_125_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_125_framed blank blank blank blank fixation_cross_white "2_31_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_125_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2142 fixation_cross gabor_123 gabor_038 gabor_013 gabor_080 gabor_123_alt gabor_038_alt gabor_013 gabor_080 "2_32_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_123_038_013_080_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_148_framed gabor_circ blank blank blank blank fixation_cross_white "2_32_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2092 2992 2192 fixation_cross gabor_022 gabor_133 gabor_004 gabor_064 gabor_022_alt gabor_133 gabor_004 gabor_064_alt "2_33_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2200_gabor_patch_orientation_022_133_004_064_target_position_2_3_retrieval_position_2" gabor_circ gabor_133_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_33_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_133_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2042 2992 2042 fixation_cross gabor_128 gabor_108 gabor_048 gabor_164 gabor_128 gabor_108_alt gabor_048 gabor_164_alt "2_34_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2050_gabor_patch_orientation_128_108_048_164_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_048_framed gabor_circ blank blank blank blank fixation_cross_white "2_34_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_048_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2042 2992 2042 fixation_cross gabor_156 gabor_090 gabor_051 gabor_033 gabor_156_alt gabor_090_alt gabor_051 gabor_033 "2_35_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2050_3000_2050_gabor_patch_orientation_156_090_051_033_target_position_3_4_retrieval_position_1" gabor_111_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_35_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_111_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2192 2992 2142 fixation_cross gabor_110 gabor_092 gabor_050 gabor_072 gabor_110 gabor_092 gabor_050_alt gabor_072_alt "2_36_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2150_gabor_patch_orientation_110_092_050_072_target_position_1_2_retrieval_position_2" gabor_circ gabor_092_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_36_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_092_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 1942 fixation_cross gabor_028 gabor_104 gabor_062 gabor_174 gabor_028_alt gabor_104 gabor_062_alt gabor_174 "2_37_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_1950_gabor_patch_orientation_028_104_062_174_target_position_2_4_retrieval_position_2" gabor_circ gabor_150_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_37_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_150_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 2292 fixation_cross gabor_180 gabor_163 gabor_009 gabor_052 gabor_180_alt gabor_163 gabor_009_alt gabor_052 "2_38_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_180_163_009_052_target_position_2_4_retrieval_position_2" gabor_circ gabor_117_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_38_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_117_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 1992 fixation_cross gabor_138 gabor_117 gabor_027 gabor_083 gabor_138_alt gabor_117 gabor_027_alt gabor_083 "2_39_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_138_117_027_083_target_position_2_4_retrieval_position_2" gabor_circ gabor_067_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_39_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2142 fixation_cross gabor_054 gabor_069 gabor_141 gabor_035 gabor_054_alt gabor_069_alt gabor_141 gabor_035 "2_40_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2150_gabor_patch_orientation_054_069_141_035_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_141_framed gabor_circ blank blank blank blank fixation_cross_white "2_40_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_141_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2242 2992 2392 fixation_cross gabor_063 gabor_143 gabor_090 gabor_036 gabor_063 gabor_143_alt gabor_090 gabor_036_alt "2_41_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2250_3000_2400_gabor_patch_orientation_063_143_090_036_target_position_1_3_retrieval_position_2" gabor_circ gabor_005_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_41_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_005_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2192 fixation_cross gabor_037 gabor_060 gabor_114 gabor_005 gabor_037 gabor_060_alt gabor_114_alt gabor_005 "2_42_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2200_gabor_patch_orientation_037_060_114_005_target_position_1_4_retrieval_position_1" gabor_177_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_42_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_177_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1892 2992 2042 fixation_cross gabor_089 gabor_013 gabor_059 gabor_043 gabor_089 gabor_013_alt gabor_059_alt gabor_043 "2_43_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2050_gabor_patch_orientation_089_013_059_043_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_043_framed blank blank blank blank fixation_cross_white "2_43_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_043_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2192 2992 2492 fixation_cross gabor_071 gabor_105 gabor_134 gabor_177 gabor_071_alt gabor_105_alt gabor_134 gabor_177 "2_44_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2200_3000_2500_gabor_patch_orientation_071_105_134_177_target_position_3_4_retrieval_position_2" gabor_circ gabor_105_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_44_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_105_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 2342 fixation_cross gabor_095 gabor_034 gabor_053 gabor_161 gabor_095 gabor_034_alt gabor_053 gabor_161_alt "2_45_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_095_034_053_161_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_008_framed gabor_circ blank blank blank blank fixation_cross_white "2_45_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2242 fixation_cross gabor_093 gabor_176 gabor_062 gabor_041 gabor_093_alt gabor_176 gabor_062_alt gabor_041 "2_46_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2250_gabor_patch_orientation_093_176_062_041_target_position_2_4_retrieval_position_2" gabor_circ gabor_176_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_46_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2342 fixation_cross gabor_069 gabor_101 gabor_037 gabor_144 gabor_069 gabor_101_alt gabor_037 gabor_144_alt "2_47_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_069_101_037_144_target_position_1_3_retrieval_position_1" gabor_118_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_47_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_118_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 2142 fixation_cross gabor_096 gabor_051 gabor_066 gabor_136 gabor_096_alt gabor_051_alt gabor_066 gabor_136 "2_48_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_096_051_066_136_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_116_framed gabor_circ blank blank blank blank fixation_cross_white "2_48_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_116_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1892 2992 2442 fixation_cross gabor_118 gabor_005 gabor_046 gabor_134 gabor_118 gabor_005_alt gabor_046_alt gabor_134 "2_49_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_2450_gabor_patch_orientation_118_005_046_134_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_091_framed gabor_circ blank blank blank blank fixation_cross_white "2_49_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_091_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 1892 fixation_cross gabor_139 gabor_107 gabor_024 gabor_050 gabor_139 gabor_107_alt gabor_024 gabor_050_alt "2_50_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_1900_gabor_patch_orientation_139_107_024_050_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_161_framed gabor_circ blank blank blank blank fixation_cross_white "2_50_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_161_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1842 2992 2092 fixation_cross gabor_091 gabor_006 gabor_124 gabor_162 gabor_091_alt gabor_006 gabor_124 gabor_162_alt "2_51_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2100_gabor_patch_orientation_091_006_124_162_target_position_2_3_retrieval_position_2" gabor_circ gabor_006_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_51_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2192 2992 1892 fixation_cross gabor_005 gabor_045 gabor_160 gabor_071 gabor_005_alt gabor_045_alt gabor_160 gabor_071 "2_52_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_1900_gabor_patch_orientation_005_045_160_071_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_071_framed blank blank blank blank fixation_cross_white "2_52_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 1892 fixation_cross gabor_131 gabor_018 gabor_097 gabor_167 gabor_131 gabor_018_alt gabor_097_alt gabor_167 "2_53_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_1900_gabor_patch_orientation_131_018_097_167_target_position_1_4_retrieval_position_1" gabor_081_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_53_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_081_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1992 2992 2092 fixation_cross gabor_064 gabor_141 gabor_031 gabor_111 gabor_064_alt gabor_141 gabor_031_alt gabor_111 "2_54_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2000_3000_2100_gabor_patch_orientation_064_141_031_111_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_080_framed gabor_circ blank blank blank blank fixation_cross_white "2_54_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_080_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2442 fixation_cross gabor_052 gabor_171 gabor_092 gabor_107 gabor_052 gabor_171 gabor_092_alt gabor_107_alt "2_55_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2450_gabor_patch_orientation_052_171_092_107_target_position_1_2_retrieval_position_2" gabor_circ gabor_171_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_55_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_171_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 2542 fixation_cross gabor_093 gabor_033 gabor_139 gabor_118 gabor_093 gabor_033_alt gabor_139 gabor_118_alt "2_56_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2550_gabor_patch_orientation_093_033_139_118_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_004_framed gabor_circ blank blank blank blank fixation_cross_white "2_56_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2292 fixation_cross gabor_125 gabor_176 gabor_037 gabor_154 gabor_125_alt gabor_176 gabor_037 gabor_154_alt "2_57_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2300_gabor_patch_orientation_125_176_037_154_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_037_framed gabor_circ blank blank blank blank fixation_cross_white "2_57_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 2392 fixation_cross gabor_015 gabor_131 gabor_176 gabor_095 gabor_015_alt gabor_131 gabor_176_alt gabor_095 "2_58_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2400_gabor_patch_orientation_015_131_176_095_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_047_framed blank blank blank blank fixation_cross_white "2_58_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_047_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 1992 fixation_cross gabor_001 gabor_078 gabor_034 gabor_058 gabor_001_alt gabor_078 gabor_034_alt gabor_058 "2_59_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_001_078_034_058_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_107_framed blank blank blank blank fixation_cross_white "2_59_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_107_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 2492 fixation_cross gabor_151 gabor_035 gabor_089 gabor_067 gabor_151 gabor_035_alt gabor_089_alt gabor_067 "2_60_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2500_gabor_patch_orientation_151_035_089_067_target_position_1_4_retrieval_position_1" gabor_106_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_60_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_106_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2342 fixation_cross gabor_103 gabor_156 gabor_133 gabor_172 gabor_103_alt gabor_156 gabor_133 gabor_172_alt "2_61_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2350_gabor_patch_orientation_103_156_133_172_target_position_2_3_retrieval_position_2" gabor_circ gabor_021_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_61_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2192 2992 2342 fixation_cross gabor_118 gabor_142 gabor_086 gabor_164 gabor_118_alt gabor_142 gabor_086_alt gabor_164 "2_62_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2350_gabor_patch_orientation_118_142_086_164_target_position_2_4_retrieval_position_2" gabor_circ gabor_002_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_62_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1792 2992 2542 fixation_cross gabor_038 gabor_104 gabor_170 gabor_126 gabor_038 gabor_104_alt gabor_170 gabor_126_alt "2_63_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1800_3000_2550_gabor_patch_orientation_038_104_170_126_target_position_1_3_retrieval_position_2" gabor_circ gabor_059_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_63_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_059_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2042 2992 2192 fixation_cross gabor_080 gabor_096 gabor_037 gabor_162 gabor_080 gabor_096_alt gabor_037_alt gabor_162 "2_64_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_080_096_037_162_target_position_1_4_retrieval_position_1" gabor_126_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_64_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2092 2992 2192 fixation_cross gabor_124 gabor_095 gabor_068 gabor_178 gabor_124_alt gabor_095_alt gabor_068 gabor_178 "2_65_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2200_gabor_patch_orientation_124_095_068_178_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_068_framed gabor_circ blank blank blank blank fixation_cross_white "2_65_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_068_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2042 2992 1942 fixation_cross gabor_147 gabor_037 gabor_008 gabor_123 gabor_147_alt gabor_037 gabor_008_alt gabor_123 "2_66_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_1950_gabor_patch_orientation_147_037_008_123_target_position_2_4_retrieval_position_2" gabor_circ gabor_086_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_66_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2142 2992 1892 fixation_cross gabor_033 gabor_075 gabor_144 gabor_162 gabor_033 gabor_075 gabor_144_alt gabor_162_alt "2_67_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2150_3000_1900_gabor_patch_orientation_033_075_144_162_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_144_framed gabor_circ blank blank blank blank fixation_cross_white "2_67_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_144_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 2092 fixation_cross gabor_173 gabor_009 gabor_092 gabor_125 gabor_173_alt gabor_009 gabor_092_alt gabor_125 "2_68_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2100_gabor_patch_orientation_173_009_092_125_target_position_2_4_retrieval_position_2" gabor_circ gabor_148_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_68_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 1992 fixation_cross gabor_016 gabor_053 gabor_105 gabor_136 gabor_016_alt gabor_053 gabor_105_alt gabor_136 "2_69_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_016_053_105_136_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_136_framed blank blank blank blank fixation_cross_white "2_69_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_136_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1892 2992 2442 fixation_cross gabor_094 gabor_124 gabor_169 gabor_149 gabor_094 gabor_124 gabor_169_alt gabor_149_alt "2_70_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2450_gabor_patch_orientation_094_124_169_149_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_149_framed blank blank blank blank fixation_cross_white "2_70_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_149_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
}; |
0c6fc282db5009dc663c958b4c587e8388fe9983 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH5/EX5.15/Ex5_15.sce | 9e4a8dfb961d640912ec91438109c876901cb2cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | Ex5_15.sce | //Example 5.15, Page number 5.32
clc;clear;close
// variable declaration
L=10 // in km
n1=1.55 //unitless
delta=0.026//unitless
C=3*10**5
// Calculations
delta_T=(L*n1*delta)/C //unitless
B_W=10/(2*delta_T) // Hz/km
// Result
printf("Total dispersion = %.1f ns",(delta_T/10**-9))
printf("\nBandwidth length product = %.2f Hz-km",(B_W/10**5))
// Answer given in the text book is wrong"
|
4d41d0ef2589c28fa148340c0d9727ec759454f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH7/EX7.11/Example711.sce | 15eb5cbeb406e3c762e79afa542cd654d760d333 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,630 | sce | Example711.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 7, Example 11")
disp("The overall efficiency of turbine from nozzle inlet to diffuser outlet is given by")
disp("etatt = (T01 - T03)/(T01 - T03ss)")
disp("Turbine work per unit mass flow")
disp("W = U2^2 = Cp(T01 - T03); (Cw3 = 0)")
disp("Now using isentropic p–T relation")
disp("T01 (1 - T03ss/T01) = T01(1 - (P03/P01)((gamma-1)/gamma)")
disp("Therefore")
disp("U2^2 = etatt*Cp*T01(1 - (P03/P01)^((gamma-1)/gamma)")
etatt = 0.9;
Cp = 1147;
T01 = 1145;
P03 = 100;
P01 = 310;
U2 = (etatt*Cp*T01*(1 - (P03/P01)^0.2498))^0.5
disp("Impeller tip speed, U2 = 539.45 m/s")
disp("The Mach number of the absolute flow velocity at nozzle exit is given by")
disp("M = C1/a1 = U1/alpha1*sin(alpha1)")
disp("Since the flow is adiabatic across the nozzle, we have")
disp("T01 = T02 = T2 + C2^2/2Cp = T2 + U2^2/2Cp(sin(alpha2))^2")
disp("or T2/T01 = 1 - U2^2/2CpT01(sin(alpha2))^2; but Cp = gamma*R/(gamma - 1)")
disp("Therefore; T2/T01 = 1 - U2^2*(gamma - 1)/(2gammaRT01(sin(alpha2))^2")
disp(" = 1- U2^2*(gammaa-1)/(2*a01^2 * (sin(alpha2))^2)")
disp("But (T2/T01)^2 = a2/a01 = a2/a02; since T01 = T02")
disp("and a2/a02 = U2/M2*a02*sin(alpha2)")
disp(" Therefore (U2/M2*a02*sin(alpha2))^2 = 1 - U2^2*(gammaa-1)/(2*a01^2 * (sin(alpha2))^2)")
disp("and 1 = (U2/a02*sin(alpha2))^2 *((gamma - 1)/2 + 1/M2^2)")
disp("or (sin(alpha2))^2 = (U2/a02)^2 * ((gamma - 1)/2 + 1/M2^2)")
disp("Therefore nozzle angle alpha2 = 75 degrees")
|
217c306dbb1429b88f0262bf7a21be33b1e0ad51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH20/EX20.8/20_8.sce | 7f7ca845c24b5b0fa8d6bd62c6fa057c957fb5bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | 20_8.sce | //ques-20.8
//Calculating binding energy per nucleon of Ca
clc
M=39.975;//atomic mass of Ca (in amu)
mp=1.0078;//mass of proton (in amu)
mn=1.0086;//mass of neutron (in amu)
dm=20*mp+20*mn-M;
BE=(dm*931)/40;
printf("The binding energy per nucleon for Ca is %.3f Mev.",BE);
|
79beebb0c0fc9dfe54556d3887730b3e818277d7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_D._P._Kothari_And_I._J._Nagrath_503.zip/Electric_Machines_D._P._Kothari_And_I._J._Nagrath_503/CH12/EX12.2/ch12_2.sci | 3150d2a56c5b901718be240f7c5eac3fa0d1e609 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sci | ch12_2.sci | errcatch(-1,"stop");mode(2);//calculate firing angle value
;
Po=15000;
Ro=1.5;
Va=sqrt(Po*Ro);
a=acosd((Va*2*%pi/(3*sqrt(6)*V))-1);disp(a,'firing angle(deg)');
Ia=Va/Ro;
Ith=Ia/3;disp(Ith,'avg current through diodes(A)');
exit();
|
008d9e763e0f3b3cc99c4543f8a2c059cd1482a6 | 0dc44fdf541348d55e7ca0015fd55fa31f767d3e | /bmesa/Time_Propagation/Prop_IT/INP/2_D/inp.tst | 77369ea189373fff915dcb50bd1226f5fa95cef7 | [] | no_license | liangjj/mesa_working | 628ad4ce1f7467d5c6121cc2f58c3c58c73f2b68 | 2c5a7fa3e80f73ce9232f17a394e33d21d7fa5bc | refs/heads/master | 2021-01-22T14:01:57.771232 | 2015-10-27T17:46:18 | 2015-10-27T17:46:18 | 63,992,703 | 0 | 1 | null | 2016-07-23T01:16:34 | 2016-07-23T01:16:33 | null | UTF-8 | Scilab | false | false | 2,302 | tst | inp.tst | $route
$end
$nonstd
11//04;
20//01;
$end
$title
time-propagation code
$end
$dvrprop_basis
number-of-space-variables=2 coordinate-system=spherical
space-variable-1=r_1 space-variable-2=r_2 use-atomic-units
kinetic-energy-type=packed
xplot get-eigenpairs xprint=all-details keep-diagonals plot_step=20
$end
$h0(r_1)
automate number-of-major-blocks=4
number-of-fixed-points=2 left-fixed-point right-fixed-point
drop-first-function drop-last-function xdo-not-diagonalize
region-boundaries=(1.d-15,300.d0) reuse-space-data
print=(eigenvalues) xsector-print=sector-details
$end
$block-1
default-order=10 number-of-subregions=1
left-boundary=1.d-15 right-boundary=5.0d0
$end
$block-2
default-order=5 number-of-subregions=3
left-boundary=5.d0 right-boundary=10.d0
$end
$block-3
default-order=4 number-of-subregions=25
left-boundary=10.d0 right-boundary=50.d0
$end
$block-4
default-order=3 number-of-subregions=25
left-boundary=50.d0 right-boundary=300.d0
$end
$v_reg_1(r_1)
use-atomic-units potential=coulomb
$end
$v_reg_2(r_1)
use-atomic-units potential=coulomb
$end
$v_reg_3(r_1)
use-atomic-units potential=coulomb
$end
$h0(r_2)
automate number-of-major-blocks=1
number-of-fixed-points=2 left-fixed-point right-fixed-point
drop-first-function drop-last-function xdo-not-diagonalize
region-boundaries=(1.d-15,200.d0) reuse-space-data
print=(xall) xsector-print=sector-details
$end
$block-1
default-order=10 number-of-subregions=1
left-boundary=1.d-15 right-boundary=5.0d0
$end
$block-2
default-order=5 number-of-subregions=3
left-boundary=5.d0 right-boundary=10.d0
$end
$block-3
default-order=3 number-of-subregions=25
left-boundary=10.d0 right-boundary=50.d0
$end
$block-4
default-order=3 number-of-subregions=25
left-boundary=50.d0 right-boundary=200.d0
$end
$v_reg_1(r_2)
use-atomic-units potential=none
$end
$time
automate number-of-time-regions=100 first-time=0.0
time-interval=.001d0
xprint=(main=(xpointers,xpotential,xinitial-state,solution,
xnon-linear-potential,xh-on-initial-state))
$end
$v0(t1)
potential=none
$end
$initial-state
driver=gaussian-pulse sigma=(1.d0,1.d0) alpha=(2.d0,2.d0)
beta=(0.d0,0.d0) x_0=(0.d0,0.d0) xprint=on
$end
$v_couple
v-space-time=none
$end
|
f6598073903b7c45a2457066d29aefa62be8f4d8 | a4bbc60bcc82ee6212825ce21fc9e4fa7b04e870 | /Bioinformatics_3k/3uzd/tests/4KJM.tst | 6b910cc7fe5aca754736e743814c98665541fb71 | [] | no_license | Luksys5/LT_programos | 3a7cabb6c5e8a23a856983c1938d2d492cddf916 | 959ab74029df334767fcad84adc46ae36cf7cdf1 | refs/heads/master | 2021-01-19T19:33:11.505596 | 2017-03-12T18:08:14 | 2017-03-12T18:08:14 | 16,478,166 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | tst | 4KJM.tst | #$Id: pdbboxes 232 2015-05-04 12:44:10Z Lukas_Tutkus $
37.093 45.16 86.955 inputs/4KJM.pdb
|
927dc0485c1b600eee2cbf5ac6aaa146536305cb | a8447bb190e75c3452a418bcdffbb356b7f3ec43 | /LTP RAP 3.0napls/vis LTP Instructions rev.sce | 44c87a06456d6dcbcbfbdd10c7e496c1f4bdc1b4 | [] | no_license | br-bieegl/napls3-erpTasks | d7014b2716bced6d1b70af760b8f0508f02724be | 5d3297776af95b2ba8981fe5ebbb8672831061a0 | refs/heads/master | 2021-01-22T09:58:19.920934 | 2015-02-18T21:10:10 | 2015-02-18T21:10:10 | 25,929,348 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,416 | sce | vis LTP Instructions rev.sce | scenario = "LTP vb/pb instructions revised for gray bar target";
scenario_type = trials;
# sets the default text font
default_font = "Arial";
default_font_size = 14;
default_text_color = 0,0,0; # sets text to black
# sets the background colour to gray
default_background_color = 128,128,128;
#center the text
default_text_align = align_center;
active_buttons = 2;
button_codes = 8,3;
write_codes = true;
pulse_width = 10;
response_matching = simple_matching;
begin;
bitmap {filename = "defaultblack.png";} def;
# this tells the scenario to show the default picture (a blank
# background with red fixation cross) if no stimuli are being shown:
picture {
bitmap def;
x = 0; y = 0;
}default;
bitmap {filename = "R90.png";} R50;
bitmap {filename = "R90i.png";} R50i;
bitmap {filename = "R180.png";} R50t;
bitmap {filename = "R180i.png";} R130;
bitmap {filename = "R90.png";} C0;
bitmap {filename = "R180.png";} C45;
bitmap { filename = "SleepLookCircle.bmp";} NoSleep;
bitmap { filename = "SleepLook.bmp";} Sleep;
bitmap { filename = "BlinkLookCircle.bmp";} NoBlink;
bitmap { filename = "BlinkLook.bmp";} Blink;
bitmap { filename = "IncorrectLookCircle.bmp";} NoLookAway;
bitmap { filename = "IncorrectLook.bmp";} LookAway;
bitmap { filename = "CorrectLookCircle.bmp";} YesLook;
bitmap { filename = "CorrectLook.bmp";} Look;
bitmap { filename = "BlankSubject.bmp";} sub;
line_graphic {
coordinates = -60, -255, -60, 255;
line_width = 6;
line_color=128,128,128;
background_color=128,128,128;
fill_color=128,128,128;
}lineLeft;
line_graphic {
coordinates = 60, -255, 60, 255;
line_width = 6;
line_color=128,128,128;
background_color=128,128,128;
fill_color=128,128,128;
}lineRight;
line_graphic {
coordinates = -255, 60, 255, 60;
line_width = 6;
line_color=128,128,128;
background_color=128,128,128;
fill_color=128,128,128;
}lineTop;
line_graphic {
coordinates = -255, -60, 255, -60;
line_width = 6;
line_color=128,128,128;
background_color=128,128,128;
fill_color=128,128,128;
}lineBottom;
trial{
trial_duration = 5200;
picture{
text{
font_size = 24;
caption = "During this experiment you will see the
following images, presented in blocks:";};
x = 0; y = 0;
};
time = 0;
duration = 5000;
};
trial{
picture{
bitmap R50;
x = 0; y = 0;
};
time = 0;
duration = 1000;
code = "s50";
};
trial{
picture{
bitmap R130;
x = 0; y = 0;
};
time = 500;
duration = 1500;
code = "s130";
};
trial{
picture{
bitmap C0;
x = 0; y = 0;
};
time = 500;
duration = 1500;
code = "s0";
};
trial{
picture{
bitmap C45;
x = 0; y = 0;
};
time = 500;
duration = 1500;
code = "s45";
};
trial{
trial_duration = 5200;
picture{
text{
font_size = 24;
caption = "During a block, each will flash many times like this..."
;};
x = 0; y = 0;
};
time = 100;
duration = 5000;
};
trial{
trial_duration = 465;
picture{
bitmap R50;
x = 0; y = 0;
};
time = 0;
duration = 25;
code = "50";
};
trial{
trial_duration = 632;
picture{
bitmap R50i;
x = 0; y = 0;
};
time = 0;
duration = 25;
code = "50i";
};
trial{
trial_duration = 565;
picture{
bitmap R50;
x = 0; y = 0;
};
time = 0;
duration = 25;
code = "50";
};
trial{
trial_duration = 615;
picture{
bitmap R50i;
x = 0; y = 0;
};
time = 0;
duration = 25;
code = "50i";
};
trial{
#all_responses = true;
trial_duration = 19000;
#trial_type = first_response;
picture{
text{
font_size = 24;
caption = "Your job will be to relax, stay focused,
and stare directly at the images on the screen.
Respond with a button-press whenever
you see different patterns, like these:";};
x = 0; y = 0;};
duration = 9000;
time = 0;
#blue0n is 45 deg patch, normal
picture {
bitmap R50;
x = 0; y = 0;
#text {caption = "+";
# font_size = 72;
# font_color = 255,0,0;}; # fixation cross
line_graphic lineLeft;
x = 0; y = 0; # centre of screen
}blue0n;
time = 9000;
duration = 2000;
code = "target";
#blue0n is 45 deg patch, normal
picture {
bitmap R50i;
x = 0; y = 0;
#text {caption = "+";
# font_size = 72;
# font_color = 255,0,0;}; # fixation cross
line_graphic lineRight;
x = 0; y = 0; # centre of screen
};
time = 11000;
duration = 2000;
code = "target";
#blue0n is 45 deg patch, normal
picture {
bitmap R50t;
x = 0; y = 0;
#text {caption = "+";
# font_size = 72;
# font_color = 255,0,0;}; # fixation cross
line_graphic lineTop;
x = 0; y = 0; # centre of screen
};
time = 13000;
duration = 2000;
code = "target";
#blue0n is 45 deg patch, normal
picture {
bitmap R130;
x = 0; y = 0;
#text {caption = "+";
# font_size = 72;
# font_color = 255,0,0;}; # fixation cross
line_graphic lineBottom;
x = 0; y = 0; # centre of screen
};
time = 15000;
duration = 2000;
code = "target";
picture{
text{
font_size = 24;
caption = "Please try not to blink
after the picture changes
";};
x = 0; y = 0;
};
time = 17000;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap sub;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
##########
#blinking#
##########
trial{
trial_duration = 200;
picture{
bitmap Look;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap Blink;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap NoBlink;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap Blink;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap NoBlink;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap Blink;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap NoBlink;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap Blink;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
#3rd blink
trial{
trial_duration = 500;
picture{
bitmap sub;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
# all_responses = true;
trial_duration = 5000;
#trial_type = first_response;
picture{
text{
font_size = 24;
caption = "Keep your eyes focused
on the red fixation cross and
try not to fall asleep";};
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 1000;
picture{
bitmap sub;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap Blink;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap Sleep;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap NoSleep;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap Sleep;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap NoSleep;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap Sleep;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap NoSleep;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap Sleep;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap NoSleep;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
trial_duration = 500;
picture{
bitmap sub;
x = 0; y = 0;
};
time = 0;
duration = next_picture;
};
trial{
picture{
text{
font_size = 24;
caption = "Please let the experimenter
know if you have any questions.
Thank you!";};
x = 0; y = 0;
};
time = 100;
duration = 4000;
};
|
9eb9c0991742ce58abf8bd26470c371d90052d02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.12/Ex9_15_12.sce | 2acc3570bcc97eda9c4160346477aa80c330ce0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | Ex9_15_12.sce | //Section-9,Example-3,Page no.-E.13
//To calculate E0 cell for the given cell.
clc;
E0_cathode=0.77
E0_anode=0.76
E0=E0_anode+E0_cathode
disp(E0,'Emf of the cell')
|
bc2567e1fe03e4360e14d2bc21a256c9e03b70c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH4/EX4.12/example4_12.sce | 3448d753507285afcae959dc20621159bb7c72b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 981 | sce | example4_12.sce | clc
clear
disp("example 4 12")
psm=100 //power of synchrounous motors
pim=200 //power of inducion motor
v=400 //voltage
pff=0.71;pp=-1//power factor
rsm=0.1 //resistance of synchrounous motor
rt=0.03 //resistance of cable
pf(1)=1;p(1)=1 //power factor in a
pf(2)=0.8;p(2)=1 //power factor in b
pf(3)=0.6;p(3)=1 //power factor in c
i1=pim*1000/(v*pff*sqrt(3))
i11=i1*(complex(pff,pp*sind(acosd(pff))))
i2f=psm*1000/(v*sqrt(3))
ch=['a' 'b' 'c']
for i=1:3
printf("\n (%c)",ch(i))
d=acosd(pf(i))
it(i)=i11(1)+complex(i2f,(p(i)*i2f*tand(d)))
opf(i)=cosd(atand(imag(it(i))/real(it(i))))
clsm=3*((i2f)^2)*rsm
clt=3*(abs(it(i))^2)*rt/1000
printf("\n total current %.2f %.fjA \n overall power factor %.3f lagging \n copper losses in synchrounous motor %.fW \n copper losses in cable %.2fKW",it(i),imag(it(i)),opf(i),clsm,clt)
end
disp("(d)")
printf("copper loss of synchronous motor this is evidently minimum when tand=%d cosd=%d",0,1) |
64e9835602f0629840c1ac8a3f4bb592ab62948b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH7/EX7.6/Ex7_6.sce | 81933a1e4af0d8715b2fd5805c529cc0f423aab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | Ex7_6.sce | clc;
clear;
Nd=3*10^15 //Doping level of n-type silicon in cm^-3
Nc=2.8*10^19 //in cm^-3
e=1.6*10^-19 //in J
phi_m=4.5 //work function for chromium in eV
epsilon_si=11.7 //in F/cm
epsilon_0=8.854*10^-14 //in F/cm
xsi=4.01 //electron affinity for Si in eV
Vbi=5 //reverse bias voltage in V
VR=0 //in V
//Calculation
phi_B=phi_m-xsi //in eV
xn=((2*epsilon_si*epsilon_0*(Vbi+VR))/(e*Nd))^0.5 //in cm
Emax=(e*Nd*xn)/(epsilon_si*epsilon_0)
CJ=((e*epsilon_si*epsilon_0*Nd)/(2*(Vbi+VR)))^0.5
mprintf("a)\n")
mprintf("ideal schottky barrier height= %1.2f ev\n",phi_B)
mprintf("b)\n")
mprintf("peak electric field= %1.2e V/cm\n",Emax)
mprintf("c)\n")
mprintf("depletion layer capacitance per unit area= %1.2e F/cm^2",CJ) //The answer provided in the textbook is wrong
|
b10fa5ff4d6e4243eb609a90ad5fd6e9584f613e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH13/EX13.3/Ch13Ex3.sce | 83793392e38b46ffa0f1ad3ace5608daf1760b14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | Ch13Ex3.sce | // Scilab Code Ex13.3: Page-649 (2011)
clc;clear;
chi_e = 35.4e-12;....// Susceptability of the material, C-square/N-meter-square
eps_0 = 8.85e-12;....// Electric permittivity in free space, C-squre/N-meter-square
K = 1 + (chi_e/eps_0);
printf("\nThe dielectric constant = %d ",K);
eps = (eps_0*K);
printf("\nThe electric permittivity = %5.3e C-square/N-meter square ",eps);
// Result
// The dielectric constant = 5
// The electric permittivity = 4.425e-011 C-square/N-meter square
|
b2fd75dfa64084b6ee6ce3a3b105f886688b2cb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH2/EX2.5/Example_2_5.sce | 9a36b5b97c151707506b3c643c79564c2f451e04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Example_2_5.sce | //Example 2.5
clear;
clc;
//Given
n=2;//moles of glucose dissolved
v=1;//volume of glucose solution in dm^3
R=8.314;// gas constant in J K^-1 mol^-1
T=298;// temperature in K
c2=0.2;//concentration to which the solution was diluted in mol dm^-3
// To determine work done
c1=n/v;;// initial concentration of glucose solution in mol dm^-3
w=n*R*T*log(c1/c2);// w in joule
mprintf('Work done (w) = %f J',w);
//end |
9801a5ecfb7e90512be3b1651cd9be28f80b5035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH9/EX9.23/example23.sce | a99939b0bb8f5eee98b24ff409134b557b5aaf55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | example23.sce | //Chapter-9 example 23
//=============================================================================
clc;
clear;
//input data
F = 12*10^9;//operating frequency in Ghz
I = 2;//current in amperes
Rr = 300;//radiation resistance in ohms
//Calculations
Pr = I*I*Rr;
//output
mprintf('Radiated Power is %3.1f Watts',Pr);
//================end of the program============================================
|
5b5628249ad38994079517bb82b11ab750f4899b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH5/EX5.13/Ex5_13.sce | 54cf483859378d27ecd31bf86075e683707790ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 899 | sce | Ex5_13.sce | clc
Pa=500*10^3
T1=300 //temperature in kelvin
T2=300
P1=100*10^3
Ta=(Pa*T1)/P1
mprintf("Ta=%fK\n",Ta)
Cv=20.93
Cp=29.302
ua=Ta*Cv
u1=T1*Cv
mprintf("ua-u1=%fkJ/mol\n",(ua-u1)/1000)//ans vary due to roundoff error
q1a=ua-u1
qa2=Cp*(T2-Ta)
q=qa2
mprintf("qa2=%fkJ/mol\n",qa2/1000)//ans vary due to roundoff error
deltau=Cv*(T2-Ta)
mprintf("u2-ua=%fkJ/mol\n",deltau/1000)//ans vary due to roundoff error
W=q-deltau
mprintf("W=%fkJ/mol\n",W/1000)//aans vary due to roundoff error
R=8.314
P1=100
P2=500
T=T1
W=R*T*log(P1/P2)
mprintf("W=%fkJ/mol\n",W/1000)//ans vary due to roundoff error
gama=1.4
Tb=T1*((P2/P1)^(gama-1))
mprintf("Tb=%fK\n",Tb)//ans vary due to roundoff error
ub=Cv*Tb
u1=Cv*T1
deltau=ub-u1
mprintf("ub-u1=%fkJ/mol\n",deltau/1000)//ans vary due to roundoff error
W=-deltau
mprintf("Total Work done=%fkJ/mol\n",W/1000)//ans vary due to roundoff error
|
87f59ac2331f2932b07a36a24df9fcdd29908584 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3622/CH8/EX8.2/Ex8_2.sce | bfab6a69f4d03a410f7b0848ecd8e1e2496e0945 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sce | Ex8_2.sce | //Initialisation of variables
clc
ratio=1/cosd(30)-1
printf('minimum ratio is %f \n',ratio)
|
310bafa598205dcbadd8545d0dd91305869e7395 | cee0a584987e8f6eae19ed5deb199e1394820f95 | /labpart1/edsonjParameters.sce | 354ea44021c87885d25433fe8039a9ac7fcec93f | [] | no_license | izlervaldivia/Penduloinvertido | 55e11b16d0565e4c6e85ad5ce79814467afc4191 | 71745eeadf03ee63992a80eebf231d8b931c7035 | refs/heads/master | 2022-12-01T16:32:50.105285 | 2020-08-16T07:12:00 | 2020-08-16T07:12:00 | 287,870,940 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | edsonjParameters.sce | // edsonjParameters.sce is Edson-J USV parameters file
// This were obtained by Eduardo Rodiguez in 2019
m=0.017;
M=0.696;
l=0.3;
g=9.81;
|
e4823574cca60bd2ff8c529b22eba330c3a6c8a1 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r38/packages/tri/tri.tst | a01b35b1797e4e2e32e7516a8ce5d0e56a4260bb | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 2,475 | tst | tri.tst | % load tri;
global '(textest!*);
symbolic procedure texexa(code);
begin
prin2 "\TRIexa{"; prin2 textest!*;
if !*TeXindent then prin2 "}{TeXindent}{" else
if !*TeXbreak then prin2 "}{TeXBreak}{" else
if !*TeX then prin2 "TeX" else prin2 "}{---}{";
if !*TeXbreak then prin2 tolerance!* else prin2 "---";
prin2 "}{"; prin2 code; prin2 "}"; terpri()
end;
algebraic procedure exa(expression,code);
begin symbolic texexa code; return expression end;
% ----------------------------------------------------------------------
% Examples from the Integrator Test File
% ----------------------------------------------------------------------
symbolic(textest!*:="Integration");
texsetbreak(120,1000);
on texindent;
off echo;
% out "log/tritst.tex";
exa(int(1+x+x**2,x),
"int(1+x+x**2,x);");
exa(int(x**2*(2*x**2+x)**2,x),
"int(x**2*(2*x**2+x)**2,x);");
exa(int(x*(x**2+2*x+1),x),
"int(x*(x**2+2*x+1),x);");
exa(int(1/x,x),
"int(1/x,x);");
exa(int((x+1)**3/(x-1)**4,x),
"int((x+1)**3/(x-1)**4,x);");
exa(int(1/(x*(x-1)*(x+1)**2),x),
"int(1/(x*(x-1)*(x+1)**2),x);");
exa(int((a*x+b)/((x-p)*(x-q)),x),
"int((a*x+b)/((x-p)*(x-q)),x);");
exa(int(1/(a*x**2+b*x+c),x),
"int(1/(a*x**2+b*x+c),x);");
exa(int((a*x+b)/(1+x**2),x),
"int((a*x+b)/(1+x**2),x);");
exa(int(1/(x**2-2*x+3),x),
"int(1/(x**2-2*x+3),x);");
% Rational function examples from Hardy, Pure Mathematics, p 253 et seq.
exa(int(1/((x-1)*(x**2+1))**2,x),
"int(1/((x-1)*(x**2+1))**2,x);");
exa(int(x/((x-a)*(x-b)*(x-c)),x),
"int(x/((x-a)*(x-b)*(x-c)),x);");
exa(int(x/((x**2+a**2)*(x**2+b**2)),x),
"int(x/((x**2+a**2)*(x**2+b**2)),x);");
exa(int(x**2/((x**2+a**2)*(x**2+b**2)),x),
"int(x**2/((x**2+a**2)*(x**2+b**2)),x);");
exa(int(x/((x-1)*(x**2+1)),x),
"int(x/((x-1)*(x**2+1)),x);");
exa(int(x/(1+x**3),x),
"int(x/(1+x**3),x);");
exa(int(x**3/((x-1)**2*(x**3+1)),x),
"int(x**3/((x-1)**2*(x**3+1)),x);");
exa(int(1/(1+x**4),x),
"int(1/(1+x**4),x);");
exa(int(x**2/(1+x**4),x),
"int(x**2/(1+x**4),x);");
exa(int(1/(1+x**2+x**4),x),
"int(1/(1+x**2+x**4),x);");
exa(int(sin x**2/x,x),
"int(sin x**2/x,x);");
exa(int(x*cos(xi/sin(x))*cos(x)/sin(x)**2,x),
"int(x*cos(xi/sin(x))*cos(x)/sin(x)**2,x);");
% shut "log/tritst.tex";
off tex;
end;
|
6717d65a1ffa2cbffa9a52dbb94f07ea04b8c598 | 47adabef6eb8924aff50314b05cfd89f90e19aec | /demos/cpp_find.dem.sce | 255518972231e3952a9806ddd001d533a1ab5a11 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | cpp_find.dem.sce | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA - Allan CORNET
// Copyright (C) 2010 - DIGITEO - Allan CORNET
//
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function demo_cpp_find()
mode(-1);
lines(0);
disp("cpp_find(''Scilab is a numerical computational package'',''numerical'')");
disp('position : ' + string(cpp_find('Scilab is a numerical computational package','numerical')));
disp("cpp_find(''Scilab is a numerical computational package'',''package'')");
disp('position: ' + string(cpp_find('Scilab is a numerical computational package','package')));
endfunction
demo_cpp_find();
clear demo_cpp_find; |
ea032a4a17a0d69bcdd92cdfd357348fab044538 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.tic-tac-toe-10-1tra/result0s0.tst | 96bfecb563fb63c3eb87b5eff400c6e0e1c01b07 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,158 | tst | result0s0.tst | @relation tic-tac-toe
@attribute TopLeft{x,o,b}
@attribute TopMiddle{x,o,b}
@attribute TopRight{x,o,b}
@attribute MiddleLeft{x,o,b}
@attribute MiddleMiddle{o,b,x}
@attribute MiddleRight{o,b,x}
@attribute BottomLeft{x,o,b}
@attribute BottomMiddle{o,x,b}
@attribute BottomRight{o,x,b}
@attribute Class{positive,negative}
@inputs TopLeft,TopMiddle,TopRight,MiddleLeft,MiddleMiddle,MiddleRight,BottomLeft,BottomMiddle,BottomRight
@outputs Class
@data
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
positive positive
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative negative
negative positive
negative positive
negative positive
|
67e2c59e47dcb1cc2b6727406a49189f4f3461a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH11/EX11.5/11_5.sce | 5927c474f8994479ede0a16ba4b430dc8a287049 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | 11_5.sce | clear;
clc;
close;
disp("Example 11.5")
f=4
MW=(2*18+2*2)/4 //from equation
disp(f,"(a)The oxidizer-to-fuel mixture ratio :")
disp(MW,"(b)The molecular weight of the mixture of gases in the product of combustion in kg/kmol:") |
54556893b477c5d9704ffe9732cbd8ae76ded78d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH13/EX13.1/Ex13_1.sce | baabfff00bcd5e82ac283afbaa48e7061de9d1f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,351 | sce | Ex13_1.sce |
clc
// Given that
m1 = 7500 // Mean molecular weight in g/mol
m2 = 12500 // Mean molecular weight in g/mol
m3 = 17500 // Mean molecular weight in g/mol
m4 = 22500 // Mean molecular weight in g/mol
m5 = 27500 // Mean molecular weight in g/mol
m6 = 32500 // Mean molecular weight in g/mol
m7 = 37500 // Mean molecular weight in g/mol
x1 = 0.05 // Mole fraction
x2 = 0.16 // Mole fraction
x3 = 0.22 // Mole fraction
x4 = 0.27 // Mole fraction
x5 = 0.20 // Mole fraction
x6 = 0.08 // Mole fraction
x7 = 0.02 // Mole fraction
w1 = 0.02 // weight fraction
w2 = 0.10// weight fraction
w3 = 0.18// weight fraction
w4 = 0.29// weight fraction
w5 = 0.26// weight fraction
w6 = 0.13// weight fraction
w7 = 0.02// weight fraction
m_c = 12.01 // molar mass of carbon in gram/mole
m_h = 1.01 // molar mass of hydrogen in gram/mole
m_cl = 35.45 // molar mass of chlorine in gram/mole
printf("\n Problem 13.1")
printf("\n Part A:")
M_n = m1*x1+m2*x2+m3*x3+m4*x4+m5*x5+m6*x6+m7*x7
printf("\n The number average molecular weight is %d gram/mol",M_n)
printf("\n\n Part B:")
m = 2*m_c+3*m_h+1*m_cl // Mass of repeating unit
DP = M_n/m
printf("\n The degree of polimarization is %d ",DP)
printf("\n\n Part C:")
M_w = m1*w1+m2*w2+m3*w3+m4*w4+m5*w5+m6*w6+m7*w7
printf("\n The weight average molecular weight is %d gram/mol",M_w)
|
c4015d59cc900fbc2add59f625fc17f760d2f125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH16/EX16.56/Ex16_56.sce | 984789b74b9df6f823c66e3cc8dc2be4426bcd7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Ex16_56.sce | //Initilization of variables
m=8 //kg
n=90 //rpm
g=9.8 //m/s^2
r=0.3 //m
//calculations
w=2*%pi*n/60 //rad/s
//Using equations of motion
C=(m*g*0.3+m*r*w^2*r)/1.2 //N
Bx=C-m*r*w^2 //N
By=m*g //N
//Result
clc
printf('The solution is Bx=%f N ,By=%f N and C=%f N',Bx,By,C)
|
0a3b78cb1073fe22bba2bcc0eb566b1d6ff8e940 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH10/EX10.14/10_14.sce | efa884132f7ddb1dea706195f35c81addc3d45e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | 10_14.sce | //propeller//
pathname=get_absolute_file_path('10.14.sce')
filename=pathname+filesep()+'10.14-data.sci'
exec(filename)
//Propeller Thrust(in MN) :
Ft=P/V
//Required power input to the propeller(in MW):
Pin=P/Eff
//Calculating value of D(in m):
nD=V/J
D=(Ft*10^6/p/(nD)^2/Cf)^0.5
//Operating speed (in rpm) is given by:
n=nD/D*60
printf("\n\nRESULTS\n\n")
printf("\n\nDiameter of the single propeller required to pwer the ship:%.3f m\n\n",D)
printf("\n\nOperating speed of the propeller: %.3f rpm\n\n",n)
|
d15ba11ff0b2cca5f94f8822efcf8ec0f208e9bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH19/EX19.29.4/Ex19_4.sce | 6e65a938021e87b6daa0e7625c9ec7d8c2307a75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Ex19_4.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 19 VLSI Technology and Circuits
clc
clear
f=2*10^9//f=clock frequency in Hz
VDD=3//VDD=drain supply voltage
Cl=1*10^-12//C1=load capacitance in Farad
P=50*10^-3//P=maximum power dissipation capability in W/stage
N=P/(f*Cl*VDD^2)//N=maximum permissible number of fan outs
format("v",5)
disp(N,"N=")
disp(floor(N),"The maximum permissible number of fan-outs is(integer just below actual value)=")
|
6e2805ee2f8bdaadf5f07d2f2ac00fcad418f042 | 32fd83dc0c1ad67edb50e5f14e9e3636dc53f0a0 | /tests/locals.tst | 4d32a9b77fc25e6a1325564de9572e6bf1b497c8 | [] | no_license | scartill/semu | 37003faed6b49cff3a1e40c60f7bd7b0859347f9 | ad06509536ad25627d96168a7ede326c4e8a7a33 | refs/heads/master | 2022-07-22T13:01:38.645297 | 2022-07-09T05:44:25 | 2022-07-09T05:44:25 | 110,429,263 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 27 | tst | locals.tst | SRC=locals/locals.sasm
CMP= |
f49bf5b801f6069539f5dfb2996deeb35baf296a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.15/ex2_15.sce | e44b9448173d9a05588672179aa2962c7a88d58a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | ex2_15.sce | // Example 2.15, page no-38
clear
clc
h=2
k=2
l=0
a=4.938*10^-10
d=a/sqrt(h^2+k^2+l^2)
printf("\nThe lattice spacing for (220) plane is %.3f*10^-10 m",d*10^10)
|
04b918e27c8eb46ff7abb0e3e1d825f6f7e7d3da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH1/EX1.1/Ex1_1.sce | 1958fb9df51679ab3eb2feb72cd78102434eb859 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | Ex1_1.sce |
clc;
// Example 1.1
printf('Example 1.1\n\n');
printf(' Page No. 08\n\n');
// Solution
// Given
m1= 40*10^3;// fuel oil in gallons per year
ga= 4.545*10^-3;// m^3
m= m1*ga;// fuel oil in m^3 per year
Cv1= 175*10^3;// Btu per gallons
Bt= .2321*10^6;// J per m^3
Cv= Cv1*Bt;// in J per year per m^3
q=m*Cv;// in J per year
printf(' Heat available is %3.2e J per year\n',q)
|
4e4adebaddb19cab01f5228e1c6508f3236e9cbb | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/nonlinear/scilab/functions/wls/wls_nonlin_functions.sci | 7da4b0466a30b9c47bfe348a1506367108636e7e | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sci | wls_nonlin_functions.sci | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// aux functions to weighted least squares functions
function f = objfun ( x )
f = sum(((xm(red)-x(red)).^2)./var(red));
endfunction
////////////////////////////////////////////////////////////////////////
// Define gradient and Hessian matrix
function gf = gradf ( x )
gf = zeros (nv,1)
gf(red,1) =2*(x(red) - xm(red))./var(red);
endfunction
function H = hessf ( x )
t1 = zeros (nv,1);
t1(red,1) = (2*ones(length(red),1)./var(red));
H=diag(t1);
endfunction
|
fe876ef2f2688df2c066db02161f535fb93c5038 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH4/EX4.3/4_3.sce | 96761746a038a0a2a884dc484d7c70b592ab271b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 778 | sce | 4_3.sce | clc,clear
printf('Example 4.3\n\n')
P=30*10^3/3 //power per phase
V_ph=400/sqrt(3) //phase voltage
R=(V_ph)^2/P
//l and w are length and width respectively
rho= 101.6*10^-8 //resistivity
t=0.254*10^-3 //thickness of nickel-chrome strip
l_by_w = R*t/rho //ratio of l and w (i)
k=0.5;e=0.9; //radiating efficiency and emissivity
T1=1100+273; T2=700+273; //temperatures of wire and charge
H=5.72*k*e*(T1^4-T2^4)/100^4 //heat dissipated from surface
//surface are for heat dissipation = 2*w*l
//heat dissipated = power input
wl= P/(2*H) // (ii)
//dividing expression (ii) by expression (i)
w= sqrt(wl/l_by_w)
printf('Width of strip = %.1f mm',w*1000)
|
aa7849a6f1204ac35bf014941870484f685f24a4 | c90039f74887835096a93884110d643c4823e530 | /doc/oficial/dados para treinamento RNA/RNA_ANALISE_TECNICA/Indicador/Sinal/treinamentoRede_SINAL.sce | 5ce865507addde33b815c9bae2d202a8907626db | [] | no_license | igorlima/CellInvest | da991366b329b5d8021e9b949d7b726023489ec8 | c5411247e504b8a8d0ad77d32d41bbd2aee39930 | refs/heads/master | 2020-04-06T03:40:05.614164 | 2012-10-23T12:58:20 | 2012-10-23T12:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | treinamentoRede_SINAL.sce | clear;
path_treina_SINAL = get_absolute_file_path('treinamentoRede_SINAL.sce');
exec( path_treina_SINAL+"\..\..\_treinamento.sce" );
treinar( path_treina_SINAL, "SINAL" );
|
472270fc5acfeaa96df46699e7e6641fdeaff4c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH5/EX5.8/Ex5_8.sce | 83892357f18f44de3287aa203fc5e116da4b313e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sce | Ex5_8.sce | clear
//given
o=0.14
h=0.86
O=120*o
H=120*h
O2=134.4+275.5
printf("\n \n Total O2 uniting with oil %.2f ",O2)
|
6755c9afc31d6240c5b6a5763eded1c6dc57cf99 | 2296819c4f7e5638f60abeb4527fb9595f1120de | /benkyo/control/feedback/ch4-2.sci | 06809c50ce2eba6dab362399e4c2ccc8198b3e1a | [] | no_license | yksym/yksym.github.io | e766b7f59cfb2199e1bfc396b8d6f0fd5e733091 | b5b3734441beb03b3dd473c9a0a743de82e4fbc1 | refs/heads/master | 2021-01-23T21:03:43.131136 | 2019-06-21T22:07:20 | 2019-12-30T14:26:30 | 52,853,983 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sci | ch4-2.sci | s=%s;
P=s^3 + 2 * s^2 + s
routh_t(1/P, poly(0,'k')) // s^3+2*s^2+s + k のラウス表 |
371acccc1ae2909d789eaff50730055f79f5372a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH4/EX4.1/Ex4_1.sce | 23490abd9508084e61ceeebd52640acd6306ddc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 393 | sce | Ex4_1.sce | clear
//
//
//
//Variable declaration
T1=773; //temperature(K)
T2=1273; //temperature(K)
n=1*10^-10; //fraction of vacancy sites
//Calculations
X=(T1*log(n)/T2);
x=exp(X); //fraction of vacancy sites at 1000 C
//Result
printf("\n fraction of vacancy sites at 1000 C is %0.4f *10^-7",x*10^7)
printf("\n answer varies due to rounding off errors")
|
c7efd6a92193e85c4bfd7551f4f0c1f5230889b4 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH23/EX14.23.22/Ex14_23_22.sce | 32f3b36a60c41d0c3a3f696eaccebb864ceabb56 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 177 | sce | Ex14_23_22.sce | //Section-14,Example-6,Page no.-PC.114
//To calculate the pH of 10^-8 M HCl solution.
clc;
k_w=10^-14
x=9.5*10^-8
C_1=10^-8+x
pH=-log10(C_1)
disp(pH,'pH of the given solution')
|
f17ce9de2aff9623b1c013fa09e4afe621345ad2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH15/EX15.1/Ex15_1.sce | 5056882012798fa1de3bc5588c7ed5807bba6486 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | Ex15_1.sce | //Chapter 15: Antennas for Special Applications
//Example 15-2.1
clc;
//Variable Initialization
frequency = 100e3 //Frequency (Hz)
height = 150 //Height of antenna(m)
RL = 2 //Loss resistance (ohm)
c = 3e8 //Speed of light (m/s)
//Calculations
wave_lt = c/frequency //Wavelength (m)
hp = height/wave_lt //Antenna (physical) height (lambda)
he = hp/2 //Effective height (lambda)
Rr = 400*(hp**2) //Radiation resistance (ohm)
R_E = Rr/(Rr+RL) //Radiation efficiency (unitless)
//Results
mprintf("The Effective height of the antenna is %.3f lambda", he)
mprintf("\nThe Radiation resistance for 150m vertical radiator is %d ohm", Rr)
mprintf("\nThe radiation efficiency is %.2f or %.2f percent", R_E,R_E*100)
|
e4144ff4ca82143deaea88203f74fcda84517281 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos/do_edit_pal.sci | 1f20754062ad2c193ea97dfbbb27496e719a5002 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sci | do_edit_pal.sci | function [newblocks,pals_changed]=do_edit_pal()
lastwin=curwin
curwin=get_new_window(windows)
xset('window',curwin)
xset('default')
windows=[windows;[-(size(palettes)+1) curwin]]
menu_e=['Help','Window','Palettes','Move','Copy','Align',..
'AddNew','Delete','Save','Undo','Replot','View',..
'Calc','Back']
menu_p=['Help','Edit..','File..','Block..','View','Exit']
menu_f=['Help','Rename','Save','Save As','FSave','Load','Back']
scs_m_s=scs_m;
pal_mode=%t
scs_m=list(list([600,400,0,0],'Untitled',[],[],[]))
[scs_m,newblocks,pals_changed]=scicos(scs_m,menu_p)
xset('window',lastwin)
xselect()
|
502f30e8d37bea54e63498a5d23077c0f45ebbe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH2/EX2.28/2_28.sci | ac0128faa0a78b12b5b6ff8eb4c3899519f4d5f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sci | 2_28.sci | //calculating the actual value of current, measured value of current and percentage error
clc;
Eo=10-((10*1000)/(1000+1000));
Zo=((1000*1000)/(1000+1000))+500;
Io=Eo/Zo;
disp(Io,'Actual value of current (A)=')
Zl=100;
Il=Eo/(Zo+Zl);
disp(Il,'Measured value of current (A)=')
PE=((Il-Io)/Io)*100;
disp(PE,'Percentage loading error=')
|
78ad79258d8ff87bbe8058930621503f17bb730e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH5/EX5.20/Ex5_20.sce | daf3343a7bac48d5e45b1525846afe386085474b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,076 | sce | Ex5_20.sce | clear;
clc;
disp('Example 5.20');
// aim : To determine
// the mass of oxygen and heat transferred
// Given values
V1 = 300;// [L]
P1 = 3.1;// [MN/m^2]
T1 = 273+18;// [K]
P2 = 1.7;// [MN/m^2]
T2 = 273+15;// [K]
Gamma = 1.4; // heat capacity ratio
// density condition
P = .101325;// [MN/m^2]
T = 273;// [K]
V = 1;// [m^3]
m = 1.429;// [kg]
// hence
R = P*V*10^3/(m*T);// [kJ/kg*K]
// since volume is constant
V2 = V1;// [L]
// for the initial conditions in the cylinder,P1*V1=m1*R*T1
m1 = P1*V1/(R*T1);// [kg]
// after some of the gas is used
m2 = P2*V2/(R*T2);// [kg]
// The mass of oxygen remaining in cylinder is m2 kg,so
// Mass of oxygen used is
m_used = m1-m2;// [kg]
mprintf('\n The mass of oxygen used = %f kg\n',m_used);
// for non-flow process,Q=del_U+W
// volume is constant so no external work is done so,Q=del_U
cv = R/(Gamma-1);// [kJ/kg*K]
// heat transfer is
Q = m2*cv*(T1-T2);// (kJ)
mprintf('\n The amount of heat transferred through the cylinder wall is = %f kJ\n',Q);
// End
|
c7c330cfce73518d348a7d7079a73ff51af9f5d4 | 8016059350f017142cd5cdf2df5cabf94cf3c477 | /Digital Communication/fsk signal.sce | 71bbff31bf5cc56b3a9293f99046bb1a4102150d | [] | no_license | aftalam/5th-sem-labworks | 07062dc9824af810a7d7970c7907ab999fda7c52 | d3c858587369757ccbed96bc9b29e8a1fa709824 | refs/heads/master | 2022-11-11T23:58:51.147782 | 2020-07-05T18:13:59 | 2020-07-05T18:13:59 | 275,115,844 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | fsk signal.sce | //Implementation of Frequency Shift Keying (FSK) Signal
clc
clear all
fc1 = input('Enter High Carrier Frequency : ');
fc2 = input('Enter Low Carrier Frequency : ');
fp = input('Enter Number of Pulses : ');
t = 0:0.001:1;
c1 = sin(2*3.14*fc1*t);
c2 = sin(2*3.14*fc2*t);
m = (squarewave(2*3.14*fp*t)+1)*0.5;
for i = 0:1000
if m(i+1)==0
mm(i+1) = c2(i+1);
else
mm(i+1) = c1(i+1);
end
end
subplot(4,1,1)
plot2d(t,m)
xtitle('Modulating Signal','Time','Amplitude')
subplot(4,1,2)
plot2d(t,c1)
xtitle('High Carrier Frequency Signal','Time','Amplitude')
subplot(4,1,3)
plot2d(t,c2)
xtitle('Low Carrier Frequency Signal','Time','Amplitude')
subplot(4,1,4)
plot2d(t,mm)
xtitle('FSK Signal','Time','Amplitude')
//high carrier freq = 30
//low carrier freq = 5
//no of pulses = 5 |
436d95a3f76168be6d1fab119806ec0d29833e5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH36/EX36.11/36_11.sce | dc09d93f11742c12d21fa4a30c4ec92a155ef3eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,968 | sce | 36_11.sce | //Problem 36.11: A supply voltage v given by
// v = 25 + 100sinwt + 40sin(3wt + pi/6) + 20sin(5wt + pi/12) Volts
//where w = 10000 rad/s. The voltage is applied to a series circuit comprising a 5.0 ohm resistance and a 500 μH inductance. Determine (a) an expression to represent the current flowing in the circuit, (b) the rms value of current, correct to two decimal places, and (c) the power dissipated in the circuit, correct to three significant figures.
//initializing the variables:
Vom = 25; // in volts
V1m = 100; // in volts
V3m = 40; // in volts
V5m = 20; // in volts
w1 = 10000; // fundamental
R = 5; // in ohm
L = 500E-6; // in Henry
phiv1 = 0; // in rad
phiv3 = %pi/6; // in rad
phiv5 = %pi/12; // in rad
//calculation:
//voltage
V1 = V1m*cos(phiv1) + %i*V1m*sin(phiv1)
V3 = V3m*cos(phiv3) + %i*V3m*sin(phiv3)
V5 = V5m*cos(phiv5) + %i*V5m*sin(phiv5)
//Inductance has no effect on a steady current. Hence the d.c. component of the current, i0, is given by
Iom = Vom/R
//fundamental or first harmonic
//inductive reactance,
XL1 = w1*L
//impedance at the fundamental frequency,
Z1 = R + %i*XL1
//Maximum current at fundamental frequency
I1m = V1/Z1
I1mag = (real(I1m)^2 + imag(I1m)^2)^0.5
phii1 = atan(imag(I1m)/real(I1m))
//Third harmonic
XL3 = 3*XL1
//impedance at the third harmonic frequency,
Z3 = R + %i*XL3
//Maximum current at third harmonic frequency
I3m = V3/Z3
I3mag = (real(I3m)^2 + imag(I3m)^2)^0.5
phii3 = atan(imag(I3m)/real(I3m))
//fifth harmonic
XL5 = 5*XL1
//impedance at the third harmonic frequency,
Z5 = R + %i*XL5
//Maximum current at third harmonic frequency
I5m = V5/Z5
I5mag = (real(I5m)^2 + imag(I5m)^2)^0.5
phii5 = atan(imag(I5m)/real(I5m))
//rms current
Irms = (Iom^2 + (I1mag^2 + I3mag^2 + I5mag^2)/2)^0.5
//power dissipated
P = R*Irms^2
printf("\n\n Result \n\n")
printf("\n(b)the rms value of current is %.2f A",Irms)
printf("\n(c)the total power dissipated %.0f W",P) |
1ba14348ab14cfdc3d300e7e13297990299098e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.4/Example11_4.sce | 37411660007aa2e58fbd44c903ef4515e7dd9ec0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Example11_4.sce | //Example 11.4
clc;
clear;
close;
format('v',7);
//Given data :
Cd=0.62;//constant
H=0.12;//meter
L=0.3;//meter
g=9.81;//constant
Q=2/3*Cd*sqrt(2*g)*L*H^(3/2);//m^3/s
disp(Q,"Discharge in m^3/sec : ");
|
ca4aa5981f5e7802ac6a103fd220f5c67f9097da | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH15/EX15.12/Ex15_12.sce | c28851cbc9f7c98208664afe7477d3b750b7a4de | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | Ex15_12.sce | //clear//
//Example 15.12:Inverse Lapalce Transform
//X(S) = 10s/((s+3)(s+1))
s =%s ;
syms t ;
[A]=pfss(10*s)/[(s+3)*(s+1)] //partial fraction of F(s)
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
F = F1+F2;
disp(F,"f(t)=")
//Result
// (10*s)/(s+3) *(s+1)
|
9bae56fcb2823335322eb72e41b63fb88588784a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH8/EX8.29/8_29.sce | 8bb9373773e9433e45c983d908f909b39ce18c19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 8_29.sce | clc
//initialisation of variables
v2=6//lit
v1=2//lit
r=3/2
p1=1.01*10^5//n/m^2
//CALCULATIONS
g=(r+1)/r
p2=p1*(v2/v1)^g
w=(1/(g-1))*((p1*v2*10^-3)-(p2*v1*10^-3))
//results
printf(' \n work done= % 1f J',w)
|
7bc6be162b9552734406651699dd0752a71160b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH5/EX5.8.b/5_8_soln.sce | 33ac861e774ff3e0d0be11d98026ee4e595aff57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | 5_8_soln.sce | clc;
pathname=get_absolute_file_path('5_8_soln.sce')
filename=pathname+filesep()+'5_8_data.sci'
exec(filename)
// Solutions:
// Theoretical pump flow rate,
Qt=(Vd*N)/231; //gpm
// rounding off the above answer
Qt=fix(Qt)+(fix(floor((Qt-fix(Qt))*10))/10); //gpm
// Therefore,volumetric efficiency,
eta_v=(Qa/Qt);
// Now, mechanical efficiency,
eta_m=((p*Qt)/1714)/((Ta*N)/63000);
// overall Efficiency,
eta_o=eta_v*eta_m*100; //%
// rounding off the above answer
eta_o=fix(eta_o)+(fix(floor((eta_o-fix(eta_o))*10))/10); //%
// Theoretical torque required to operate the pump,
Tt=floor(eta_m*Ta); //in.lb
// Results:
printf("\n Results: ")
printf("\n The overall efficiency of pump is %.1f percent.",eta_o)
printf("\n The Theoretical torque required to operate the pump is %.0f in.lb.",Tt)
|
5851d8056cc4b4e160603e28d4bd545dedcea268 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.38/Ex6_38.sce | 002f2731d77ea49eb3510026c247dcd711ee684f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sce | Ex6_38.sce | clear;
clc;
printf("\t\t\tProblem Number 6.38\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.38 (page no. 290)
// Solution
//data given
V=1000; //ft/s //the fluid velocity
gc=32.17; //Unit:(LBm*ft)/(LBf*s^2) //gc is constant of proportionality
J=778; //conversion factor
h=1204.4; //Btu/lbm //enthalpy of saturated steam
//h0-h=V^2/(2*gc*J)
h0=h+((V^2)/(2*gc*J)); //Btu/lbm //h0=stagnation enthalpy
printf("The total enthalpy is %f Btu/lbm\n",h0);
//It will be noted for this problem that if the initial velocity had been 100ft/s,deltah would have been 0.2 Btu/lbm,and for most practical purpposes,the total properties and those of the flowing fluid would have been essentially the same.Thus,for low-velocity fluids,the difference in total and steam properties can be neglected.
|
3a046f571b63aa056d55252f238afd1afee96a30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH13/EX13.17/ch13_17.sce | ad52a7bb61970a983812923d353d60ec9f0d880d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,433 | sce | ch13_17.sce | //To determine the line voltages and currents in per unit on delta side of the transformer
clear
clc;
vab=2000;
vbc=2800;
vca=2500;
vb=2500;// base voltage (V)
Vab=vab/vb;// per unit voltages
Vbc=vbc/vb;
Vca=vca/vb;
a=acosd(((1.12^2)-((.8^2)+1))/(2*.8));
b=acosd(((.8^2)-((1.12^2)+1))/(2*1.12));
Vlab=Vab*(cosd(76.06)+%i*sind(76.06));// line voltage
Vlca=Vca*(cosd(180)+%i*sind(180));// line voltage
Vlbc=Vbc*(cosd(-43.9)+%i*sind(-43.9));// line voltage
L=1*(cosd(120) + %i*sind(120));
Vab1=(Vlab +(L*Vlbc) + ((L^2)*Vlca))/3;// symmetrical component of line voltage
Vab2=(Vlab +(L*Vlca) + ((L^2)*Vlbc))/3;// symmetrical component of line voltage
Vabo=0;// symmetrical component of line voltage
Van1=Vab1*(cosd(-30)+ %i*sind(-30));
Van2=Vab2*(cosd(30)+ %i*sind(30));
Ia1=Van1/(1*(cosd(0) + %i*sind(0)));
Ia2=Van2/(1*(cosd(0) + %i*sind(0)));
VA1=-%i*Van1;
VA2=%i*Van2;
VA=VA1+ VA2;
VB1=(L^2)*VA1;
VB2=(L)*VA2;
VB=VB1 + VB2;
VC2=(L^2)*VA2;
VC1=(L)*VA1;
VC=VC1 + VC2;
VAB=VA-VB;
VBC=VB-VC;
VCA=VC-VA;
IA=VA;
IB=VB;
IC=VC;
phase_IA=atand(imag(IA)/real(IA));
phase_IB=atand(imag(IB)/real(IB));
phase_IC=atand(imag(IC)/real(IC));
disp(VAB,"VAB(p.u)=");
disp(VBC,"VBC(p.u)=");
disp(VCA,"VCA(p.u)=");
mprintf("IA(p.u)=%.2f at an agle of %.1f\n",abs(IA),phase_IA);
mprintf("IB(p.u)=%.2f at an agle of %.1f\n",abs(IB),phase_IB);
mprintf("IC(p.u)=%.2f at an agle of %.1f",abs(IC),phase_IC);
|
6b74475a370ce384b52ef9b9511098e9e5249a0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH6/EX6.3/6_3.sce | 0ca073cc86c323d94150551797dc96198bf75c92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | 6_3.sce | //ques-6.3
//Calculating emf of a concentration cell
clc
C1=0.01; C2=0.1;//concentration of Zn(2+) ions (in M)
n=2;//number of electrons
E=(0.0592/n)*log10(C2/C1);
printf("The emf of the given concentration cell is %.4f V.",E);
|
6070fcef0334b4a28df45da07e527a97a8ed0d1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH5/EX5.8/ex5_8.sce | 00602fd7e757645ddf49f290c00dddb919499dde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | ex5_8.sce | // Exa 5.8
clc;
clear;
close;
// Given data
D = 15;
L = 25;
V_s = (%pi/4) * (D)^2 * L;// in cm^3
V_c = 400;// in cm^3
V = V_s+V_c;// in cm^3
r = V/V_c;
Rho = (V_c +( V_s*(5/100) ))/V_c;
Gamma = 1.4;
Eta = 1-((1/r)^(Gamma-1)) * ( (((Rho)^(Gamma))-1)/(Gamma*(Rho-1)) );
Eta = Eta * 100;// in %
disp(Eta,"Efficiency of diesel cycle in % is");
// Note: Calculation in the book is wrong, So the answer in the book is wrong
|
8b02191d555ddb0e750c29b5a3395f159a2e3898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH8/EX8.20/Ex8_20.sce | 86efd46ffdb87524df4eafbfbe552d0fa3edd5ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 827 | sce | Ex8_20.sce | // Problem 8.20,Page no.219
clc;clear;
close;
alpha=30 //degree
E=200*10**9 //Pa
G=80*10**9 //pa
//Calculations
//For alpha=30 //Degree
//dell=64*W*R**3*n*sec(alpha)*(d**4)**-1*(cos(alpha)**2*G**-1+2*sin(alpha)**2*E**-1)
//Now substituting values in above equation we get
//dell_1=64*W*R**3*n*(d**4)**-1*1330*(10**9)**-1 (equation 1)
//For alpha=0 //Degree
//dell=64*W*R**3*n*sec(alpha)*(d**4)**-1*(cos(alpha)**2*G**-1+2*sin(alpha)**2*E**-1)
//Now substituting values in above equation we get
//dell_2=64*W*R**3*n*(d**4)**-1*1250*(10**9)**-1 (equation 2)
//subtracting equation 1 and equation 2 we get
//Let dell_1-dell_2=X
//X=64*W*R**3*n*(d**4)**-1*80*(10**9)
//Let Y=X*dell_1**-1*100
Y=80*1330**-1*100 //% under estimation of axial extension
//Result
printf("%% under estimation of axial extension is %.2f",Y)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.