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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
35e208831a8f196cc8113b22ff2b1d0e7bef53fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH3/EX3.3/ex3_3.sce | 8de84d2e28733db0d25c99678ad1bbf5fe8e71a5 | [] | 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 | 215 | sce | ex3_3.sce | clc;clear;
//Example 3.3
//given values
B=2.179*10^-16;//a constant in J
h=6.625*10^-34;//plank's constant in J-s
//calculation
E3=-B/3^2;
E2=-B/2^2;
f=(E3-E2)/h;
disp(f,'frequency(in Hz) of radiation') |
5382667797bf55411470ae167183641753a66193 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH5/EX5.10/Exa5_10.sce | df7a99f333355eb0cdf222a11278ade0bfec4efd | [] | 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 | Exa5_10.sce | //Exa 5.10
clc;
clear;
close;
//Given data :
format('v',5);
A=1000;//gain(unitless)
Beta=1/20;//feedback ratio (unitless)
//Formula : Af=A/(1+A*Beta)
Af=A/(1+A*Beta);//gain with feedback(unitless)
Af=20*log10(Af);//in dB
disp(Af,"Gain with feedback in dB : "); |
500ac5d74917fe2ad217b8f2a18ecefbde1d93a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH8/EX8.4/8_4.sce | 6e79ee8b50499f2301fb8e084dd4f1c221b017e4 | [] | 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 | sce | 8_4.sce | clc
//initialisation of variables
m= 1 //lb
cp= 0.240 //btu/lb F
T2= 150 //F
T1= 50 //F
//CALCULATIONS
S= m*cp*(log(460+T2)-log(460+T1))
//RESULTS
printf ('Entropy change = %.4f Btu/Fabs',S)
//This result is same as the above since change in entropy does not depend on the process involved
// but only on the ... |
8121f6c025ce1678fec0d00f958e9fc9536d95e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH2/EX2.5/Ex2_5.sce | f87c876a50d59281392b5b566eb3313254fbab09 | [] | 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 | 680 | sce | Ex2_5.sce | // Example 2.5 :Thevenin's and Norton's Equivalent
clc;
close;
format('v',7)
clear;
// given :
vs1=10;//voltage in volts
R1=50;//resistance in ohms
R2=50;//resistance in ohms
R3=25;//resistance in ohms
disp("(a) Applying Thevenins Theorem ")
voc=(R1/(R1+R2))*vs1;//voltage in volts
req=((R1*R2)/(R1+R2))+R3;//resistance ... |
0c36fe8b3dfa9f91b33636b69692a8f540c406c6 | cc2d34f24c651a9d4b81fc3ebd32ef5a23c5ef13 | /SCILAB5/SCILAB3/exaplot2.sci | 04a3262bad0dd6e5d5e2a16a07c302af18d9eb4b | [] | no_license | b4ss3k/D_DSP | 85cfacf4e948109faa33cbc424390b44f53cc197 | aabcc12fe0305e29713de6c0538428dd9ef323d3 | refs/heads/master | 2020-04-06T04:46:40.053395 | 2015-08-05T01:24:16 | 2015-08-05T01:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sci | exaplot2.sci | plot2d1('enl',1,(1:10:10000)');
xtitle('plot2d1 log scale','t','y log scale');
// 3 = green 4 =blue
xgrid(3);
|
9b87d244595f39826c5cbfae3344a62438ea95de | 85fe3541d4988b676b5ab7c8ed719a26fe38e3c8 | /Examples/dependent2.sce | e6884e090012b10962e761dd4c56abf816821739 | [
"Unlicense"
] | permissive | UnknowableCoder/SimCampEl | c115105b2b5837b3a1eb012d1acb89015eade17f | 9bd83c6316e16a161d19393ad79a4e3bdcb30679 | refs/heads/main | 2023-03-13T23:07:25.000479 | 2021-03-12T13:38:35 | 2021-03-12T13:38:35 | 347,071,759 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 114 | sce | dependent2.sce | 1
0 0 0 0 0 1 0 0 0 1 1 1 The Lone Charger
-100 -100 -10 100 100 100
sin(z)
0
0
0
0
0
299792448 5 0
|
f28eeacbb1ca7f7aa0b882d77877047efd4ce15d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH21/EX21.7/example_21_7.sce | 2bec7fa7d25bc74b1e052e5c6a7ffccc882984e0 | [] | 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,485 | sce | example_21_7.sce | clear;
clc;
disp("--------------Example 21.7----------------")
// multicast IP address 230.43.14.7
multicast_IP_address=dec2bin(230,5)+dec2bin(43,7)+dec2bin(14,7)+dec2bin(7,7);
s=strsplit(multicast_IP_address,length(multicast_IP_address)-23);
b=strsplit(s(2),[9 16]);
starting_Ethernet_addr = "01:00:5E"; // 01:0... |
524319e8e26f510323429d55eb3578d5f923fc39 | c6bf685755436b2a7bf289ac90bec98340fe97fe | /APLICACAO_CIRCUITOS_ELETRICOS.sce | 06c3c16767a864cdf50105cec39332019b52f274 | [] | no_license | ivybin/PROGRAMAS-SCE | 82296ac10f4fb02d6e283f64e910666c6103063a | e61918ceae020bd33fcf223908f7decdec1c41b4 | refs/heads/master | 2023-07-23T12:55:08.711868 | 2021-09-02T17:22:23 | 2021-09-02T17:22:23 | 400,595,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | APLICACAO_CIRCUITOS_ELETRICOS.sce | clear;
clc;
RS=[10 12 14 30 40];
REQS=0;REQp1=0;
for i=1:1:5
REQS=REQS+RS(1,i);
REQp1=REQp1+(1/RS(1,i));
end
REQp=1/REQp1;
disp("A RESISTENCIA EQUIVALENTE EM SERIE DADA EM OHMS:",REQS);
disp("A RESISTENCIA EQUIVALENTE EM PARALELO DADA EM OHMS:",REQp);
|
decafc4b61296f331c8fb06bf5ab51bb2dac1d58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH1/EX1.4/Ex1_4.sce | 7ca5889cce1e2bcefba4b179402b6974007c6e1d | [] | 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 | 372 | sce | Ex1_4.sce | //Chapter 1, Example 1.4, Page 23
clc
clear
//Density of Hydrogen atom in water
p = 1 // density of water in g cm^-3
Na = 6.022*10^23 // molucules/mol
A = 18 // atomic weight of water in g/mol
N = (p*Na)/A
NH = 2*N
printf("The density of water = %e molecules/cm3",N);
printf("\n The density of hydrogen atoms = %e atoms/... |
17273ac60cdc99f0f0d4fc3ea4b982d9f8ac769a | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH5/EX5.9/Chap5_Ex9_R1.sce | 19f8cce7348b1a3cea30dc65be2542520b097cda | [] | 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 | 970 | sce | Chap5_Ex9_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-5,Example 9,Page 173
//Title: Change in entropy of water
//================================================================================================================
clear
clc
//INPUT
m=1;//amount of s... |
5bf6ed445e40ab1a0b392d8767817fa9237a6901 | dc628e7d8425aa0bb1460d2583f04c9969b4ec9c | /dlog-server/examples/shi/shi_pelda.tst | 48c1281ae3c3eecccadafc105c95e6a0ea00df18 | [] | no_license | logicmoo/DLog | bc2c43523ccbc3747c381f2eb0e25960cfc8d6e1 | 855774c38c1eea119405fde0057cfdb1032006f0 | refs/heads/master | 2021-05-28T14:03:35.596790 | 2015-01-12T22:49:56 | 2015-01-12T22:49:56 | 27,461,790 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | tst | shi_pelda.tst | %Generated from '../examples/shi/shi_pelda.dig'.
query(instances(aconcept('Gazdag')), [d, e, c]).
query(instances(aconcept('Boldog')), [d, e, a]).
implies(some(inv(arole(utodja)), aconcept('Gazdag')), aconcept('Gazdag')).
implies(some(arole(gyereke), aconcept('Gazdag')), aconcept('Boldog')).
subrole(arol... |
00ff0ded4a0cd7fda037334a8c880445b2f65207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH9/EX4.9.12/Ex4_9_12.sce | fbb7f59051bfe8e5a21745aa0b21738846599f01 | [] | 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 | 475 | sce | Ex4_9_12.sce | //Section-4,Example-1,Page no.-I.78
//To calculate the number of protons in a sample exposed to the given magnetic field.
clc;
T=20+273
k=1.38*10^-23
//dl_E=g1*muN*B_0
B_01=1
dl_E1=2.821*10^-26*B_01
//N=N_a/N_b(ratio of protons having a&b spins respectively)
N_1=((k*T)/((k*T)-(dl_E1)))
disp(N_1,'Ratio for 1.0 Tesla mag... |
6bcb657c35c28baf7dfe3c32d2af6dde9c606d7b | 71688ca1121015a31165525a6c1d9db9daa2cd56 | /READSCAL.TST | 85b4a838d08d77e32ffafdc7d90e59a79a94aebe | [] | no_license | pingleware/apac-accounting-code | d340edf13b1b4dd327218a25ad535e2ac3875474 | bee104c735e49b4c20fa86c299a993859e6ba884 | refs/heads/master | 2022-08-02T01:48:59.722370 | 2020-05-20T12:28:26 | 2020-05-20T12:28:26 | 265,557,663 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 37,252 | tst | READSCAL.TST | ******************************************************************
* *
* ****** ****** ***** ***** ***** ** ******* *
* ** ** ** ** ** ** ** ** ** ** ** ** *
* ** ** ** ** **... |
061959f8f5ec3582cfff1abcd082e306c2ec58fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH4/EX4.16/Ex4_16.sce | cbcb797ed7c723697174befb1afbf749216d6430 | [] | 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 | Ex4_16.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex4_16.sce.
clc;
clear;
q1=-2e-9;
q2=3e-9;
q3=2e-9;
q4=1e-9;
AB=1; //Given square side as 1 metre
BC=1;
epsilon_not=8.854e-12;
AP=sqrt(AB^2+BC^2)/2... |
5e7cd3344e52502a8fc77758bdc23ce56eae0880 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH9/EX9.4/example_4.sce | 4158067fb08087bbf6a0d7bbf6d5adadd7f2605c | [] | 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 | 136 | sce | example_4.sce | clc
clear
printf("example 9.4 page number 387\n\n")
printf("this is a theoretical question, book shall be referred for solution")
|
2da99f28622d610dda6f0374496cf46052037c76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH13/EX13.8/example13_8.sce | a05545e0beb8fa9cc8dc672927360d38f10c3916 | [] | 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 | 743 | sce | example13_8.sce | clc
// Given that
x1 = 1 // coordinate on x axis in first case
y1 = 2 // coordinate on y axis in first case
z1 = 3 // coordinate on z axis in first case
x2 = 1
y2 = 1
z2 = 0
// coordinate of first plane in second case
x3 = 1
y3= 1
z3 = 1
// coordinate of second plane in second case
// Sample Problem 8 on page no. 13.... |
5a308140cabc3c0d59c02c2217109fdaa4cea41a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH39/EX39.7/Example39_7.sce | 19310d3b97b16ea2b7fabc07cb4fb57ebfef7565 | [] | 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,134 | sce | Example39_7.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 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
// EXAMPLE : 1.7 :
// Page number 685-686
clear ; clc ; close ; // Clear the wo... |
df7797c0a9a186ce0beca89172641893f28cf301 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH6/EX6.7/6_7.sce | f6f9d3013554445ef74a50c1c11c57837e7d083d | [] | 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 | 556 | sce | 6_7.sce | clc;
nC=0.120;//kmol
nO=0.115;//kmol
nN=0.765;//kmol
m_C=44;//kg/kmol
m_O=32;//kg/kmol
m_N=28;//kg/kmol
miC=m_C*nC;//kg
miO=m_O*nO;//kg
miN=m_N*nN;//kg
m=miC+miO+miN;
cpC=1.271;//kJ/kgK
cpO=1.110;//kJ/kgK
cpN=1.196;//kJ/kgK
cp=cpC*(miC/m)+cpO*(miO/m)+cpN*(miN/m);
R_=8.3145;//kJ/kg K
R=(miC/m)*(R_/m_C)+(miO/m)*(R... |
d27a6658e6fcde7ec811810f7c5a184e7b10ab4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH6/EX6.2/ex2.sce | c411174ae0136ce91ee49db695bb44e5be5da5f2 | [] | 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 | 487 | sce | ex2.sce | clc
clear
//Input data
t1=30;//Normal temperature of black body in degree centigrade
t2=100;//Heated temperature of black body in degree centigrade
s=20.52*10^-8;//Stefan Boltzmann constant in kJ/hrK^4
A=1;//Assume area in m^2
//Calculations
T1=273+t1;//Black body temperatures in kelvin K
T2=273+t2;//Heated ... |
bd73f6fbef5768064f7bedf8d9536cdd8ff8f1f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH5/EX5.5/Ex5_5.sce | b0d240b9149c6ae0b8b459143db6c36f2751c41e | [] | 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,304 | sce | Ex5_5.sce | //CHAPTER 5 ILLUSRTATION 5 PAGE NO 163
//TITLE:Inertia Force Analysis in Machines
//Figure 5.3
clc
clear
pi=3.141
N=1800// speed of the petrol engine in rpm
r=.06// radius of crank in m
l=.240// length of connecting rod in m
D=.1// diameter of the piston in m
mR=1// ... |
242a87c25dc6f0bde0481f8d748292d368145065 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH4/EX4.11/Ex4_11.sce | 14ac4071b9403297cf344e15b1bf256d8e1e6cf0 | [] | 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 | 572 | sce | Ex4_11.sce |
//Example No.4.11.
//Page No.138.
clc;clear;
n = 1;//For the lowest energy value n=1.
h = 6.626*10^(-34);//Planck's constant.
L = 1*10^(-10);//Width of the potential well -[m].
m = 9.1*10^(-31);//Mass of the electron.
E = ((n^(2)*h^(2))/(8*m*L^(2)));
E = ((h^(2))/(8*m*L^(2)));// For the lowest energy value n=... |
3bd94b8f1363555aaf505fbfb0c474883336a772 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH21/EX14.21.9/Ex14_21_9.sce | 98c865954c5201bde7759a5b16cc4cfe500de9d8 | [] | 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 | 213 | sce | Ex14_21_9.sce | //Section-14,Example-5,Page no.-PC.17
//To calculate the temperature at which v_rms(He)=v_rms(H2).
clc;
//v_rms=sqrt((3*K*T)/m)
//K=1(let)
K=1
T_He=(3*K*200*4)/(3*K*2)
disp(T_He,'Required temperature(K)')
|
511cbc4140782b25b6594da70e61841427c4fa26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH1/EX1.8/Ex1_8.sce | 3db76f95e86829103a25ae9e44ae8d78f9211cd5 | [] | 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 | 320 | sce | Ex1_8.sce | //Example 1.8
clc();
clear;
//To calculate the distance from the edge of wedge
alpha=0.01 //units in radians
n=10
lamda=6000 //units in armstrongs
lamda=lamda*10^-10 //units in mts
x=((2*n-1)*lamda)/(4*alpha) //units in mts
printf("Distance from the edge of the wedge is %.6fmts",x)
|
e37d8f6d9a0dc07e9103471491787d95a9fbe961 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH12/EX12.2/2.sce | 65b74a65b5a16699426bd4d533ab7c275bd0efb7 | [] | 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 | 285 | sce | 2.sce | clc
clear
//INPUT DATA
Tc=9.15//critical temperature of Nb in K
t=6//temperature of critical field in K
Ho=0.196//The critical field AT 0K in T
//CALCULATION
Hc=(Ho*(1-(t/Tc)^2))//The critical field at 6K in T
//OUTPUT
printf('The critical field at %iK is %3.4f T',t,Hc)
|
ac4f824fc84595a00caa18494f89e9c70d628bc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH7/EX7.4/Ex7_4.sce | 4ea4e7389f62260e29b90b9fa0ea0627ce8445d2 | [] | 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 | 379 | sce | Ex7_4.sce | clc;
cj=2700; // The effective jet velocity from jet engine in m/s
ci=1350; // Flight velocity in m/s
ma=78.6; // Air flow rate in m/s
a=ci/cj;
F=ma*(cj-ci); // Thrust
P=F*ci; // Thrust power
eff_P=2*a/(a+1); // Propulsive efficiency
disp ("N",F,"(i).Thrust = ");
disp ("MN",P/10^6,"(ii). Thrust power = ");... |
ffd33ceb5ca68d3733736495a845f85ff4c2a486 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Mawarikomi.sci | 11b02c6325714c8d78d757841561f83b0b3ec292 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sci | Mawarikomi.sci | function Mawarikomi(varargin)
FL='default';
haba='10cm';
Nargs=length(varargin);
if Nargs>0
haba=varargin(1);
if Nargs>=2
FL=varargin(2);
if FL==''
FL='tmp.tex'
end
end
end
StrM=[
'\begin{mawarikomi}%',...
'%<1>[5](0,0)%',...
'{'+haba+'}{%',...
... |
f5f36fbfb1f5a9ffe7827a6f75fbfe6b175eb2f5 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /WCP #4.sce | cda5d05c4d985d074d3f443f48eeffc22eb18005 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 45,171 | sce | WCP #4.sce | Name=WCP #4
PlayerCharacters=pistol Launchman
BotCharacters=crocbot.bot
IsChallenge=true
Timelimit=150.0
PlayerProfile=pistol Launchman
AddedBots=crocbot.bot;crocbot.bot;crocbot.bot;crocbot.bot;crocbot.bot;crocbot.bot;crocbot.bot;crocbot.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0;0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2;2;2... |
1f21f4c7b3d3de148f90299870c28f5a19412ee2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH4/EX4.7/Exa4_7.sce | 0edb0a0f44f2dfc974159b8357c28e5ea79db654 | [] | 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 | Exa4_7.sce | //Exa 4.7
clc;
clear;
close;
//Given data :
P=12000;//in Rs
A1=10000;//in Rs
G=1000;//in Rs
i=18;//in % per annum
n=10;//in years
//Formula : (P/A,i,n)=(((1+i/100)^n)-1)/((i/100)*(1+i/100)^n)
//Formula : (A/G,i,n) :(((1+i/100)^n)-i*n/100-1)/(((i/100)*(1+i/100)^n)-i/100)
PW=-P+(A1+G*(((1+i/100)^n)-i*n/100-1... |
47de557a20476bc344a58f95ca57342ea8a4c11f | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/complex.tst | ce602487237f9358c14d2885a38a46deadacbc20 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,151 | tst | complex.tst | ## Copyright (C) 2016-2017 Rik Wehbring
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later versi... |
95d3ae0c248ca813a26134c0009d841a25969d66 | 7d5f639d96c00f6068c51c15df7b40cf8e959f09 | /code/ressources_q11aq14.sci | 9c53c78381c41cd4597bb7516ec4d5095b53a372 | [] | no_license | XAMEUS/MN | daf13aac1f92cf5137e55189e8d23bb42fe1a747 | 36e3f0e34c07641cdee4b401a98478822e0dee46 | refs/heads/master | 2021-03-24T11:50:44.826039 | 2017-05-02T19:54:26 | 2017-05-02T19:54:26 | 86,677,617 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,735 | sci | ressources_q11aq14.sci | a = 0.8
l = 10
T = 60
n = 2000
delta_x = 2*l / (n + 1)
n_t = 3000
delta_t = T / n_t
t_inter = 2 * T / 3
t_fin = T
mu = delta_t * (n+1)**2 / (2 * l)**2
F_cible = [-0.1, -0.18]
function c=C(x, x_d)
c = 1 - a * exp(-(x - x_d)**2 / 4)
endfunction
function c=Ci(i, x_d)
c = C(i * delta_x - l, x_d)
endfunction
functi... |
b9c4d3fbea4954b207764326d549a17d917f038f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH5/EX5.2/ex_5_2.sce | 8eceeb2dff371da09c9d8c579ca37b290a39b2d0 | [] | 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 | 436 | sce | ex_5_2.sce | clc;
clear;
//x(t)=2sin(4000*pi*t)+3sin(5000*pi*t)+4sin(8000*pi*t)
fh=8000/2;
fl=4000/2;
disp(fh,"a) Highest Frequency component(in Hz)");
disp(fl,"Lowest Frequency component(in Hz)");
fs=2*fh;
disp(fs," Minimum Sampling frequency(in Hz)");
Bw=fh-fl;
disp(Bw," b)Bandwidth(in Hz) is");
n=fh/Bw;
d... |
f1ec86d16f5d1280d1133502706eb121f2c7f303 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH24/EX24.22/24Ex22.sce | 99b91e155c8c2cfb7fcd006dfaf74d454ea433b1 | [] | 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 | 206 | sce | 24Ex22.sce | //chapter 24 Ex 22
clc;
clear;
close;
side=20; diagonal1=24;
x=sqrt(side^2-(diagonal1/2)^2);
diagonal2=2*x;
area=(1/2)*(diagonal1*diagonal2);
mprintf("The area of rhombus is %d square cm",area);
|
523d55f16b09e5120fa32a9fd5a5edea9bfe8915 | 7ca4d14804b833145ecf38070ff4e4b399cf4bfb | /tst/presentation_time.sce | 195d1239cf96fc8dc2f6e40046b9ca16c8bb60d2 | [] | no_license | gsz050769/jsqsce | 6154e5d9fcd5b7884df7463963b982d26ba57942 | eb6881fa08ec6f8eea3355d689f3be91afd7bbfe | refs/heads/master | 2023-08-21T06:30:18.493109 | 2021-10-21T13:23:27 | 2021-10-21T13:23:27 | 343,663,868 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,491 | sce | presentation_time.sce | // Commands, syntax:
// STATUS: = get status message
// S_MSG: = setMsg <sip_id>|<a_msg_id>|<prio>|<ttl>|text|
// S_MSG_FILE: = setMsg <sip_id>|<a_msg_id>|<file>| setMsg from <file>
// D_MSG: = delMsg <sip_id>|<a_msg_id>
// POS_BLE: = ble position req <sip_id>
// POS_BLE: = dect position req <sip_i... |
8fd6ffd86fe149604649b20bce48e15baee47c77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH3/EX3.6/3_6.sce | a004c28773ca33d12b30019f0478fac753467734 | [] | 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 | 137 | sce | 3_6.sce | clc
//initialisation of variables
V= 12 //km/L
//CALCULATIONS
MPG= V*3.7854/1.609
//RESULTS
printf ('car mileage = %.2f MPG',MPG)
|
e53d8c11c7a1f40644fb425200f2c17de9234113 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.42/3_42.sce | 8c23b241df65449722c44a1601a5b50eacc68c1a | [] | 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 | 3_42.sce | //Network Theorem 1
//page no-3.48
//example3.42
//calculation of Vth
disp("Removing the variable resistor RL from the network:");
disp("I1=50");....//equation 1
disp("Applying KVL to mesh 2:");
disp("5*I1-10*I2=0");....//equation 2
A=[1 0;5 -10];
B=[50 0]'
X=inv(A)*B;
disp(X);
disp("I2 = 25 A");
disp("Wr... |
88a73d5a10ab6d8ea22be70764bde06e3e53ee1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH4/EX4.2/Ex4_2.sce | 23f49ad648b3ebd9285acd8dd173d8ec42dd2443 | [] | 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 | 517 | sce | Ex4_2.sce | //Initilization of variables
F=[20;-10;30] //N
//co-ordinates in meters
a=2 //m
b=4 //m
c=7 //m
d=3 //m
e=2 //m
f=4 //m
//Calculations
R=F(1,1)+F(2,1)+F(3,1) //N
M_o=F(1,1)*a+F(2,1)*b+F(3,1)*c //N-m
x=M_o/R //m
M_x=-F(3,1)*e-F(1,1)*d+F(2,1)*f //N-m
z=-M_x/R //m
//Result
clc
printf('The resultant is %f ... |
40a424ce9cafea66ec3e82ccdedc94456237af31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.3.b/solution4_3.sce | 5f3fd332a555cf67bebd971252136f57dc12bef8 | [] | 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,077 | sce | solution4_3.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution4_3.sce')
//Obtain path of data file
datapath = path + filesep() + 'data4_3.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate permissible stresses for cotter (N/mm2)
//Tensile stress sigma
sigma = Syt/fs
//Yield str... |
3c61f51d0b4ab62be02848a078a42896b0d02355 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH7/EX7.8/Ex7_8.sce | 0b4076b979e1317a4d788ece969b70f4784863de | [] | 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 | 262 | sce | Ex7_8.sce | clc;
Vcc=20; //volt
R2=1000; //ohm
R1=6800; //ohm
Vb=(R2/(R1+R2))*Vcc; //volt//voltage divider rule
Ve=Vb-0.7; //volt
Re=1000; //ohm
Ie=Ve/Re; //Ampere
Hfe=50;
Ib=Ie/(Hfe+1); //Ampere
disp('Amperes',Ib,"Ib=");//The answers vary due to round off error
|
7bcef199119bca766ac1f1a7945faf15d6e3d963 | 389bd4af3bf5a0f54f51e8aafea5035f568ba445 | /moduloyurt.sce | 52361a9039e3950769082638bba96110dc0a3ff5 | [] | no_license | esraatlici/Bilgisayar-Destekli-Matematik | d47f057d9cb7ee987e367c67f8923cfcf02342d8 | dae1079f60fc7e0d3b54802b4cbed9182b52fcd7 | refs/heads/main | 2022-12-25T11:14:25.575530 | 2020-10-05T15:09:58 | 2020-10-05T15:09:58 | 301,447,895 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | moduloyurt.sce | function out=moduloluyurt(x,m)
l=length(x);
n=1;
for i=1:1:l
if modulo(x(i),e)==0
v(n)=x(i);
n=n+1;
end
end
out=v;
endfunction |
ec6f7b9e727ad8e83c31ebb12587779ef954f23a | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.24/5_24.sce | 8fc32bffb6610f133f481643c5e4427bf3771adc | [] | 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 | 592 | sce | 5_24.sce | T1=300;//initial temperature in kelvin//
T2=600;//final temperature in kelvin//
T3=373;//initial temperature in kelvin//
T4=746;//final temperature in kelvin//
Cv=6.09;//molar heat capacity in cal per deg//
dS2=Cv*2.303*log10(T2/T1);//change in entropy for temperature change between 300k to 600k//
printf('Change ... |
ead9dec331b1fec60c2a9a6704a1b6f36e41bc6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.19/Ex5_19.sce | d305c9b7cacf375b81c6791369f5dc1e943a4748 | [] | 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 | Ex5_19.sce | // Scilab Code Ex5.19: Page-294 (2008)
clc; clear;
h = 6.62e-034; // Planck's constant, Js
e = 1.602e-019; // Energy equivalent of 1 eV, J
m = 1.67e-027; // Rest mass of a proton, kg
r = 5e-015; // Radius of the nucleus, m
delta_x = 2*r; // Minimum uncertainty in position of the proton, m
delta_p ... |
51df74ccd0138890afa492b825edb675e4f2c6f2 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/math/graph/data/main.sce | 00497ebc3c92177ec8a974cf37a47d7d1d4856d0 | [] | 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 | UTF-8 | Scilab | false | false | 269 | sce | main.sce | clear(); // effacer les variables
M=fscanfMat('data.txt'); // lire les donnees
x=M(:,1); // recuperation de la 1ere colonne : x
y=M(:,2); // recuperation de la 2ieme colonne : y
[a,b,sig]=reglin(x',y') // regression lineaire
ylin=a*x+b
plot(x,[y ylin]) // trace
|
703d00d613fbbe558732e9ab6149dffca45854e0 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_Mat/ceil.sce | a03db01e6d632e57ac2eea78268e76fc7a08e6cf | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sce | ceil.sce | // Calculating the ceil.
y = [1.2, 1, 1.9; 4, 2.6, 5; 2.3, 8, 7];
ceilres = armaMat("ceil",y)
|
0beeffe5808e84936ce08a63f6ca095e148977c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH4/EX4.3/ex4_3.sce | 35106883a626ac6b167eca508356da1cca0720d7 | [] | 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 | 475 | sce | ex4_3.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
w=20//lbf
p=12//ft/s
v1=15//ft/s
g=32.2//ft
v2=10//ft/s
d1=6//in
d2=9//in
a=10.82//in
//CALCULATIONS
Um=(v2*p)/sqrt(a^2-d2^2)//sec^-1
P=2*%pi/Um//sec
V=w*a//in/s
M=w^2*a/p//ft/s
F=(w/g)*M//lbf
//RESULTS... |
fc2b147f338e404b5eedddec5702e8956484618e | 05db16b4f57b0182fa452e2c11554c3de6fff271 | /branches/vac4.52mkg_24_06_2010/scilab/str2arr.sci | f667a8009d7e7e829c6057f3a6414d73fdf782bc | [] | no_license | SpungMan/smaug-all | 09b4fcf6fcec2fc7be1fa85c5c7f2d68c79e504b | 01df12e98c734529ff984662badc26eaa3a9138b | refs/heads/master | 2021-11-29T14:09:47.094457 | 2018-06-08T09:48:05 | 2018-06-08T09:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,414 | sci | str2arr.sci | function [arr,n] = str2arr(str,nn)
//function [arr,n] = str2arr(str)
// Ouput variables initialisation (not found in input variables)
arr=[];
n=[];
// Number of arguments in function call
[%nargout,%nargin] = argn(0)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// Form a string... |
4d56c8bc2a338e5f68eb800f47f72d559930b235 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.11/Chapter3_example11.sce | 4b1557a68e28b58fa20e01584ad5e4a2de461f8e | [] | 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 | Chapter3_example11.sce | clc
clear
d=0.25//Diameter of the cylinder in m
L=0.35//Stroke in m
Cv=1500//Clearance volume in c.c
s=5//cut off ratio takes place at 5 percent of stroke
a=1.4//Explosion ratio
g=1.4//Ratio of specific heats for air
//Calculations
Vs=(3.14/4)*d^2*L//Stroke volume in m^3
r=(Vs*10^6+Cv)/Cv//Compression ratio... |
26d47aec21bce8deacf18ee0c0f5b0e8d80e60e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/763.sci | a1dc497a42f8c1d8bda8491e37b16ebacb3799e7 | [] | 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 | 65 | sci | 763.sci | m3=1150 //Kg/h
H3=2676 //KJ/Kg
H2=3074 //KJ/Kg
H1=3278 //KJ/Kg |
3ab19ec52f92f1c0186cc9aa8f69dcaea2e0e932 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH9/EX9.30/ex9_30.sce | 6930bbe0e42c1a7b331f21f07fad23fef6c402eb | [] | 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 | 620 | sce | ex9_30.sce | // Exa 9.30
clc;
clear;
close;
// Given data
I_DD= 20;// in mA
R2 = 10;// in k ohm
R1 = 30;// in k ohm
R_S= 1.2;// in k ohm
R_D= 500*10^-3;// in k ohm
V_DD = 12;// in V
Vp= -6;// in V
V_G = (R2/(R2+R1))*V_DD;// in V
I_D= poly(0,'I_D')
V_GS= V_G-I_D*R_S;// in V
I_D=I_D-I_DD*(1-V_GS/Vp)^2;
I_D= roots(I_D)... |
dc4f471ec6b0d06de219abfd7ad7469a4c249049 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/examples/addinter-examples/ex6f.sce | 9f4a3b4406635b8e6d8844a3552d537bc07b69f4 | [
"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 | 333 | sce | ex6f.sce | // Copyright INRIA
scifuncs=['modstr','stacc']; //Scilab functions
files=G_make(['/tmp/ex6fi.o','/tmp/ex6f.o'],'ex6f.dll');
addinter(strcat(files,' '),'intex6f',scifuncs);
//a's to o's
x=modstr('gaad');
if x<>'good' then pause,end
//variable read in Scilab stack
param=1:10;
z=stacc();
if norm(z-param) > %eps then ... |
7e7c9561f8087e57f29a53e619cdd61369f7f4a2 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/demos/Decision Tree_Demo1.sce | 0ced171a5c466266781f79aa5fd4d80d2ab446bf | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Decision Tree_Demo1.sce | // Demo for decision tree -- Scilab
getd('../macros')
// Data preparation
M = csvRead('Datasets/forestfires.csv')
x = M(:,[5,6,7,8,9]);
y = M(:, 13);
y(or(isnan(x),'c'),:) = []
x(or(isnan(x),'c'),:) = []
n = length(y(:, 1))
for i = 1:n
if(y(i)>0)
y(i) = 1
end
end
[questions,flag] = decisionTreeFit(x, y);
pred... |
8235997afb39da7d523caaf8d40c3ac80349885c | b39dfe4655bc09a15e7cf35b887e89ef12f4c8e5 | /Atividade 3/PME3402_Grupo13_Atividade3.sce | 808eb5f4701b144e05bc883cefe025b9de218023 | [] | no_license | vitoramr/PME3402-Laboratorio-de-Medicao-e-Controle-Discreto | 6a57131edff44859fb5c2c1c5b0dea0cc37735da | 8228b3ae442a3bb64208c924afc0daf418abe3c2 | refs/heads/master | 2023-01-09T23:08:48.007029 | 2020-11-19T22:43:27 | 2020-11-19T22:43:27 | 288,795,340 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 35,879 | sce | PME3402_Grupo13_Atividade3.sce | /*
==============================================================
Escola Politécnica da USP
PME3402 - Laboratório de Medição e Controle Discreto
--------------------------------------------------------------
ATIVIDADE 3
------------------------------------------------------------... |
aea59c544f608986477058027a86998bd11d5bbf | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/__SUBJECT_TEST_CONT/ATWM1_Working_Memory_MEG___SUBJECT_TEST_CONT_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | d50e05626db060ae7d31e6b6a5892a0c6ab7da49 | [] | 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 | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_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_monito... |
444240cee86f4cbc22290871565c243f80f28d2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH7/EX7.1/Ex7_1.sce | ac89e4d55633fed08f119f42f79b1ac385e660b8 | [] | 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,035 | sce | Ex7_1.sce | // given data
clear
clc
rho=1.226 // air density in kG/m^3
alpha =0.14
H=10.0 // height at which wind speed is given in m
uH=12.0 // speed in m/s
z=100.0 // tower height in m
D=80.0 // diameter in m
effigen=0.85 // efficiency og generator
A=%pi*(D**2)/4 // area in m^3
u0=uH*(z/H)**alpha // velocity at 10... |
53136b97b7c53cbacc74e2037623372ec370e6fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH7/EX7.3/7_3.sce | 9b02c27ab0a7b1baf44f4ed571edf644ca98a66f | [] | 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 | 220 | sce | 7_3.sce | clc
//Intitalisation of variables
clear
T= 18 //C
n1= 7.5
n2= 3
n3= 6
R= 2*10^-3 //kcal
dH= -783.4 //kcal
//CALCULATIONS
dE= dH+R*(273+T)*(n2+n3-n1)
//RESULTS
printf ('Heat of the reaction = %.1f kcal',dE)
|
5eba4401162f184cadf8ad4511a158c9ec84abf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH12/EX12.4/12_4.sce | 9bc5970f72bce06fc2d5a6b1a8753ad19b2fb01a | [] | 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 | 3,547 | sce | 12_4.sce | clear;
clc;
//Example - 12.4
//Page number - 424
printf("Example - 12.4 and Page number - 424\n\n");
//Given
//component 1 = formic acid
//component 2 = water
T = 20 + 273.15;//[K] - Temperature
Mol_form = 46.027;//Molecular weight of formic acid
Mol_water = 18.015;// Molecular weight of water
Wt_perc=... |
28bd6a881a0ae7b148a78a8a3e4b957ecafd46f8 | 7c129ce7f747d44e6c7cedea4c007088e87aa90c | /Programs/Overlap_Save.sce | 11f18fe5336e596296c9f607f0f7e8f8f8c8c1c1 | [] | no_license | KilariSandhya/Digital-Signal-Processing | 08d97a6d46ff46c533c7a2114c19883980c85e38 | bad9dab8f5e02a8f1638ce20351e9eba1a0a11d0 | refs/heads/master | 2022-11-18T03:23:47.628061 | 2020-07-20T07:46:02 | 2020-07-20T08:00:23 | 281,047,630 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,187 | sce | Overlap_Save.sce | clc;close;clear;
[x,Fs,bits]=wavread("machali.wav");
Fs=8000;
bits=16
fm=3000 //freq of noise signal given
t=0.0001:1/Fs:length(x)*1/Fs;
xn=sin(2*%pi*fm*t);
y=x+xn;
h=[1 -2*cos(2*%pi*(3000/Fs)) 1]; //impulse response of filter
//overlap and save method
//getting values of x1,x2,x3.....
i=1; j=1;
r(1,1)=0;
r(1,2)=0;
j... |
4f27a721beb405cf5a1ab71f923855a52e2ee603 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH8/EX8.2.c/8_2_c.sce | 4d888d65d983cfda8e311e60c829bd8145042404 | [] | 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 | 266 | sce | 8_2_c.sce | //Example 8_2<c>
//determine the nyquist rate of x(t)=sinc(200*pi*t)+sinc2(200*pi*t)
//here,sinc(400t)=0.5cos(400t)/400t+
clc;
clear all;
wq=400;
wp=200;
wf=0;
if wp>=wq then
wf=wp;
else
wf=wq;
end
F1=wf/2;
Fs=2*F1;
disp('Nyquist Rate=');
disp(Fs);
|
44996b7b614b85cbff930db80c16537f6a2e8dab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH8/EX8.26/Ex8_26.sce | 56ebcca9448bc7252afb0e9825e1c7bf2ef083d4 | [] | 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 | 648 | sce | Ex8_26.sce | clear
//variable declaration
Ea=70*1000 //Young's modulus of aluminium,N/mm^2
Es=200*1000 //Young's modulus of steel,N/mm^2
alphaa=(0.000011) //expansion coefficient,/°C
alphas=(0.000012) //expansion coefficient,/°C
Aa=600 //Area of aluminium portion,mm^2
As=400 ... |
00df69fd1c41f395df246713b424db2205b60f80 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/xfpoly.man.tst | fb5366ce701bad5118ace0a30052ce907cef57ce | [
"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 | 143 | tst | xfpoly.man.tst | clear;lines(0);
x=sin(2*%pi*(0:5)/5);
y=cos(2*%pi*(0:5)/5);
plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
xset("pattern",5)
xfpoly(x,y)
xset("default")
|
6a8929029d7883ea557793ddf2980f9041edeb1e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_T._L._Floyd_61.zip/Electronic_Devices_T._L._Floyd_61/CH4/EX4.3/ex4_3.sce | 60823111dedaef884ca7793bf337761d398e9fdc | [] | 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 | 67 | sce | ex4_3.sce | errcatch(-1,"stop");mode(2);//ex4.3
disp('cant be shown')
exit();
|
9be34f14ff6959034666f0e3a17986af7f649344 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Concise_Physics_H._Matyaka_1991.zip/Concise_Physics_H._Matyaka_1991/CH2/EX2.16/16.sce | fddd1faafc2cdbefe6f31a4390020fa8c8fefb5f | [] | 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 | 270 | sce | 16.sce | errcatch(-1,"stop");mode(2);
//input
m=140//mass
v=8//speed
r=5//radius
g=9.8//acceleration due to gravity
//calculation
t=((m*v^2/5)^2)+(140*9.8)^2 //applying parallelogram of vectors
t1=sqrt(t)
//output
printf("the tension in arm is %3.3f N",t1)
exit();
|
b12e620524810f54f3d58fe68a3357e68505c8d3 | ed2dc0ce80bf86680d743173c334ed2eb63ff60a | /testa.sci | d79a7befbffd8f7e04937577b93dacc960e66759 | [] | no_license | edilsonmassuete/EC017 | 722cbfc2d7fed4ca424e2be1a3d8d35714907fb5 | 48bdfc34650db17ecb937d697e3327fd2ba1a7ca | refs/heads/master | 2021-01-10T12:28:59.420600 | 2015-11-21T12:15:36 | 2015-11-21T12:15:36 | 46,496,054 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,738 | sci | testa.sci | function y=testa(W)
//carrega o treinamento.
load ('ANN_treina.sod', 'W', 'NeuralNetwork');
//entrada dos valores de teste
x=[
0 0 1 0 0 1 1 1 1 0 0 1 0 0 0 1 0 1 1 0 0 ;
0 0 1 0 0 1 1 1 1 0 0 1 0 0 0 1 0 0 1 0 0 ;
0 0 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 0 1 1 ;
1 0 1 1 0 1 1 0 1 1 0 0 1 0 0 1 0 1 0 0 1 ;
1 0 0 ... |
00e3db23643b7cd5644e743ab1a134f69ee7b588 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RV10.prev.tst | d98bc0da76b283c4d5c0a457182b906c2cbc454a | [
"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 | 50 | tst | RV10.prev.tst | [1/2,2/3,-1/5] * -1/2 3 = [0,0,0,-1/4,-1/3,1/10]
|
0b4599e919ce36249ba67b7e66c1a278a827f424 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/BorderHiddenData.sci | dac1256130b8e63ceee4649b8e84fb4a89e7fe53 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sci | BorderHiddenData.sci | // 08.09.13
function Out=BorderHiddenData()
global BORDERHIDDENDATA
Out=BORDERHIDDENDATA;
endfunction;
|
e1377883e353705c28e93ae43d0df2c6cb542144 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/fscanfMat.man.tst | 5bf25bc2b3614341ad9f1933a7a7f4bb1efe35f9 | [
"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 | 248 | tst | fscanfMat.man.tst | clear;lines(0);
fd=mopen(TMPDIR+'/Mat','w');
mfprintf(fd,'Some text.....\n');
mfprintf(fd,'Some text again\n');
a=rand(6,6);
for i=1:6 ,
for j=1:6, mfprintf(fd,'%5.2f ',a(i,j));end;
mfprintf(fd,'\n');
end
mclose(fd);
a1=fscanfMat(TMPDIR+'/Mat')
|
439fd730b43f68348d9dffee6c487ad119b0ce31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH12/EX12.8/Ex12_8.sce | 33f45c33870da8d370fb6145a676db0fc50a80eb | [] | 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 | 733 | sce | Ex12_8.sce | clear all; clc;
disp("We have h4=104 Btu/lbm,h2=h1=53 Btu/lbm,p4=p1=20psia,s4=s-s3=0.226Btu/lbm-R and Hs3=122 Btu/lbm")
h4=104
hs3=122
Eta_c=0.75
h_3dash=h4+(hs3-h4)/Eta_c
printf("h_3dash=%0.0f Btu/lbm",h_3dash)
w_i=h_3dash-h4
printf("\n The compressor work required per unit mass is w_i =%0.0f Btu/lbm",w_i)... |
8c467bc0fb261cce4e6ad1a2bf231ee689be157d | 19fd40cb94855327f6f4db1330b2ccec188b13cb | /Codigos_Scilab/MQF1.sce | 02df186ed11154ab9259a7969f5a3ee95709a0b2 | [] | no_license | Afcam/Materiais-Eletricos-Magneticos | 6e22194419f2704f5e49c4dc9f5b282ccabafc11 | 0fb3c8847a7c5a8ee9d46d7be1280eceefe08c79 | refs/heads/master | 2023-07-24T21:50:12.675217 | 2018-05-11T13:27:25 | 2018-05-11T13:27:25 | 126,596,938 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | MQF1.sce | //Exemplo: Ajuste de Modelo por Mínimos Quadrados
//Caso com 2 Funções-base Ortogonais
//%Programa:MQF1.sce
clear;
N = 9;
xp = [-4,-3,-2,-1,0,1,2,3,4];
fp = 4*(xp.^2) + 20*xp;
plot(xp,fp,'or');
//Funções Base Ortogonais
g1 = xp.^2;
g2 = xp;
a1 = sum(fp.*g1)/sum(g1.*g1);
a2 = sum(fp.*g2)/sum(g2.*g2);
M = 100;
xc = ... |
f4a1700cd0337e9f24097f2455a951288eec938a | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.2.7/Ch03Exa3_2_7.sci | 0f5629b21ad20e984413f1b776b90321a34b84f3 | [] | 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 | 735 | sci | Ch03Exa3_2_7.sci | // Scilab code Exa3.2.7 : To calculate the mass of Ra-226 :Page no. 127 (2011)
t_h = 1620*31536000; // Half life of Ra-226, S
D = 0.6931/t_h; // Decay constant, S^-1
A_Ci = 3.7e+010; // Activity, Ci
N_Ci = A_Ci/D; // Number of atoms decayed
m = 0.226; // Mass of 6.023e+023 atoms, kg
M_Ci = m*N_Ci/6.023e+023; // ... |
a143b27f21e048397101c1b58f56fadf4a8389e7 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/lsf2poly/lsf2poly4.sce | 31ac70d08ccfda9e1dd54ad1a305accb172e3265 | [] | 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 | 279 | sce | lsf2poly4.sce | //check o/p when the i/p is a char matrix
x=['a' 'b' 'c'];
a=lsf2poly(x);
//output
// !--error 10000
//Input arguments must be double.
//at line 21 of function lsf2poly called by :
//a=lsf2poly(x);
//at line 3 of exec file called by :
//poly/lsf2poly4.sce', -1
|
e5a53a40bf76ccc73db43bba52c8126c241592a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH6/EX6.1/Example6_1.sce | cee8c895d5cb66d7d3afb9ee8692a44b3360153c | [] | 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 | 360 | sce | Example6_1.sce | //clear//
//Caption:Cut-off wavelength of photodiode
//Example6.1
//page224
clear;
clc;
close;
h = 6.625*(10^-34); //planks constant
C = 3*(10^8); //free space velocity
Eg = 1.43*1.6*(10^-19);//joules
LambdaC = h*C/Eg;
disp(LambdaC,'Cut-off Wavelength of photodiode in meters =')
//Result
//Cut-off Waveleng... |
ae9a3dcca2226da6afff360596b49867f6e449d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH5/EX5.18/5_18.sce | 900f0159c5b826a95919bfbc41a248b06b5c0aef | [] | 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 | 304 | sce | 5_18.sce | clc
//initialisation of variables
A= 10000 //ft^2
H1= 50 //ft
H2= 40 //ft
l= 1500 //ft
d= 6 //in
f= 0.0075
g= 32.2 //f/sec^2
//CALCULATIONS
t= 2*A*sqrt((1.5+(4*f*l/(d/12)))/(2*g))*(sqrt(H1)-sqrt(H2))/(%pi*(d/12)^2/4)
//RESULTS
printf ('Time taken to lower the level of water = %.f sec ',t)
|
cd67b97e9baf3b343f6ce559d01476a9c81d9149 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH11/EX11.3/11_3.sce | 1ceb073884aeae4214062c6bdb031bea2c0ac34e | [] | 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 | 473 | sce | 11_3.sce |
clc
//Initialization of variables
s=2.7
gamw=9810 //N/m^3
mu=0.001 //Ns/m^2
d=0.15*10^-3 //m
rho=1000 //kg/m^3
//calculations
gams=s*gamw
U= d^2 *(gams-gamw)/(18*mu)
RN= U*d*rho/mu
Cd = (1+ 3/16 *RN)^0.5 *(24/RN)
U22 = 4/3 *d*(gams-gamw) /(Cd*rho)
U2=sqrt(U22)
//results
printf("Settling velocity of san... |
a535aeb1a2f4e407ee43e5e2296cdd782f33782d | c3f24602becaed0467632bef7e37a04f6c6694d6 | /presentation/sce/msit-simple.sce | 9628337da07ade0994856da580d161be5f8b261b | [] | no_license | jmcarp/msit-rxn | 31cd29e02226127d44707bd4390c3202ae299d9c | 642a80cd4ae11e3ea785e3e65b545ccc7a5311ea | refs/heads/master | 2021-01-01T20:48:05.201281 | 2013-03-07T00:22:04 | 2013-03-07T00:22:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,137 | sce | msit-simple.sce | # Response parameters
active_buttons = 1;
button_codes = 1;
response_matching = simple_matching;
# Trigger parameters
write_codes = true;
pulse_width = 1;
###########
### SDL ###
###########
begin;
polygon_graphic {
sides = 100;
radius = 5;
line_color = 255, 0, 0;
fill_color = 255, 0, 0;
} fixpoly;
picture {
... |
392eb5f8f29f10f84584a4f909e04259fbaf3e5b | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH11/EX11.18/Ch11Ex18.sce | d56dbc64eccaf62a6f4dc200afc08b3ce2629550 | [] | 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 | 782 | sce | Ch11Ex18.sce | // Scilab code Ex11.18: Pg.525 (2008)
clc; clear;
V = 2.00e-03*%pi/4; // Volume of the sample, cm^3
M_Zr = 91.22; // Molecular weight if Zr, g/mol
rho_Zr = 6.506; // Density of Zr, g/cm^3
N_A = 6.02e+23; // Avagrado's number
N_Zr = N_A*V*rho_Zr/M_Zr*0.1127; // No. of atoms of Zr
sigma = 900e-003*1... |
ec5f836aa1cee3d9cc37b50f276db82b6c2e02cf | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/sci2for/%log2for.sci | 972fdae741fbd121c26b61328e06bdb84cea803f | [
"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 | 603 | sci | %log2for.sci | function [stk,nwrk,txt,top]=%log2for(nwrk)
// Copyright INRIA
txt=[]
iop=evstr(op(2))
s2=stk(top);s1=stk(top-1);top=top-1
if s1(4)=='1'&s1(5)=='1'&s2(4)=='1'&s2(5)=='1' then
if s2(2)=='2' then s2(1)='('+s2(1)+')',end
if s1(2)=='2' then s1(1)='('+s1(1)+')',end
stk=list(s1(1)+ops(iop,1)+s2(1),'1','0','1','1')
else
... |
939a478305f52d548c667ccc43b8e7cea00f2575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.22/ex1_22.sce | 98142dad9acfb641502038fa8afb6a37e7d14b3a | [] | 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 | 367 | sce | ex1_22.sce | // Exa 1.22
clc;
clear;
close;
// Given data
V_S = 10;// in V
R1 = 1.5*10^3;// in ohm
R2 = 1.8*10^3;// in ohm
I_T = V_S/(R1+R2);// in A
disp(I_T*10^3,"Using the ideal diode, the total current in mA is ");
V_D1 = 0.7;// in V
V_D2 = 0.7;// in V
I_T = (V_S-V_D1-V_D2)/(R1+R2);// in A
disp(I_T*10^3,"Using the p... |
d7e2ae400e9d7e10145971fd4dd8db2909ac9b65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH3/EX3.3/Exa3_3.sce | 273db8aab57298e85994526004845e3aa1120ae1 | [] | 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 | 465 | sce | Exa3_3.sce | //Exa 3.3
clc;
clear;
close;
//Given data :
//Formula Pulse Broadning per Km : deltaTmat(per Km)=(deltaTAUs*1000/c)*(lambda*d2n/dlambda^2)
deltaTAUs=45;//in nm
deltaTAUs=45*10^-9;//in m
lambda=0.9;//in um
lambda=0.9*10^-6;//in m
//let say, d^2n/dlambda^2=a
a=4*10^-2;//in um^-2
a=a*(10^-6)^-2;//in m^-2
c=3*... |
39fbc9d328a5d419a0f0ea0c393797e6bce2165e | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH2/EX2.2/example2_sce.sce | ad318457d18b3400180b5a821be8e5003803de57 | [] | 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 | 192 | sce | example2_sce.sce | //chapter 2
//example 2.2
//page 70
Ib1=18*10^-6 ;Ib2=22*10^-6;// given
Ib=(Ib1+Ib2)/2 //input base current
disp(Ib) //result
Iios=(Ib2-Ib1) // input offset current
disp(Iios)// result |
7bd02f09082430bf65b58f47eddd2b71d5629a4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH10/EX10.7/Example10_7.sce | d61fb697f69285c2583ad5b042bcb367049659e0 | [] | 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 | 895 | sce | Example10_7.sce | clear;
clc;
// Example: 10.7
// Page: 408
printf("Example: 10.7 - Page: 408\n\n");
// Solution
//*****Data******//
Temp = 30;// [OC]
A = 0.625;
//**************//
P1sat = exp(13.71 - 3800/Temp);// [kPa]
P2sat = exp(14.01 - 3800/Temp);// [kPa]
// At azeotropic point:
// P = gama1*P1sat + gama2*P2s... |
c8cc8013b195cf1a59a52925b339f1485d8e9f36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH8/EX8.2/Ex8_2.sce | 1ffd66b4242cbcdd84ac240c880646cf3374f7ae | [] | 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 | 538 | sce | Ex8_2.sce |
clc
//initialisation of variables
hi=1306.9 //lbm
si=1.5894//lbm
x=0.077 //lbm
n=0.7 //lbm\
T0=537 //F
Te=586//F
se=0.1897 //Btu/lbm
hes=1116.2-se*(1022.2)//Btu/lbm
Ws=hi-hes//Btu/lbm
Wa=n*Ws//Btu/lbm
he=hi-Wa //Btu/lbm
S=1.9200 //Btu/lbm
//CALCULATIONS
Se=S-x*(1.7451)//Btu/lbm
Wrev=(hi-he)-T0*(si-Se)... |
01fb29e8bef32bdd27853f3d02fa2e649d6257d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH7/EX7.5/Ex7_5.sce | ee040fae2b4721ff1a7f12a24c6678d08397e55a | [] | 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 | 326 | sce | Ex7_5.sce | clc;
//e.g7.5
C1=5*10**-12;//min
C2=5*10**-12;//min
L=10*10**-3;
CT=(C1*C2)/(C1+C2);//CTmax
disp('F',CT*1,"CT=");
fo=1/(2*%pi*sqrt(L*CT));
disp('MHZ',fo*10**-6,"fo=");
C1=50*10**-12;//max
C2=50*10**-12;//max
CT=(C1*C2)/(C1+C2);//CTmin
disp('F',CT*1,"CT=");
fo=1/(2*%pi*sqrt(L*CT));
disp('kHZ',fo*10**-3,"fo... |
9d949032324ba85d1f4bd0fa357881939b4f00e6 | a30001e45f0342ced961e0431af0f297bf00a538 | /TraceFileDiagnostics/SciLabScripts/Euler2R.sci | 340c979de4d08dd196ff9f7fcca4ae5882840c58 | [] | no_license | jsayres82/TraceTool | 54697a1c744d0838e894a9bfdce800a4ba6dbbde | 68826d7b31d0fa064b758d24fc408dbe27763e8b | refs/heads/master | 2021-08-30T08:03:07.854850 | 2017-12-16T23:12:05 | 2017-12-16T23:12:05 | 109,863,651 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sci | Euler2R.sci | function R = Euler2R(A)
// Euler angle -> Orientation matrix
a1 = A(1);
a2 = A(2);
a3 = A(3);
R1 = [1, 0, 0;
0, cos(a1), -sin(a1);
0, sin(a1), cos(a1)];
R2 = [cos(a2), 0, sin(a2);
0, 1, 0;
-sin(a2), 0, cos(a2)];
R3 = [cos(a3), -sin(a3), 0;
sin(a3), cos(a3), 0;
0, 0, 1];
R... |
e166ab1e9ae4682a58fdf8fa4b3bb686216176ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.49/ex_1_49.sce | 72ebea8daf7002dc7142d9ac769104288971c3d0 | [] | 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 | 563 | sce | ex_1_49.sce | //Example 1.49://ARITHEMATIC MEAN,AVERAGE DEVIATION ,STANDARD DEVIATION AND VARAIANCE
clc;
clear;
q=[1.34,1.38,1.56,1.47,1.42,1.44,1.53,1.48,1.40,1.59];//length in mm
AM= mean(q);//arithematic mean in mm
for i= 1:10
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8),qb(9),qb(10)];//
AV=(-qb(1)-... |
4a0a93939bc68e434f0efe0530e1005e3cac5958 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH13/EX13.1/example13_1.sce | 0ecf75019f41e1c4452e6447a2d206eb019eec05 | [] | 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 | 321 | sce | example13_1.sce | v1=1.5;
v2=0.96;
v3=1;
v4=0.014;
disp("Part a");
true=v3+v4;
disp("the true reading (in V) of the voltmeter is"); disp(true);
disp("Part b");
cor=true-v2;
disp("the voltmeter correction (in mV) is"); disp(cor*10^3);
disp("Part c");
fsd=cor*100/v1;
disp("The F.S.D. accuacy (in %) of the meter is"); disp(fsd)... |
c28655a08b2fdefa6c76c39e2cf6833a75f396d1 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/threshold.sci | 3155167f1953d77698fe7a13ee6296017fe7b750 | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 1,594 | sci | threshold.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// 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 available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
7126dfa24e429a694ef3b3383af04b039292e639 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH6/EX6.6/Ex6_6.sce | 8735087d241529cbfbd64ef88c04ce100847c1df | [] | 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 | Ex6_6.sce | clc
// initialization of variables
clear
// linked to 6_5
A=3 //cm^2
E= 2*10^6 //kg/cm^2
nu= 0.25
l= 60 //m
L=150 //cm
d=0.5 //cm
dd=10 //cm
D=180 //cm
//calculations
K=(l*100/(A*E))+(L*D/2*D*32*2*(1+nu)/(E*%pi*dd^4*2))
P=d/K
Ts=P/A
fs=dd*D*P*32/(%pi*4*dd^4)
// results
printf('The tensile stress is ... |
ebdebfcd78a1f7c4a38e840a48e13ef2be107771 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /TugasBesar2018/soal_01.sce | 6867d969fb2b4191a58c6124d9415652c015200a | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,577 | sce | soal_01.sce | exec("ode_euler.sce",-1)
exec("ode_euler_PC.sce",-1)
exec("ode_RK4.sce",-1)
// f and y are array with size 2
// y(1) = y
// y(2) = y'
//
// f(1) = y' = y(2)
// f(2) = y'' = -y = -y(1)
// There is no dependence of f to t explicitly.
// However, we put it here because in general there might be dependence
// to t
functio... |
6f1072cccc5b8fffc1020280c92d35ec0e1bb7f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH10/EX10.1/10_1.sci | d4372d21991639832b5a1f54bf6e00dd7f425679 | [] | 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 | sci | 10_1.sci | //10.1
clc;
K=0.1*10^-3;
d=60;
N2=200;
phi2=K*d/(2*N2);
a2=25*10^-6;
B=phi2/a2;
N=300;
I=10;
l=0.1;
H=N*I/l;
Permability_absolute=4*%pi*10^-7;
Permability_relative=B/(Permability_absolute*H)
printf("Relative permability of iron=%.2f",Permability_relative)
|
d5513c12ba90778a21eee077c429f4c20641911a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH5/EX5.20/s20.sce | e0ac18b83f4e2d3157c6e1a17ad52877dbc00d25 | [] | 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 | 358 | sce | s20.sce | s=%s;
syms K
h=syslin('c',(K/(s*(s+1)*(0.1*s+1))))
H=syslin('c',h)
fmin=0.001;
fmax=1000;
bode(G,fmin,fmax)
show_margins(G)
xtitle("uncompensated system")
[gm,freqGM]=g_margin(G)
[pm,freqPM]=p_margin(G)
disp(gm,"gain_margin=")
disp((freqGM*2*%pi),"gain margin freq=");
disp(pm,"phase margin=")
disp((... |
39064c8aaa43732b08ca62116960c204f6b31c1f | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Revisão P1/ErroCondicionamentoEntradaSaida.sce | 4f6308dcb1127b3a722c0414262e08120721e216 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | ErroCondicionamentoEntradaSaida.sce | A = [1.000001 2 3;4 5 6;7 8 9]
x = [1;2;5]
b1 = A*x
b2 = b1 + [10^(-8);0;0] //Erro de 10^(-8) adicionado
x1 = resolve(A,b1)
x2 = resolve(A,b2)
//Residuos
residuo_x1 = b1 - A*x1
residuo_x2 = b2 - A*x2
//Erro Relativo
erro_entrada = norm(b1-b2)/norm(b1)
erro_saida = norm(x1-x2)/norm(x1)
//Kappa para cada norma
kappa... |
db9d8d05f6a51cbedebe8f4666755f1d0b92de6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH6/EX6.19/Example6_19.sce | e6cf5d9102a3b4f72eee0e2a009ebcb573e71041 | [] | 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 | 332 | sce | Example6_19.sce | clear;
clc;
// Example: 6.19
// Page: 227
printf("Example: 6.19 - Page: 227\n\n");
// Solution
// *****Data******//
a = 3.59;// [square L atm /square mol]
b = 0.043;// [L/mol]
R = 0.082;// [J/mol K]
//***************//
// From Eqn. 6.122:
Ti = 2*a/(R*b);// [K]
printf("Inversion of temperature is ... |
e7cd9a08e7b25d7fc1024502074e7e2a618b0a7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH2/EX2.8.3/Example2_8_3.sce | 8162e224779415c7651e588b55b7e2d19283a8c6 | [] | 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 | 869 | sce | Example2_8_3.sce | // Example 2.8.3
clc;
clear;
n1=1.482; //refractive index of core
n2=1.474; //refractive index of cladding
lamda=820d-9; //Wavelength
NA=sqrt(n1^2 - n2^2); //computing Numerical aperture
theta= asind(NA); //computing acceptance angle
solid_angle=%pi*(NA)^2; //computing solid ... |
cd6a66c07dee17d8d312831df55f54ba8f767a27 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH7/EX7.9/Ex7_9.sce | 112ce19951b404333c43da2d42f3629b61ae3398 | [] | 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 | 404 | sce | Ex7_9.sce | //Variable declaration
l = [5.57,5.76,4.18,4.64,7.02,6.62,6.33,7.24,5.57,7.89,4.67,7.24,6.43,5.59,5.39]
// calculation
Mean = mean(l)
var = 0
for i = 1:length(l)
var = var + (l(i)-Mean)^2
end
var = var/length(l)
coff = sqrt(var)/Mean
// Results
printf ( "Maximum likelihood estimates of Mean : %.3f , ... |
72a0b299d7f5b6ce8fec5a956e06a2e50dee01bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH7/EX7.7/Example7_7.sce | cb7c18bf6a38dad921f3c47e0bf628c215ce5159 | [] | 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 | 134 | sce | Example7_7.sce | //Chapter-7,Example7_7,pg 7-30
Rm=500
Im=40*10^-6
V=10
Rs=(V/Im)-Rm
printf("multiplier resistance\n")
printf("Rs=%.2f ohm",Rs)
|
776961078444793a48694ff2cc05b72e49c962f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH21/EX21.5/Ex21_5.sce | 31e550e9be8de30068028febb5812bb81ec6f897 | [] | 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,025 | sce | Ex21_5.sce | //Example 25.1
R1=6;//Resistance (ohm)
R2=2.5;//Resistance (ohm)
R3=1.5;//Resistance (ohm)
r1=0.5;//Internal resistance (ohm)
r2=0.5;//Internal resistance (ohm)
emf1=18;//Emf 1 (V)
emf2=45;//Emf 2 (V)
//A set of three equations are required since there are three unknowns-currents I1,I2 and I3
//Equation 1: I1=... |
8d4b3af6c21b5835e02c97281b6b76507034ca23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH6/EX6.10/Chapter6_Example10.sce | ab81e67eaef6a089912465e5629b1e4612adeeff | [] | 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 | 556 | sce | Chapter6_Example10.sce | //Chapter-6, Illustration 10, Page 309
//Title: Refrigeration cycles
//=============================================================================
clc
clear
//INPUT DATA
Tg=470;//Heating temperature in K
T0=290;//Cooling temperature in K
TL=270;//Refrigeration temperature in K
//CALCULATIONS
COP=((Tg-T0... |
ef44b72c98d754f8d9095583fafa140f7c5e0d0a | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_diff_3_a.tst | 4b5c65c04256df84e1ed230ddc0004dc14be2a70 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 55 | tst | test_diff_3_a.tst | >>>>>> (1)
x0
x1
>>>>>> (2)
y0
y1
======
a
b
c
d
e
f
g
|
359c892476cdc69f8f488908a6026a818b163922 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/primitive_types_runme.sci | 83bfad74478b512a2f5e1dc0a726523272910783 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sci | primitive_types_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:73d06afb6aff4cbbad5fa7703bb05184b1ede26cbf51a87735e674c39d1b3d02
size 2433
|
0b6c25787b6d1388ea4d2351181714dab318a644 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH7/EX7.12/ex7_12.sce | ac577261d17f1bf7f558dc14cd1f109b4633b4e8 | [] | 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 | 305 | sce | ex7_12.sce | //Calculate the voltage gain of the FET
clear;
clc;
//soltion
//given
Idss=8*10^-3;//A
Vp=4;//V
rd=25*10^3;//ohm
Rd=2.2*10^3;//ohm //by the help of figure
Vgs=-1.8;//V
gmo=2*Idss/(abs(Vp));
gm=gmo*(1-(Vgs/(-Vp)));
Av=-gm*(rd*Rd/(rd+Rd));
printf("The voltage gain of the FET %.2f",Av);
|
3a286da726f4e6421855f676680412bea11fc406 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH11/EX48.1/48.sce | e7f2bc8bf79d749ae7c51cb9cd93f294363e1525 | [] | 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 | 203 | sce | 48.sce | clc
//initialisation of variables
v=10//m/sec
f=20//kg
g=9.81//m/sec
q=12//m/sec
//CALCULATIONS
M=f/q//kg*m^-1 sec^2
G=M*g//kg
//RESULTS
printf('the acceleration due to gravity is =% f kg',G)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.