blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
437c84496e1681d563f77a82f35de7df63933b05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH6/EX6.11/Ex6_11.sce | 7b60364beaac98a76bc80a56389c54addda1141c | [] | 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 | 548 | sce | Ex6_11.sce | clear;
clc;
l = 3;// feet
b = 3;// inches
t = 3/8;// inches
W = 1500;// lb.
f = 12;// tons/in^2
E = 30*10^6;// tons/in^2
M_max = W*l*12/4 ;// lb-inches
M_r = f*(1/6)*b*t^2 *2240;// lb-inches
n = M_max/M_r ;// no. of plates
n = round(n+1);
f = M_max/(n*(1/6)*b*t^2);// lb/in^2
R = E/(2*f/t) ;// inches
delta... |
7950dec7d312a1bd9a6e1b10e030a14cc6da4cf3 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2bp/test_9.sce | a11ffa4ae41dedfb6f8da6bf77ae62f5fbcc4f89 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | test_9.sce | // Test # 9 : Valid input test case #1
exec('./allpasslp2bp.sci',-1);
[n,d]=allpasslp2bp(0.7,[0.49,0.78]);
disp(d);
disp(n);
//
//Scilab Output
//d=1. 0.7334144 0.6004943
//n=- 0.6004943 - 0.7334144 -1.
//Matlab Output
//n= -0.6005 -0.7334 -1.0000
//d= 1.0000 0.7334 0.... |
6ad3ab2227eed0d9722e14112fc3238c05157c6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH17/EX17.11/17_11.sce | cecc7004ae5542e75266f126bee1cf32f327cd4a | [] | 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 | 365 | sce | 17_11.sce | clc;
//page no 654
// problem no 17.11
//for a square patch antenna
f=2*10^6;// freq of operation in Hz
Er=2;// relative permittivity
c=3*10^8;// velo of light
//wavelength is given as
wl=c/(f*sqrt(Er));
//The antenna width and length are each approximately half of this.
w=wl/2;
l=wl/2;
disp('m',w,'The ante... |
6e58c1047412b43d1f15a4ba56c07e316a16a823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH15/EX15.10/15_10.sce | bf051841fc036e45a2194448c86e66e8add186e3 | [] | 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,124 | sce | 15_10.sce | clear;
clc;
//Example - 15.10
//Page number - 527
printf("Example - 15.10 and Page number - 527\n\n");
//Given
T = 50;//[C] - Temperature
P = 64;//[kPa] - Pressure
z_1 = 0.7;
z_2 = 0.3;
// log(P_sat) = A - B/(t + C)
// For acetone
A_1 = 14.37824;
B_1 = 2787.498;
C_1 = 229.664;
// For acetonitrile... |
f72ca8e4dd65fa38c33630531c7b0971d08194b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH12/EX12.1/12_1.sce | 68e99e189eb3927e99cdc9e9479963953706978a | [] | 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 | 307 | sce | 12_1.sce | clear//
//Variables
I0 = 2 * 10**-7 //Current (in Ampere)
VF = 0.1 //Forward voltage (in volts)
//Calculation
I = I0 * (exp(40*VF)-1) //Current through diode (in Ampere)
//Result
printf("\n Current throrough diode is %0.2f micro-Ampere.",I*10**6)
|
988b65818812e26ec07b2b736eb5c064b5d8019b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH4/EX4.4/ex4_4.sce | 8ec4a9ba506928576b473b12882313d6e1a90f19 | [] | 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 | 391 | sce | ex4_4.sce | //AC Circuits : example 4.4 :pg(4.5)
pi=3.14;
Vm=200;
disp("v=200sin314t");
disp("v=Vmsin(2*pi*f*t)");
disp("(2*pi*f)=314");
f=(314/(2*pi));
printf("f=%.f Hz",f);
Vavg=((2*Vm)/pi);
Vrms=(Vm/sqrt(2));
mprintf('\nFor a sinusoidal waveform, \nVavg=(2*Vm/pi) \nVrms=(Vm/sqrt(2))');
kf=(Vrms/Vavg);
kc=(Vm/Vrms);
... |
8aea41bd3cfab2a5a861d22bc4fc6905fc55c391 | 862f4cb419373dad3bc4104fb54a770830b999aa | /Fig11/Readme.tst | dde80c97090b55c4ff4b2d0cc8f383d059f2c2cb | [] | no_license | vyqrvwgf1/Study_dataset | 074427c2afe362d7830d32f92d743299e8834954 | 1f3c63367b74dc0b079c2d375d6acdefbf7ba54d | refs/heads/main | 2023-07-06T16:34:59.313396 | 2021-08-16T11:31:20 | 2021-08-16T11:31:20 | 372,930,274 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | tst | Readme.tst | Different folders contains the outputs of RF method and Deep learning methods. |
1e4174e483cf78f958276f11746a3b3717b99c9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH15/EX15.3/eg_15_3.sce | 0aa8bc2c34ecf9f195ddb59ba95b7af7b2dad835 | [] | 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 | 570 | sce | eg_15_3.sce | clc;
clear;
T1=[1 2 1];
T2=[0 1 1];
n=max(size(T1));
a=n-1;
b=a;
T3=zeros(1,a+b+1);
for i=1:n
b=n-1;
for j=1:n
T3(a+b+1)=T3(a+b+1)+(T1(i)*T2(j));
b=b-1;
end
a=a-1;
end
m=max(size(T3));
i=1;
j=m;
while(i<=floor(m/2) & j>=(ceil(m/2)+1))
t=T3(i);
T3(i)=modulo(T3(j),3);
... |
5bb6f36549ea2c0ef68a68bdf445ae6493cc4ddd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH4/EX4.1/4_1.sce | 92ca77bb3e26c466ab740fad776704df34c460aa | [] | 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 | 394 | sce | 4_1.sce | //example 4.1
clc; funcprot(0);
// Initialization of Variable
V=0.5;//volume
P1=1;//pressure
P2=0.5;
vf1=1.0432/1000;
vf2=1.0582/1000;
x=0.5;
T1=99.63;
v1=vf1+0.5*(1.694-vf1);
v2=v1;
T2=111.4;//from table
disp(T2,"temperature in degree celcius");
m=V/v1;
mg1=x*m;
disp(mg1,"mass of vapor in kg");
x2=(v1... |
e0f852f683fc0afa7f5403af68c9eea072fa4902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH9/EX9.21/Example_9_21.sce | f57642e4d3fe7614102b19bc0bfaaa3eda8b11d8 | [] | 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,484 | sce | Example_9_21.sce | //Caption:K-Samples Tests
//K-samples Median Test
//Example9.21
//Page347
//Ho: There is no significant difference between the percentagge absenteeism of the
//employees in different months
//H1: There is significant difference between the percentage absenteeism of the
//employees in different months
clear;
cl... |
bbffb96a49fbc9e446c925b95528755e9e6856cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH12/EX12.5/Ex12_5.sce | efa7710a3ea7704a0d134d96afe7c459dbeb5c88 | [] | 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 | 708 | sce | Ex12_5.sce | // chapter 12
// example 12.5
// calculate numerical aperture,acceptance angle and the critical angle of the optical fibre
// page 361
clear;
clc;
// given
u1=1.50; // refractive index of core
u2=1.45; // refractive index of cladding
//calculate
d=(u1-u2)/u1; // calculation of fractional index change
NA=u1*... |
8ea51fed35dc4a254863ade2dca6e75baba00f07 | 717ddeb7e700373742c617a95e25a2376565112c | /1442/CH4/EX4.6/4_6.sce | 0cef4a8db08a67ccb37cecfd5a5ce31564366213 | [] | 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 | 557 | sce | 4_6.sce | clc
//initialisation of variables
T= 296 //K
T1= 250 //K
T2= 300 //K
v= 0.1257 //m^3/kg
v1= 0.11144 //m^3/kg
u1= 27772.6 //kJ/kg
u2= 2679.6 //kJ/kg
h1= 3023.5 //kJ/kg
h2= 2902.5 //kJ/kg
s1= 6.7664 //kJ/kg K
s2= 6.5433 //kJ/kg K
//CALCULATIONS
a1= (T-T1)/(T2-T1)
a2= 1-a1
V= a1*v+a2*v1
U= a1*u1+a2*u2
H=... |
639d7cdcf397caf7193cb89bd41275bc660026c0 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/ang.tst | 0a668a514b7001b9d390c6c0cc0d645628e0ae38 | [] | 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 | 291,800 | tst | ang.tst | rinc rincas N;NOM;PL
rinc rinc N;ACC;SG
rinc rinca N;GEN;PL
rinc rince N;DAT;SG
rinc rincum N;DAT;PL
rinc rinc N;NOM;SG
rinc rincas N;ACC;PL
rinc rinces N;GEN;SG
gebedda ġebeddan N;NOM;PL
gebedda ġebeddan N;ACC;SG
gebedda ġebedda N;NOM;SG
gebedda ġebeddan N;GEN;SG
gebedda ġebeddum N;DAT;PL
gebedda ġebeddena N;GEN;PL
ge... |
398df44513a0bad61969494ef243abc985d60dec | 9ce4292954000fd66bcdbd0797a280c306308d08 | /mooc/nand2tetris/projects/08/ProgramFlow/FibonacciSeries/FibonacciSeries.tst | 07df2b925c54a3c250571537b26bac31dce0b587 | [
"MIT"
] | permissive | JiniousChoi/encyclopedia-in-code | 0c786f2405bfc1d33291715d9574cae625ae45be | 77bc551a03a2a3e3808e50016ece14adb5cfbd96 | refs/heads/master | 2021-06-27T07:50:10.789732 | 2020-05-29T12:50:46 | 2020-05-29T12:50:46 | 137,426,553 | 2 | 0 | MIT | 2020-10-13T08:56:12 | 2018-06-15T01:29:31 | Python | UTF-8 | Scilab | false | false | 571 | tst | FibonacciSeries.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/08/ProgramFlow/FibonacciSeries/FibonacciSeries.tst
load FibonacciSeries.asm,
output-file FibonacciSeries.out,
compare-to FibonacciSeries.cmp,
output-list R... |
d6fad6b91fe9c2b3582eef4a603cfe73d0c3fd0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH17/EX17.17.9/Ex17_9.sce | 26c5de376be48bee9a59657664cf3ddbf7a25fbc | [] | 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,985 | sce | Ex17_9.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 17 Number Systems,Boolean Algebra,and Digital Circuits
clc
clear
hFE=30//hFE=dc current gain of given silicon transistor
VBE=0.8//VBE=base-emitter voltage drop at saturation
VCE=0.2//VCE=collector-emitter voltage drop at saturation
R1=15*1000//resistance at ... |
024bbc5257f0d6c476e184540cce60dd08d6e9b3 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH16/EX16.15/16_15.sce | 74341b3b6dac31db886c69a1362085abfe8a2efa | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | 16_15.sce | clc;
delta_t=277-17;
d=0.15;
alpha=1.32*(delta_t/d)^0.25;
disp("heat transfer coefficient=");
disp("W/m^2 K",alpha);
|
c6ed7e6b97c14670fcb773bf8f2e1d5b91536163 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH6/EX6.3/c6_3.sce | b27c2c402ab6013f36e57bf79cfde38be160a4e1 | [] | 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 | 842 | sce | c6_3.sce | //(6.3) Refrigerant 134a is compressed adiabatically in a piston–cylinder assembly from saturated vapor at 0C to a final pressure of 0.7 MPa. Determine the minimum theoretical work input required per unit mass of refrigerant, in kJ/kg.
//solution
//variable initialization
T1 = 273 ... |
ff0383d2cd3d16fcb0aeafa4041e2e3ab9e945dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.18/Ch3_3_18.sce | 2358d6125f19b94e6f8a5757299b096a335f87df | [] | 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 | 428 | sce | Ch3_3_18.sce | clc
disp("Example 3.18")
printf("\n")
disp("calculate the value of Ic,Ie for a transistor.Find beta for transistor")
printf("Given\n")
//For old transistor
alpha=0.97
Ib=50*10^-6
//value of collector current
Ic=alpha*Ib/(1-alpha)
//value of emitter current
Ie=Ic/alpha
//value of beta
beta=Ic/Ib
printf("co... |
286baf7f9f68d7e6e075bf7cf6a91ca52ae59db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH9/EX9.15/Ex9_15.sce | 9160cbe91fd9c0f2f3c78e45b4af436ef1c91372 | [] | 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 | 171 | sce | Ex9_15.sce | clc;
re=25; //Ohm
Hfe=200;
Zbase=Hfe*re; //Ohm
rE=200; //Ohm
Zbase=Hfe*(re+rE); //Ohm
disp('kohm',Zbase/1000,"Zbase=");//The answers vary due to round off error
|
2d4acfb6e5a7c78dfb5ba0bb335e06a8eb50e2ec | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_getProof.tst | 8186e2fee2663969137ad762ed80647139ef08c1 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 88 | tst | err_getProof.tst | ; tests get-proof without :produce-proofs
(set-logic QF_UF)
(get-proof)
(get-proof xxx)
|
d26218fe300f92dfca559823c6cd125ab07e15fd | c3710acaaec2f7584c3e186734bd5480ea297e2e | /3° Trabalho/GA_minFuncao.sce | 4203a86f39c5ca48d3524683645f7ec083d80b63 | [] | no_license | LaisFSGomes/InteligenciaComputacional | f97ef174c72619881c4f3893caef404a99b53f6d | a52e36cfe475e27bca32cfcfd64d6d35c2b29b68 | refs/heads/main | 2023-07-25T09:14:01.534493 | 2021-09-06T01:06:44 | 2021-09-06T01:06:44 | 392,018,905 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,346 | sce | GA_minFuncao.sce | //3º trabalho de Inteligência Computacional, rede neural
//autor: Lais de Fátima Sousa Gomes, Matrícula 504405
clear;
clc;
//_____Algumas funções auxiliares________________
//função de rosenbrock
function [z] = rosenbrock(x, y)
z = (1 - x)^2 + 100*(y - x^2)^2;
endfunction
//converte para o valor real
function [... |
de60ec0cab1a2ae5e7bd7c12d0b85ef83ac19a71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.8/3_8.sce | 9dc8a300492c65f0b39fb659b97ed9cbe553b8de | [] | 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 | 634 | sce | 3_8.sce | clear;
clc;
R=48.7;
X=80.2;
Z=complex(R,X);
c=8.42e-9;
l=200;
C=c*l;
Y=complex(0,(C* 100*%pi));
Vr=88e3/sqrt(3);
Pr=13.5e6;
pf=.9;
pfa=-1* acos(pf);
Irm=Pr/(3*Vr*pf);
Ir=complex(Irm *pf, Irm * sin(pfa));
Vs=(Vr*(1+((Z*Y)/2)))+ (Ir*Z*(1+(Z*Y/4)));
V=abs(Vs);
vs=sqrt(3)*V*1e-3;
phi=atan(imag(Vs)/r... |
80b68b6f4e82ed944908bbf9d16bb67b5bda8a4e | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /ammomod.sce | b906935e92218d3c30652518193430b13248072f | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 40,348 | sce | ammomod.sce | Name=ammomod
PlayerCharacters=CPM
BotCharacters=All Strafes.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=CPM
AddedBots=All Strafes.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=ammomod.map
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
In... |
6181d58f21f3cb7234fe769a9a2c6160837f0c59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH10/EX10.22/Ex10_22.sce | 126a51a3cba91428a4a22a193b2b4ba859430daa | [] | 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 | 166 | sce | Ex10_22.sce | clear
//Given
H=0.40
a=18 //degree
//Calculation
//
R=H/(cos(a*3.14/180.0))
//Result
printf("\n Magnitude of earths magnetic field is %0.2f G",R)
|
adb5d7ac3ce06bf3172faefb56b17b6eef15ae45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.21/2_21.sce | da1f59cfa3e9920fee58d777cbcc1547352aec79 | [] | 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 | 435 | sce | 2_21.sce | //Exaample2.21
//Given
k1=0.7 //common brick W/((m.K)
k2=0.48 //gypsum layer [W/(m.K)
k3=0.065 //Rockwool [W/m.K]
//Heat loss with insulatiob will be 20% of without insulation
A=1 //sq m
x1=0.1 //[m]
x2=0.04 //[m]
R1=x1/(k1*A) //K/W
R2=x2/(k2*A) //K/W
R=R1+R2 //K/W
//R3=x3/(k3*A)
QbyQd=0.2
sig... |
036e12f67de5349419d1839bf8fceed3df77a795 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH5/EX5.14/Ex5_14.sce | ac0d42a62f5de57a0b5fdd2cbe00771cfaa43136 | [] | 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,138 | sce | Ex5_14.sce | // Problem 5.14,Page no.136
clc;clear;
close;
B=10 //cm //width of timber section
D=15 //cm //depth of timber section
b=10 //cm //width of steel plate
t=12 //mm //thickness
w=3 //KN/m //Uniformly distributed Load
L=4 //m //Span of beam
m=20 //Ratio of modulus of elasticity of steel to timber
W=3 //KN/m //Load
//Ca... |
18530fa45a99328208cfb89bde4847a8507cde59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH33/EX33.10/3310.sce | e5f0a86d9e8f8a7f6e6e6e418985363ff2274426 | [] | 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 | 3310.sce | clc;
//Example 33.10
//page no 532
printf("Example 33.10 page no 532\n\n");
//the flow of blood from the arota to the atrium is reprsented by a vessel
meu=1.1*6.72e-4//viscosity of blood
L=0.3//length of vessel,mile
g_c=32.2//grav. acc
rho=62.4//density of blood
D=2.53/30.48//diameter of vessel,ft
P_drop=32*... |
765aa06fcb49473fb0115bfeb22f50eea3cfdb2c | a1f93c5ed7f19ec2dc6e698a305960c7eaacb3fd | /Practica1/Ejercicio4.sci | f7949471581419003c7959740c1df6de5a4742bb | [] | no_license | hectoregm/numerico | 813c74b87c976c2af4fe83adf59561a80141ea2f | ca0e16875746ad9d9c17da7ce0635669fc2410ed | refs/heads/master | 2021-01-21T07:53:31.701526 | 2014-12-02T04:42:40 | 2014-12-02T04:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,092 | sci | Ejercicio4.sci | function Funcion1(x, y)
// Autores: Hector E. Gomez Morales
// Funcion que grafica la funcion
//
// f1(x) = 4*x^2 + y^2
//
// para un conjunto de argumentos dados x, y
//************************************************************************
//-> Entrada
// x (Vector Real) - Define los puntos donde se evaluara y ... |
5b4e0f68782706b9bee0f0e36b264d90f010ce81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH15/EX15.1/15_1.sce | ea1b9dcd557e26a2fc81425012ee254ae78cfd6b | [] | 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 | 75 | sce | 15_1.sce | V1=250
V2=480
Vol2_by_Vol1=V1/V2
sav=(1-Vol2_by_Vol1)*100
disp(sav)
|
a19631b179c5ee94db8ff9cd533b582234b18803 | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH20/EX20.3/eg20_3.sce | 5f7c18b8440341018f94292288800127cd94990e | [] | 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 | eg20_3.sce | // final flux = 0.8*initial flux
Ia1 = 73; //initial armature current (in amps)
Vt = 230; //(in volts)
Ra = 0.188; //armature circuit resistance
n1 = 1150; //initial rotor speed (in rpm)
Ea1 = 216.3; //initial armature voltage
Ia2 = (1/0.8)*Ia1 ; //final armature current
Ea2 = Vt - (Ia2*Ra); //final armatur... |
f84ed7978cbf05d450d5c5991f443c607abfe32d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.20_17.tst | c5a87e57e2934d5706a7bdd23e62c656eb2ab81d | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,086 | tst | bow.20_17.tst | 20 3:1.0 6:0.25 9:0.045454545454545456 11:0.6666666666666666 15:0.25 20:2.0 30:0.25 48:0.5 50:0.5 96:0.16666666666666666 170:1.0 173:0.06666666666666667 190:1.0 199:0.047619047619047616 282:0.5 353:0.25 503:1.0 875:1.0 1014:1.0 1270:1.0 1342:1.0
20 3:0.5 6:0.25 9:0.18181818181818182 11:0.6666666666666666 44:1.0 46:0.11... |
5f186579c34c0976cf0cac566fbfcf7f13c33389 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH3/EX3.3/Ex3_3.sce | 2c6170e48779b1c2ceda57170d765a9a6805d5c4 | [] | 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 | 501 | sce | Ex3_3.sce | // Example 3_3
clc;clear;funcprot(0);
// Constants used
g=9.81;//The acceleration due to gravity in m/s^2
// Given values
h=1400;//m
h_1=0.1;//m
h_2=0.2;//m
h_3=0.35;// respective heights in m
P_atm=85.6; // The atmosphereic pressure in kPa;
rho_w=1000;// kg/m^3
rho_o=850;// kg/m^3
rho_m=13600; // The den... |
01b2ffcc419d92f8e1f01bca2de62fcf606f5758 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.42/example2_42.sce | 437bb3e1545d573028d918e94c154e58bd7c3547 | [] | 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 | 396 | sce | example2_42.sce | clc
// Given that
lambda = 6e-7 // wavelength of light in meter
theta = 2.44e-6 // separation angle of stars in radian
// Sample Problem 42 on page no. 2.54
printf("\n # PROBLEM 42 # \n")
a = (1.22 * lambda) / theta // calculation for diameter of telescope objective
printf("\n Standard formula used \n a = (1.22 * lamb... |
39dbf282b6e583b02cd5e8189878cca5cea045b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.3/Ex_1_3.sce | dfa6399fae329ea09b0914abb123f08181765a2f | [] | 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 | 662 | sce | Ex_1_3.sce | //Example 1_3
clc;
clear;close;
//Given data
RG=2000;//ohm
VCC=20;//V
VT=0.75;//V
Vthy=0.7;//V(Voltage across thyristor)
R=200;//ohm
IT=7*10^-3;//A
Ih=5*10^-3;//A
//Solution :
//part (a)
Vo=VCC;//V////thyristor not conducting
disp(Vo,"(a) When thyristor is in off state, Output voltage in V")
//part... |
7cf1c7ff6f278db5e9c15454d016a2f36053f4bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH9/EX9.12/ex9_12.sce | d47a4579c61b3beab623a80e98af99eee7344b42 | [] | 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 | 397 | sce | ex9_12.sce | // Example 9.12
format('v',6)
clc;
clear;
close;
// given data
Ta= 70;// ambient temperature in °C
P= 30;// in power dissipation in W
theta_CS= 0.5;// in °C/W
theta_SA= 1.5;// in °C/W
// The case temperature
Tc= Ta+P*(theta_CS+theta_SA);// in °C
// The power rating
P_Dmax= 60;// in W
disp(Tc,"The case tem... |
a97ec76a75926ed781db707dbe236225c22053f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH7/EX7.5/Example7_5.sce | cf90effd900e2e3238df3e4d1dc03841c045b7ed | [] | 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 | 910 | sce | Example7_5.sce | clear;
clc;
// Illustration 7.5
// Page: 228
printf('Illustration 7.5 - Page: 228\n\n');
printf('Illustration 7.5 (a)\n\n');
// solution(a)
//****Data****//
// A = benzene vapour; B = Nitrogen Gas
P = 1;// [atm]
//*****//
MA = 78.05;// [kg/kmol]
MB = 28.02;// [kg/kmol]
// Since gas is saturated, ... |
f0bff678ad02919c8f473169b5f1cca458da8326 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.11/Chapter3_Exampl11.sce | 09e1637ef9200ea9a3a2ac77ca2dc3902cf633a3 | [] | 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 | 695 | sce | Chapter3_Exampl11.sce | clc
clear
//INPUT DATA
d=0.26;//bore of the engine in m
L=0.38;//stroke of the engine in m
vc=0.0025;//clearence volume in m^3
p1=1;//pressure in bar
t1=313;//temperature in K
p3=25;//pressure in bar
v12=9.07;//volume in m^3
//CALCULATIONS
vs=(3.14*d^2*L)/4;//swept volume in m^3
Rc=((vs+vc)/vc);//compress... |
99b38e96600f7ebcb22e01f885783e2baa4f33ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH13/EX13.1/Example_13_1.sce | 5f1481c3f96683e44443a88db6305228de4f2f8a | [] | 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 | 821 | sce | Example_13_1.sce | //Chemical Engineering Thermodynamics
//Chapter 13
//Thermodynamics in Phase Equilibria
//Example 13.1
clear;
clc;
//Given
//N2 obeys the relation : Z = 1+(2.11*10^-4*P)
Tc = 126;//Critical temperature in K
Pc = 33.5;//Critical pressure in atm
T = 373;//in K
P = 100;//in atm
//To Calculate the fugacit... |
1d3baa02ad2bdf4955d4d03456de11aefd3131b9 | 7f06ca874b627be0721a76b294aafc810fef4dfa | /Assignment-1/GaussJordan.sce | 033f7be5936f20d1f8619b2b292366e01d51441b | [] | no_license | tfidfwastaken/scilab-assignment | 2a3fd4110e8424498ed7cb985cbb402bcd0fd4f0 | 84ec5ee65aae430f1cc120dc948d9738bb27c880 | refs/heads/master | 2020-12-29T19:54:05.020393 | 2020-04-04T09:44:14 | 2020-04-04T09:44:14 | 238,713,075 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | GaussJordan.sce | rows = 3;
cols = 3;
A = zeros(rows,cols);
disp("Inputs to all matrices to be sequential left to right, top to bottom");
disp("Inputs to A begin");
for i = 1:rows
for j = 1:cols
A(i,j) = input("value for A:")
end
end
n = length(A(1,:));
Aug = [A,eye(n,n)];
for j = 1:n-1
for i = j+1:n
... |
da0c7071b7bd03ccb3410bbe9bbcc6decee58346 | a298812524bb9c88b48c522cddef9748b5086214 | /SS5 part2.sce | 17e56453130db5543d24973df33ae1aab9e232e9 | [] | no_license | HusainLokhandwala14/Scilab-SS | 69beb9c287a144f5e1373ac18b6be110a557352a | abba42a0513a1400b0010e92bb24e408db2efe7b | refs/heads/main | 2023-01-16T02:14:26.311640 | 2020-11-25T16:39:14 | 2020-11-25T16:39:14 | 315,996,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,172 | sce | SS5 part2.sce | // SS SCILAB EXPT 5 PART 2
//clc;
//i=sqrt(-1);
//h_mag1=[];
//w1=[];
//for w=-2*%pi:0.01:2*%pi
// h=1/(1-0.5*exp(-i*w));
// h_mag=abs(h);
// h_mag1=[h_mag1 h_mag];
// w1=[w1 w];
//end
//plot(w1,h_mag1);
//
//figure;
//i=sqrt(-1);
//h_mag1=[];
//w1=[];
//for w=-2*%pi:0.01:2*%pi
// h... |
d9799b2b7b9f30e6b218c12c12356f224f4b8664 | bae725b750433ba5d58470784eeb87687023da7e | /macros/poincare.sci | 127e9d71da432f2c6d7cba8cac07ba3faf13cda2 | [
"MIT"
] | permissive | aamadou/IsItChaos | eac61da272b4fb22f83bdceaceb5774385f481e5 | def74ddd5710898f876a9a7d39916e5cc1a8b6b5 | refs/heads/master | 2016-08-04T21:00:17.832904 | 2014-03-24T13:18:39 | 2014-03-24T13:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,163 | sci | poincare.sci | function [x]=poincare(orbit,NbrIti,Dim,Delai, CrossDirect, CrossAxe, Crosspos)
// Initialisation
Commandline='';
NbrComp=size(orbit,2);
if isdef('NbrIti','local')...
then Commandline=Commandline+' -l'+string(NbrIti),
end;
if isdef('Dim','local')...
then Commandline=Commandline+' -m'+string(Dim),
end;
if isde... |
ad15dc1d1863e73499c7bfffae6b5621795063b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH10/EX10.10/Ex10_10.sce | 403def9d13c88a9943274862408a994917064f88 | [] | 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 | 815 | sce | Ex10_10.sce | clear
k = 24.0*(10**12) //N.sq.mm Flexure rigidity
E = 200.0 //GPa - Youngs modulus of the string
l = 5000.0 //mm - The length of the string
C_A = 300.0 //sq.mm - crossection area
P = 50.0 //KN - The force applies at the end
a = 2000.0 //mm - The distance C-F
x =... |
f3037240e11913bd94170b18b6aff8d8fdce19c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH16/EX16.1/16Ex1.sce | 77ecc5c1de4e7b32b6fe460d4a9d1d6a7df055b1 | [] | 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 | 328 | sce | 16Ex1.sce | //chapter 16 Ex 1
clc;
clear;
close;
t1=36; t2=45; //time taken by A and B to fill tank individually
A1hour=1/t1; B1hour=1/t2; //part filled by A and B in 1 hour each
AB1hour=A1hour+B1hour; //part filled by both in 1 hour
mprintf("Thus the time taken by both pipes together to fill the tank is %d hours",1/AB1h... |
dad2fa6031eef014eb108754d5c2fa84bd4ecd88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.27/27.sce | 782e3b037eb836f688c6ff8d5107063a719ef94d | [] | 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 | 657 | sce | 27.sce | clc
clear
//Input data
C=250 //Velocity of air in m/s
D=10 //Diameter in duct in cm
T=5+273 //Static temperature in K
P=40 //Static pressure in kPa
k=1.4 //Adiabatic constant
Cp=1005 //Specific heat capacity at constant pressure in J/kg-K
R=287 //Specific gas constant in J/kg-k
//Calculation
To=T+(C^2/(... |
e60a634d9225398f7a44377ea56b5cfac238146d | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH4/EX4.11/example4_11.sce | 5018af3693b502f85a1fe5f6cc64b151ed2fe2f4 | [] | 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 | 968 | sce | example4_11.sce | //clc()
//N2 + 3H2 = 2NH3
V1 = 100;//m^3 ( 1 = N2)
V2 = V1 * 3;// ( According to Avagadros principle, equal volumes of all gases under similar condition contains same no. of moles)
disp("m^3",V2,"(a)Volume of hydrogen required at same condition = ")
P1 = 20;//bar
T1 = 350;//K
P2 = 5;//bar
T2 = 290;//K
V3 = 3 *... |
7cbaeaec8a126799028322afa9ba168779a1bca9 | eec3a6e2cd91307fd7a55b7fc83bb86b35f86a6c | /BetaAngle.sce | 11387830d8390629897fa085adcbc3cb552bc28f | [] | no_license | Matthieu-71/PowerSubsystemSimulation | d1a5171ff763ca42db9d701f893d3ab257a1b882 | cdcff61d4a11509f5d9023fb295af6b8092a3c66 | refs/heads/master | 2020-03-16T23:33:28.836945 | 2018-05-24T00:10:57 | 2018-05-24T00:10:57 | 133,082,402 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,359 | sce | BetaAngle.sce | //Attitude Definition and Beta Angle
// Authours: Matthieu D. Jessie A. Arvin T.
clear; clc; clf; // Remove at implementation
function [outx, outy, outz] = xRot(vec,theta)
R1 = [1,0,0;0,cos(theta),sin(theta);0,-sin(theta),cos(theta)];
out = vec*R1;
outx = out(1);
outy = out(2);
outz = out(3);
endfunction
fu... |
10573b5bc5be5278a71c8d1c71efe51d24336bc0 | 0c3cccb3c81eb151f654e5d9d470662c19122857 | /scilab/ex17.sce | aa9c3ff6839485629d43f64ecbf95ed6091c8209 | [] | no_license | gmordelet/oldProg | 6b2bb7c247dd1f16a641d0f840f7c82e8eb37ffb | c108060bf1b87b4aad196484036f226fd9c4422c | refs/heads/master | 2021-01-12T16:28:52.448277 | 2016-10-30T11:16:22 | 2016-10-30T11:16:22 | 69,155,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | ex17.sce | function M = f(n, a, b)
A = eye(n, n) * (a - b);
B = ones(n, n) * b;
M = A + B;
endfunction
function M = g(n, a, b, c)
A = eye(n, n) * a;
B = diag(ones(n - 1, 1), -1) * b;
C = diag(ones(n - 1, 1), 1) * c;
M = A + B + C;
endfunction
function M = h(x)
l = length(x) - 1;
A = ones(x)' ... |
6ea952eaf75a1959afe43064cd487f8d99c03208 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH6/EX6.1/Ex6_1.sce | 9804f1c2b364da784386f98a8ec94fe68269d3a6 | [] | 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 | 308 | sce | Ex6_1.sce | clc//
//
//
//Variable declaration
c=3*10^8; //velocity of light(m/s)
m=1.67*10^-27; //mass of proton(kg)
h=6.626*10^-34; //planck's constant
//Calculation
lamda=h*10/(m*c); //de broglie wavelength(m)
//Result
printf("\n de broglie wavelength is %0.3f *10^-14 m",lamda*10^14)
|
006b0d908dc56dd46a04879e4da4e46bb040d25a | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH8/EX8.a.7.1/exaA_8_7_1.sce | 3fb35f5c2f70c09b1255cb9b6f32a7a67183ffd5 | [] | 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,204 | sce | exaA_8_7_1.sce | // Example A-8-7-1
// PID Design with Frequency Response
clear; clc;
xdel(winsid()); //close all windows
mode(0);
// please edit the path
// cd "<your code directory>";
// exec("plotresp.sci");
s = %s;
Gp = syslin('c',s + 0.1,s^2 + 1);
Kv = 4;
K = Kv / abs(horner(Gp,0))
// Step 1 : Gain adjust
G1 = Gp * K / s
G1w... |
73a6187ae6fd5ef360711ca38824e72f1603c69f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH2/EX2.7/2_7.sce | c39b276168c02cea4b315776e2e04cd184e7192f | [] | 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 | 199 | sce | 2_7.sce | clc
//initialisation of variables
l20=0.1//m
l1=0.0999//m
s=0.000011//1/c
t1=20
//CALCULATIONS
t=((l1-l20)/(l20*s))+20
//results
printf(' temperature the rod must be reduced is= % 1f C',t)
|
3fdc211aa0c8b79f294a43478cd8bafb6338954e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH1/EX1.1/Ch01Exa1.sce | 96f3bc70c3955b16cee7634fe8e2cec25c9fbf09 | [] | 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 | 539 | sce | Ch01Exa1.sce | // Scilab code Exa1.1 : : Page 51 (2011)
clc; clear;
Z = 79; // Atomic number of Gold
z = 1; // Atomic number of Hydrogen
e = 1.60218e-019; // Charge of an electron, coulomb
K = 9e+09; // Coulomb constant, newton metre square per coulomb square
E = 2*1.60218e-013; // Energy... |
7e7bf01192bee64d3aab28425d3bdb8a6abffc0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH4/EX4.3.a/4_3_data.sci | beb29e55b8f4f0d4aaa974196f9048d05200d599 | [] | 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 | 244 | sci | 4_3_data.sci | // Aim:Refer Example 4-3 for Problem Description
// Given:
// Kinematic viscosity of oil:
nu=100; //cS
// velocity of oil:
v=10; //ft/s
// Pipe diameter:
D=1; //in
// Length of pipe:
L=100; //ft
// specific gravity of oil:
SG_oil=0.9;
|
28d8a785c20c74380b6ce3fa4c57b11ea0370338 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH26/EX26.1/Example_26_1.sce | 0137dd78baa2a05cf5f1c0aeb625977ed2e592e0 | [] | 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,925 | sce | Example_26_1.sce | //clear//
clear;
clc;
//Example 26.1
//Given
alpha = 5;
per = 0.2; //[scf/ft^2-h-atm]
Pf = 150; //[lbf/in.^2]
Pp = 15; //[lbf/in.^2]
//Solution
//(a)
R = Pp/Pf;
//At the feed inlet
xin = 0.209;
//Using Eq.(26.17)
A = alpha-1;
B = 1-alpha-1/R-xin*(alpha-1)/R;
C = alpha*xin/R;
yi_in = (-B-sqrt(B^2-... |
20761497a01d90324e3c16bc4559afb36db12eb0 | 8423ca9ce33d0d3ba30dc05b86e8241e4894d0af | /e.sci | d18835b75b0583fa11dedd0078d2592f2a244f51 | [
"MIT"
] | permissive | fbarrueta22/TAP-1 | b99581dab6414d93988b708d61ac7e5e6610a6e5 | 61324322191684285df528149c7829b8cfe3dc5f | refs/heads/master | 2022-04-25T18:44:31.343068 | 2020-04-18T17:22:50 | 2020-04-18T17:22:50 | 256,637,464 | 1 | 1 | MIT | 2020-04-18T17:22:51 | 2020-04-18T00:22:58 | Scilab | UTF-8 | Scilab | false | false | 125 | sci | e.sci | exec('plates.sci')
[N, B] = plates(6, 1.25, 1.2)
printf('N:\n')
disp(N)
printf('\n')
printf('B:\n')
disp(B)
printf('\n')
|
ab53a44564c75c931927b31509f8e1563ff930ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH26/EX26.10/2610.sce | 15c512dca1c917ac6af4ceec630534aa865e97df | [] | 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 | 949 | sce | 2610.sce | clc;
//Example 26.10
//page no 395
printf("Example 26.10 page no 395\n\n");
//a bed of 200 mesh particles is fluidized with air
d_b=0.2//diameter of bed,m
d_p=7.4e-5//particle diameter
L_mf=0.3//bed height at minimum fludization
e_mf=0.45//bed porosity at min. fluidization
L_o=L_mf*(1-e_mf)//the zero porosity ... |
e8761185f9659fec52f7da50104b5a16f200d9d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH13/EX13.11/ex_13_11.sce | e1a65c6befd28c24ac6565904ce7421870f3cedf | [] | 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 | 99 | sce | ex_13_11.sce | warning('off');
fp=mopen('lines.dat','w');
for i=1:100
mfprintf(fp,'\n' );
end
mclose(fp); |
674a7a3ffd3ba2b7045b9441f528280fd1b7c68a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH28/EX28.3/Example3.sce | 3ff63f3eae5cc3b0532ef8f4ebe9d1ce4d121063 | [] | 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 | 271 | sce | Example3.sce | //chapter 28
//Example 3
clc
//Given
r=1*10^-10 //radius of the atom in meter
Z=79 //gold atomic number
e=1.6*10^-19 //charge in coul
q=Z*e //total positive charge in coul
E=(9.0*10^9)*q/r^2
disp(E,"Electric field strength at the surface of the gold atom in nt/coul is")
|
cf1f79e6117cc84de5ec2dbef7b2dec48144fc8c | 717ddeb7e700373742c617a95e25a2376565112c | /668/CH4/EX4.4/eg4_4.sce | e7c47f99900f31a33ad6f66aa269ff073963f328 | [] | 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 | 250 | sce | eg4_4.sce | Na = 10^19;
Nd = 10^16;
E1 = 4*10^5;
E2 = 10^7;
eps0 = 8.84*10^-14; //in F/m
eps = 11.9*eps0;
q = 1.6*10^-19;
V1 = eps*E1^2/(2*Nd*q);
disp(V1,"breakdown voltage for Si = ")
V2 = eps*E2^2/(2*Nd*q);
disp(V2,"breakdown voltage for diamond = ") |
416ca7c12f0fa1c9b51ffe5fccef5fb90b294df2 | b3905327def373bc96c2f3e887c763452bfd2525 | /AMain.pas.tst | 1011a8a60e4c7dc4595acaac00de913bd57f5a33 | [] | no_license | duffman/Xindi-Developers-Editor | a97e0a5feac5fd6d7725ad1b68247ddb2ecdd127 | 627701461ae609db83db42ab2a70511a5b2bbeed | refs/heads/master | 2022-01-10T01:06:18.729273 | 2019-07-20T00:26:33 | 2019-07-20T00:26:33 | 197,858,700 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 814 | tst | AMain.pas.tst | unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, VirtualTrees,
VirtualExplorerTree;
type
TForm1 = class(TForm)
Memo1: TMemo;
Button1: TButton;
procedure Butto... |
08832bff008061d197b117b2a271a06246b17027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH3/EX3.2.5/Example3_2_5.sce | 56e7f266cb611d47d6cec1ac68245db41e1910ee | [] | 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 | 368 | sce | Example3_2_5.sce | //Example 3.2.5 page 3.14
clc;
clear;
nx= 3.6;
TF= 0.68;
n= 0.3;
//Pe=Pint*TF*1/(4*nx^2);
//ne= Pe/Px*100 ..eq0
//Pe = 0.013*Pint //Eq 1
//Pint = n*P; //Eq 2
//substitute eq2 and eq1 in eq0
ne = 0.013*0.3*100;
printf("The external Power efficiency is %.2f %%",ne);
// Wrongly printed in textboo... |
e8277f4429869e54ddfa709dfeff9a5d5b65ac46 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH5/EX5.11/ex_5_11.sce | 76da1037659eef5ee395fb1faeb7ad764be85baf | [] | 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 | 325 | sce | ex_5_11.sce | errcatch(-1,"stop");mode(2);//Example 5.11 // Fluxmeter deflection
;
;
//given data :
l=5*10^-2;// in m
N=40;// turns
B=5*10^-3;// in Wb/m^2
b=1.5*10^-2;// in m
cs=2*10^-4;// in m^2
B1=0.05;// in Wb/m^2
fi=B1*cs;
del_fi=2*fi;
theta=(del_fi*10)/(N*B*l*b);
disp((theta*(180/%pi)),"Fluxmeter deflection,(degree) = ")
exi... |
66e19d15dee6dda0c7e1f9c139757f3dd0c070ac | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /SciLab/laba14.sce | 5eedd8c45acacd9659020f3284a7346a52a4b3dd | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,051 | sce | laba14.sce | //Лаба 14
clc
disp('********Задание 1********')
format(8)
x=1:.01:5
y=(2*(sin(x).^2))
J1=inttrap(x,y)
disp(J1,'* * * *Метод трапеций* * * * *')
J2=intsplin(x,y)
disp(J2,'* * * *Метод сплайн-интерполяций* * *')
disp('')
disp('********Задание 2********')
x=[0 1 3 4 6 9 10]
y=[1 3 2 3 5 3 4]
J=inttrap(x,y)
disp(J,'* * *... |
f502e4bfb150a23471fd6df4dae2f87c33a4b454 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH13/EX13.1/Ex13_1.sce | 854c1566e454b640c7957cd39b3d4955b31ad553 | [] | 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 | 684 | sce | Ex13_1.sce | //=====================================================================================
//Chapter 13 example 1
clc;clear all;
//variable declaration
l = 0.6; //length of solenoid in m
N = 600; //number of turns
I = 2; //current passing through solenoid in A
ur = 1; //air coiled so... |
bb9b58dd34503a9366c663cfab24ee92b5559f1a | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/FieldConvert/Tests/bfs_vort.tst | a8def06319af1f2c5bb438fefe59098d8b655f72 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 855 | tst | bfs_vort.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> Process 2D vorticity output </description>
<executable>FieldConvert</executable>
<parameters> -f -m vorticity -e bfs_tg.xml bfs_tg.fld bfs_tg_vort.fld</parameters>
<files>
<file description="Session File">bfs_tg.xml</file>
<file descri... |
38817bb9b50ac3bc23d44d2795ef2ef81c986f7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH1/EX1.5/Ex1_5.sce | a4b3190efa6d1145caf110e89c4f6e1883de7298 | [] | 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 | 645 | sce | Ex1_5.sce | clear all; clc;
//This numerical is Ex 1_3E,page 11.
H=295//net head in ft
Q=148//water flow rate
n=1800//rpm
E=0.87//efficiency
a=62.4//product of density and accelaration due to gravity
omega=(n*2*%pi)/60
dp=a*H
printf('The pressure is %g lb/ft^2',dp)
Ps=E*Q*dp
printf('\n Output power is equal to %0.3f lb-... |
6177448cdd2e57db0cd8b17bef95a3665ac2d3e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH3/EX3.29/Ex3_29.sce | 4cc4d840e62cd3f533d6d6e64fcdb60af41a1090 | [] | 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 | 456 | sce | Ex3_29.sce | // SAMPLE PROBLEM 3/29
clc;funcprot(0);
// Given data
v_1=50;// m/s
v_2=0;// m/s
e=0.5;// The effective coefficient of restitution
theta=30;// degree
// Calculation
v_1an=e*v_1*sind(theta);// ft/sec
v_1at=v_1*cosd(theta);// ft/sec
// Assume ' as a
v_a=sqrt((v_1an)**2+(v_1at)**2);// ft/sec
theta_a=atand((v... |
fc9dc6a5596c039e28f2b1c8bce895e67dfdfda0 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/gauspuls.sci | 621670b808702aa84a8b1445991e79d2191c287b | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,052 | sci | gauspuls.sci | function [y]=gauspuls(t,fc,bw)
// Generates Gaussian-modulated sinusoidal pulses
// Calling Sequence
// [y]=gauspuls(t,fc,bw)
// [y]=gauspuls(t,fc)
// [y]=gauspuls(t)
// Parameters
// t: Real or complex valued vector or matrix
// fc: Real non negative number or complex number
// bw: Real positive number or complex numb... |
15aafb630daf1ed8bd0886b6bcd333ba792b6416 | cf99f338f2e97fd7e8ae1ad9b640101832f787ba | /case-studies/week-3/week-3-q1.sce | 9677940ad87903bbb8ec3b2d46244ac9cef35e06 | [] | no_license | vsujeesh/BN5205 | b8e88324c1c97971ba3d95c3125d05676b6e4996 | 7386a440ed3e954c4aeb490eebd948d35186635d | refs/heads/master | 2022-03-13T01:00:24.783429 | 2019-10-22T03:23:55 | 2019-10-22T03:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,952 | sce | week-3-q1.sce | clear;
clf;
// constant variables
frequency = 0.1; // Hz
omega = 2 * %pi * frequency;
sigma_0 = 6; // MPa
E = 3; // elastic modulus (MPa)
eta = 5; // viscosity (MPa/s)
dt1 = 0.01; // s
dt2 = dt1 * 10;
dt3 = dt1 * 100;
function sigma_t = Stress(t)
sigma_t = sigma_0 * sin(omega * t);
endfunction
function epsilon ... |
25f1e8cae98121155ef47fbc94d00b812af23153 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/percent/%hm_s_s.sci | 323387172f4d277cac69ca909d48a61e23922692 | [
"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 | 288 | sci | %hm_s_s.sci | function M1=%hm_s_s(M1,M2)
// Copyright INRIA
// hypermatrix - scalar
if and(size(M2)==[1 1]) then
M1('entries')=M1('entries')-M2
else
dims=M1('dims')(:)
dims(find(dims==1))=[]
if and(dims'==size(M2)) then
M1('entries')=M1('entries')-M2(:)
else
error(9)
end
end
|
99b4f5af6df3932fcb32e724fc1f7e12270f787c | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH14/EX14.8/ex8.sce | e22a8b5fe3b05ef432229de8c6555b90615a548a | [] | 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 | WINDOWS-1252 | Scilab | false | false | 1,418 | sce | ex8.sce | //example 8
//Mixing of Conditioned Air with Outdoor Air
clear
clc
disp('The properties of each inlet stream are determined from the psychrometric chart to be')
v2=0.889 //Specific volume of outside air in m3/kg dry air
w2=0.0182 //properties of stream 2 in kg water/kg dry air
h2=79.0 //Specific enthalpy of out... |
79fd23c2e633194408986b25b0c9af8d97f15262 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH5/EX5.2/Ex5_2.sce | 6ebab5c2a80ca3238eee71c379557fd169806b1a | [] | 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 | 449 | sce | Ex5_2.sce |
// Ex5_2
clc;
// Given:
E0=5;// in MeV
m=1;
M=7
// Solution:
Erecoil=(4*5*m*M*((sin(45*3.14/180))^(2)))/((m+M)^2);
Escat=E0-Erecoil;
printf("\n The energy of protons scattered through an angle of 90 deg. is = %f MeV",Escat)
Eresi=E0-0.48;
Erecoil2=(14/64)*Eresi;
Escat2=Eresi-Erecoil2;
printf(... |
275e76bc8c79e36680102b26410fa10d15348673 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/BIPO/ATWM1_Working_Memory_MEG_HP77EWG_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | 7835801c4dc07f1541717f114b2903eac1d6f9ea | [] | 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,615 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#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_monito... |
9aadc7b15e00433bb3dd96d9cf7867cfa600e17e | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/ismaxphase/ismaxphase8.sce | 36c8f75d8fc37cb48f6675c9cb44daea34988595 | [] | 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 | 408 | sce | ismaxphase8.sce | //i/p args contain imaginary elements
b = [(1/3)*%i 1/4 1/5 1];
a = b(:,$:-1:1);
flag = ismaxphase(b,a);
disp(flag);
//output
//!--error 246
//Function not defined for given argument type(s),
// check arguments or define function %p_bezout for overloading.
//at line 31 of function gcd called by :
//at line ... |
bbee16ca63ce309586541b7db4d318bc2ac4d8df | ab22d4279b901859bb1520c9d82e24dbc2f5a76d | /tests/libs/hdf5/test-h5-wrappers/1_10/FORTRAN/H5T/testfiles/h5ex_t_string_F03.tst | 20912ec1d9c7a31c2153a50d50a036754cf10927 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4"
] | permissive | jcsiadal/ohpc | a9394d01c8467a2a5d37eb8005ab3234bfb8909e | fa72cea0a0b86c890e2d0e005fe59b2285f4a8ec | refs/heads/2.x | 2023-08-07T15:14:15.877252 | 2023-06-20T10:00:46 | 2023-06-20T10:18:51 | 192,586,835 | 1 | 0 | Apache-2.0 | 2020-03-22T23:18:31 | 2019-06-18T17:43:11 | C | UTF-8 | Scilab | false | false | 68 | tst | h5ex_t_string_F03.tst | DS1(1): Parting
DS1(2): is such
DS1(3): sweet
DS1(4): sorrow.
|
ee473f47f661253a59fea328f80331f921e7163c | 858e87eba2421990e4bb02ee2ac7070276bc0259 | /experiments/simple-em-discrete-with-sub.sci | 8ffd5a8d03bbd305be5a15d5225bf856f64e5f3d | [
"LicenseRef-scancode-public-domain"
] | permissive | MyFreertosLab/sdrone_test | c649e737128db26ee0902d2b9beca883c0ef5f2a | 919ff6dd3e5d495102f0b16243873f3cb7b4640b | refs/heads/master | 2023-06-15T05:10:19.052455 | 2021-07-16T07:10:39 | 2021-07-16T07:10:39 | 359,063,905 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sci | simple-em-discrete-with-sub.sci | m=100;
n=10;
dt=1/(m*n);
maxSec=3
A=[
0, 0, 0;
-1/dt, 0, 0;
-1/dt^2,-1/dt, 0
];
B=[1;
1/dt;
1/dt^2
];
function U = ingresso(amplitude, phase)
T=[1:m*maxSec+1];
P=sin((T-1)*2*%pi/250+phase)*amplitude; // Funzione di ingresso (sinusoidale con periodo 250*n e max=amplitude (deg) )
for j... |
881002e34a3e3a40021d91ba3449b80e3350f7ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH7/EX7.14/7Ex14.sce | cfe316738ad684899dd383d19586b4014f6d7fa1 | [] | 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 | 7Ex14.sce | //chapter 7 Ex14
clc;
close;
//Let one number be x, tbhus other is 50-x; according to given conditions forming the polynomial p=x^2-50*x+600; solving it we get
mycoeff=[600 -50 1];
p=poly(mycoeff,"x","coeff");
r=roots(p);
printf("The two parts are: %d and %d",r(1),r(2));
|
90940c4c146ad133efc2c48065e3966d6e0a9399 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH10/EX10.8/8.sce | 91b5cc970c2accfafe6246825b3f4bd79193b899 | [] | 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 | 669 | sce | 8.sce | clc
clear
//INPUT DATA
l=1*10^-2//length of the intrinsic Ge rod in m
b=1*10^-3//breadth of the intrinsic Ge rod in m
t=1*10^-3//thickness of the intrinsic Ge rod in m
T=300//temperature of the intrinsic Ge rod in K
me=0.39//The electron mobility in m^2 V^-1 s^-1
mh=0.19//The hole mobility in m^2 V^-1 s^-1
ni=... |
d26b7a9cd86737dfeb1165fd541ca885040cc785 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH2/EX2.1/example2_1.sce | e358374d3af3d78faf80817e82c1d4550efbe8d0 | [] | 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 | 543 | sce | example2_1.sce |
//exapple 2.1
clc; funcprot(0);
// Initialization of Variable
pi=3.14259;
f=120.80//focal length
a=-35.52//elevation of A
b=8.48//elevation of B
c=48.26//elevation of C
alphaa=atan(a/f);
alphab=atan(b/f);
alphac=atan(c/f);
phi=(354+30/60)*pi/180;//azimuth of camera
phia=phi-alphaa-360*pi/180;//azimuth ... |
419a507933ddc92390c7957797168e06bbb4837f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH2/EX2.6w/2_6w.sce | 8d048fe63a48a6d8aff09756efdff62b98994b66 | [] | 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 | 426 | sce | 2_6w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 2.6w
//calculation of angle
//given data
xcompOA=4; //magnitude(in m) of x component of OA vector
//xcompOB=6*cos(theta) magnitude(in m) of x component of OB vector
//calculation
theta=acosd(-xcompOA/6);//since x... |
a5ffaa024534717d19abee84f8b61adc1c0307c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH4/EX4.3/Ex4_3.sce | ed1cc4772fba13fe6eafaf4437f00c67f4c448d7 | [] | 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 | 448 | sce | Ex4_3.sce | N=32
Rkm=1.6
Acell=(3*sqrt(3)/2)*(Rkm^2)
TA=N*Acell//total service area
Tc=336
n=7
Ncpc=Tc/n//number of channels per cell
TSC=Ncpc*N//total sysytem capacity
N1=128
Ahex=TA/N1
R=sqrt(Ahex/(1.5*sqrt(2)))
NCap=Ncpc*N1
disp(TA,'total service area in kmsqr')
disp(Ncpc,'number of channels per cell')
disp(TSC,'total sysytem c... |
a25d0b3553019135df07c8409f4f8e428297025c | b762d5d85061b3dd84ccf900726db6098e257125 | /Álgebra Linear/Métodos/krylov.sce | f68bcce51c7d26c87ee07fef0ebd0c710fd73bc4 | [] | no_license | hugosousa111/scilab-studies | 8efdba8849fb49eeae6df35e2d9ffd3018bed313 | 5d1db65577683c8fe60bb81620f2281f04688c98 | refs/heads/master | 2020-12-20T18:14:07.202293 | 2020-01-25T11:35:28 | 2020-01-25T11:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | krylov.sce | matriz = input("Digite a matriz")
matrizY = zeros(matriz)
y = matrizY(:,1)
y(1,1) = 1
matrizY(:,size(matriz,'c'))=y
for i= size(matriz,'c')-1:-1:1
matrizY(:,i) = matriz * y
y = matrizY(:,i)
end
y = -(matriz * y)
p = matrizY\y
id_a = eye(matriz)
pi = [id_a(:,1)]
pi(1,1) = 0
for j = 0: size(matriz,'c')-1
... |
391b4d4a3f99012900e4b9d9885ff112179a45d1 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/cre.tst | 05e70381a8f0b997d4503a9eda7cd9f9613ed270 | [] | 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 | 50,137 | tst | cre.tst | kissinamukun kitta wẻ kissinamukỏkepun V;IPFV;SBJV+POT+OPT
kissinamukun ā kẻ kissinamukủkepun V;PFV;SBJV
kissinamukun ā kissinamukủkepunā V;IPFV;ADM
kissinamukun kẻ kissinamukunotookwā V;PRF;COND+IND
kissinamukun kitta kẻ kissinamukunookopun V;PFV;COND+POT
kissinamukun kitta kẻ wẻ kissinamukunookopun V;PFV;COND+POT+OPT... |
27c1866b4b19ed6dea88c536520a647adf1aab7c | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/math/equa_diff/ode1.sce | d6c6346f4fc54b00b141e2df4ba0626679ad37ff | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 444 | sce | ode1.sce | // Résolution numérique d'une équation différentielle
// y' + b y = c
// on cherche la solution y(x)
// méthode utilisée : la fonction ode de Scilab
// plus d'info en tapant help ode dans Scilab
// S. Celles
// 09/02/2007
clear
b = 1; // MODIFIABLE
c = 1; // MODIFIABLE
// on réécrit l'équa diff sous la forme
// y' =... |
4359d5164a3336c793211d0faa464d7a74f45e5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH2/EX2.1/ExB_1.sce | 40ca0f22773d52c166973d607a82d89bfaaa0cd8 | [] | 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 | 542 | sce | ExB_1.sce | // Example no B.1
// To determine SNR at the detector output stage
// Page no. 613
clc;
clear all;
// Given data
SNRin=20; // SNR at the receiver antenna input terminal in dB
F=6; // Noise figure in dB
// SNR at the detec... |
2d816aab98bab1dcbf910dac103e1bf73e4e5b3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH3/EX3.13/Ex3_13.sce | 968e3e49a4a3243bbe15ef508f7ec4e7da3dbfde | [] | 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,247 | sce | Ex3_13.sce | clear all; clc;
//This numerical is Ex 3_7E,page 54.
//Velocity diagrams are not drawn. This is with Scilab team's permission.
//The numerical part of the question has been solved.
r_t=5.2
r_h=3.5
N=4500
A=%pi*(r_t^2-r_h^2)
printf(" A is equal to %0.2f in^2",A)
disp("On converting to feet we get A= 0.322... |
e5120a8fc16874833ae21d17a7322c35de31b779 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH12/EX12.13/example12_13.sce | 66fb5cb5ed252a22423734da28a880db095b437e | [] | 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 | 905 | sce | example12_13.sce | //clc()
//CO(g) + 2H2(g) = CH3OH(g)
T1 = 298;//K
T2 = 1073;//K
//Cp(CH3OH) = 18.382 + 101.564 * 10^-3 * T - 28.683 * 10^-6 * T^2
//Cp(CO) = 28.068 + 4.631 * 10^-3 * T - 2.5773 * 10^4 * T^-2
//Cp(H2) = 27.012 + 3.509 * 10^-3 * T + 6.9006 * 10^4 * T^-2
//for reactants,
H1 = integrate('28.068 + 4.631 * 10^-3 * T ... |
093e0c882c8287ff8998692d7eb3669120f30428 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH16/EX16.5/16_5.sce | f563ea2f380403ce0a624ab2fbac3ea38273bc88 | [] | 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 | 4,697 | sce | 16_5.sce | printf("\t example 16.5 \n");
printf("\t approximate values are mentioned in the book \n");
T1=250; // inlet hot fluid,F
T2=200; // outlet hot fluid,F
t1=150; // inlet cold fluid,F
t2=190; // outlet cold fluid,F
W=100000; // lb/hr
w=31200; // lb/hr
printf("\t 1.for heat balance \n")
C=0.25; // Btu/(lb)*(F)
Q=... |
1476567e6a5726df60e64880cead4207f191c02a | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH13/EX13.2b/eg13_2b.sce | 94546eadb7355f39ab2ef7acdf02f515330f4418 | [] | 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 | 624 | sce | eg13_2b.sce | Xbar = [3.01 2.97 3.12 2.99 3.03 3.02 3.10 3.14 3.09 3.20];
S = [0.12 0.14 0.08 0.11 0.09 0.08 0.15 0.16 0.13 0.16];
c = [0.7978849 0.8862266 0.9213181 0.9399851 0.9515332 0.9593684 0.9650309 0.9693103 0.9726596];
n=4;
Xbarbar= mean(Xbar);
Sbar =mean(S);
lcl = Xbarbar - (3*Sbar/(sqrt(n)*c(n-1)));
ucl = Xbarbar +... |
feced3be8798be7a0ae7a6f934ac1e63d84b1361 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH7/EX7.8/Ex7_8.sce | 2a06cd161e1a8bfbdaa4350132bca8673d47d4d0 | [] | 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,786 | sce | Ex7_8.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 8")
m=5;//steam flow rate in kg/s
p1=5*1000;//initial pressure of steam in Kpa
T1=(500+273.15);//initial temperature of steam in K
p2=0.2*1000;//fina... |
5080cdee79d4bcb24d75a8906687ad165f8013c9 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/open_serial.sci | 980e8527847780387474849ffcc9974a3785bac1 | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,282 | sci | open_serial.sci | //
// This file is part of Arduino toolbox
// Copyright (C) 2012-2012 - DEMOSCIENCES - Alain CAIGNOT
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also availa... |
356f0a4bfe2989322ab890b0b8c42a8ad33ed963 | e9affefd4e89b3c7e2064fee8833d7838c0e0abc | /aws-java-sdk-core/src/test/resources/resources/profileconfig/MultipleProfilesWithCsmProperties.tst | 74b30414882b0172ee0c6b9fc8ea4f9dea498e50 | [
"Apache-2.0"
] | permissive | aws/aws-sdk-java | 2c6199b12b47345b5d3c50e425dabba56e279190 | bab987ab604575f41a76864f755f49386e3264b4 | refs/heads/master | 2023-08-29T10:49:07.379135 | 2023-08-28T21:05:55 | 2023-08-28T21:05:55 | 574,877 | 3,695 | 3,092 | Apache-2.0 | 2023-09-13T23:35:28 | 2010-03-22T23:34:58 | null | UTF-8 | Scilab | false | false | 168 | tst | MultipleProfilesWithCsmProperties.tst | [aws_csm_1]
csm_enabled = true
csm_host = bar1
csm_port = 1234
csm_client_id = foo
[aws_csm_2]
csm_enabled = false
csm_host = bar2
csm_port = 5678
csm_client_id = bar
|
ba9e2acf5f66f733fbf6e91e9599de9ae3e98c82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH40/EX40.1/Example40_1.sce | 38b4614c8209b97bd9f4e31fa64c8b60bc674e2c | [] | 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,015 | sce | Example40_1.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 2: HEATING AND WELDING
// EXAMPLE : 2.1 :
// Page number 724-725
clear ; clc ; close ; // Clear the work space and console
... |
3e7f911e67be11c799fb63fdb51ec357c3392f5f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%p_e.sci | edb17e54b6ab83416cf8f93b11289068ea855843 | [
"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 | 302 | sci | %p_e.sci | function f=%p_e(i,j,f)
// f=%p_e(i,j,f) <=> f=f(i,j) , i,j integers (or booleans f(i,j) is f(find(i),find(j))
//!
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==2 then
if type(i)==4 then i=find(i),end
f=j(i)
else
if type(i)==4 then i=find(i),end
if type(j)==4 then j=find(j),end
f=f(i,j)
end
|
b870e2751b99a65a3589c209ec7b4a7f524c9657 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CMP0.prev.tst | 6eae4d99c8fd397bbfd4fe8920bc22359f8166c8 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 25,662 | tst | CMP0.prev.tst | 2_a: (a^2 + b^2)^2 = (a^2 - b^2)^2 + (2*a*b)^2
2_b: (a^2 + b^2)^2 = (a^2 + b^2)^2 + (0)^2
2_c: 1 - 1; 2;
2_d: 1 + 1; 0;
3_a: (a^2 + b^2)^3 = (a^3 - 3*a*b^2)^2 + (3*a^2*b - b^3)^2
3_b: (a^2 + b^2)^3 = (a^3 + a*b^2)^2 + ( - a^2*b - b^3)^2
3_c: 1 - 3; 3 - 1;
3_d: 1 + 1; - 1 - 1;
... |
20b843266fed7ba8e92809a49e58c140bf8fa46f | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH5/EX5.28/5_28.sce | 72275f7e9089c6df04e8dd6d036b665a729a86c5 | [] | 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 | 133 | sce | 5_28.sce | clear; clc; close;
Vcc = 6;
Vbe = 0.7;
Rx = 1.3*(10^(3));
Ix = (Vcc-Vbe)/Rx;
disp(Ix,"Current through each transistor :");
|
037d0b9ff45c9e98b21c0dfc97d40a35a7062c2d | 6eb42df0d9f452fee0d084e0b0058e4e4ac242ef | /Updated_Exercises_March_2015/Exercise 10/BathDisplay.sce | a12632a73b4e53cff84ee611e1abe1860bff4d1f | [] | no_license | huangqingze/ocean_modelling_for_beginners | b21c1b398efe91e4a3aa1fa5a1d732e2eb4ec16e | 3e73a511480c73f4e38b41c17b2defebb53133ed | refs/heads/main | 2023-07-03T12:00:01.326399 | 2021-08-14T21:16:12 | 2021-08-14T21:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | BathDisplay.sce | // This script produces a graph of the bathymetry created with "BathCreator.f95".
clf; scf(0);
a=gcf(); a.figure_size= [500,350];
h1=read("topo.dat",-1,51); // read input data
x = (0:0.1:5)'; y = (0:0.1:5)'; // location vectors
hzero = max(h1,0.0);
plot3d(x,y,-hzero',alpha=5,theta=-70,flag=[7,2,3]);
|
8f926733067cd09040037d2754fe12dd701f6f86 | d56141249002a5da7c4a2641dbdfc609809046a8 | /octopus/current_FT_phase.sce | fb9cb066aa36d5dd495dd3426636ce88ee5cfffe | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,285 | sce | current_FT_phase.sce | // This code perform complex Fourier transform of the input data
clear; clc; exec(PiLib); xdel(winsid())
// Parameters ==========================================================
work_dir='C:\MyDrive\Work\CO_junc\E_kick\EL' // folder of tot_charge.sod
E_max=5 // E max
data_ini=1; // initial row to perform FT
dE... |
973a1ef33b1fc10952f3c3c2b86cbd4b2ed4eb51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH14/EX14.25/Example14_25.sce | d9159422de831cc51637c5e3f57b96f55f093d4a | [] | 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,028 | sce | Example14_25.sce | close();
clear;
clc;
V = 400; //V
f = 60; //Hz
p = 4;
R1 = 0.2; //ohm
X1 = 0.5; //ohm
Xm = 20; //ohm
X2_ = 0.2; //ohm
R2_ = 4; //ohm
loss = 800; //W
n = 1755; //rpm
ns = 120*f/p;
s = (ns-n)/ns;
Z = R1 + %i*X1 + (%i*Xm)*(R2_ + %i*X2_)/(R2_ + %i*(Xm+X2_));
Zr = real(Z);
Zi = imag(Z);
Zarg = 180/%pi * ... |
7191a961125e7254a4564562ed34bfb0cc3c9ebc | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/THREAD/SYSQUEUE/sysQueue.tst | 94321979b7b0a246e22194a10b6811905926595a | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 58,843 | tst | sysQueue.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : THREAD
-- Unit(s) Under Test: sysApi sysCfg sysMsg sysQueue sysTime
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXE... |
4e5b4294670b5ec01fda5aaa4e62e6fd3a2d49ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH16/EX16.7/16_07.sce | 183e3de3b2865ab243b02febdf8e7ab7a70aa84e | [] | 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,181 | sce | 16_07.sce | //Chapter 16, Problem 7, Fig.16.8
clc;
L=0.12; //inductance in henry
R=3000; //resistance in ohm
C=0.02e-6; //capacitance in farad
V=40; //voltage
f=5000; //frequency
Xl=2*%pi*f*L; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.