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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8ea2e27c3d1086f480eda2fe8e345219cd84fccb | fdf97225e208a6642e1aafddb68b8d3e948f9b9a | /sql/feuerstein/Best_Practices/Code/emplu.tst | bdf2681cb7b5fe1c5acf38c28185b68171e506e9 | [] | no_license | jampaniuday/sql_source | 2b47413a50bf419559f6310148f799cf04edb668 | 5c84428161ef58084f8fb25021fd378544ee91db | refs/heads/master | 2021-06-11T14:18:52.676174 | 2017-02-06T21:52:11 | 2017-02-06T21:52:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | tst | emplu.tst | @@emplu.pkg
CREATE OR REPLACE PROCEDURE test_emplu (
counter IN INTEGER, empno_in IN emp.empno%TYPE := 7788)
IS
emprec employee%ROWTYPE;
BEGIN
PLVtmr.set_factor (counter);
PLVtmr.capture;
FOR i IN 1 .. counter
LOOP
emprec := emplu1.onerow (empno_in);
END LOOP;
PLVtmr.show_elapsed ('databas... |
e8c9ee39700e4b07c9a55db4b934fd72238c993f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.40/18_40.sce | 8e3c8dbdd5d875697a79560ff11e137cd586c73e | [] | 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 | 289 | sce | 18_40.sce | //ques-18.40
//Calculating final pressure and temperature on expansion of a dry gas
clc
T1=273;//temperature (in K)
r=3;//ratio = V2/V1
P1=760;//pressure (in mm Hg)
q=1.4;
T2=T1/(r^(q-1));
P2=P1/(r^q);
printf("Final pressure is %.1f atm and final temperature is %.0f K.",P2,T2);
|
7b5e768f317a81245737f624162d3f6c1d666ef9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH8/EX8.8/Ex8_8.sce | e34b56ebeb3ae5aa69aba6ebc4bb4265f72ce1bf | [] | 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 | 376 | sce | Ex8_8.sce | //Example No.8.8.
//Page No.233.
clc;clear;
T = 298;//Temperature -[K].
k = 1.38*10^(-23);//Boltzman's constant.
Eg = 1.07*1.6*10^(-19);//Here E= E-Eg.
f = 1/(1+exp(Eg/(2*k*T)));//probability of an electron to the conduction band at 25 degree celcius.
printf("\nThe probability of an electron thermlly excited to ... |
38dfa879c8de507719935b33c1a0556a9cc9c6a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH7/EX7.8/EX7_8.sce | 571dc5a007f1d5c61287c494e6a6945f21ab6975 | [] | 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 | EX7_8.sce | //Chapter 7, Example 7.8, page 322
clc
//Initialisation
A=99.8 //in percent
l=1250 //radio link in km
C=155*10**6 //in bps
T=24*60*60 //Total measurement time
//Calculati... |
38a853b9f8bd1058bfd8bac4927c61ac869d7b02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH1/EX1.16/Ex1_16.sce | 9881577de0b5a1e561a62ef2f9c0f9d5388afd6d | [] | 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 | 589 | sce | Ex1_16.sce | //Ex1.16
clc
ni = 2.5*(10^13) //intrinsic concentration
donor = 10^-7 //donor atoms
ND = 4.41*(10^22)*(10^-7) //donor atom concentration
e = 1.6*(10^-19) //electron charge
micro_n = 3800; micro_p = 1800 //charge mobility
disp("ni ="+string(ni)+" /cm.cube")
disp("donor = "+string(donor))
disp("n = ND ="+string(... |
efc9f5499de205d4b18e3d62d85263ead1067067 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/int/%s_4_i.sci | 95fc81d4a587eff3dce2cddd72593e5aa820ba47 | [
"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 | 46 | sci | %s_4_i.sci | function r=%s_4_i(a,b)
// a>=b
r=a>=double(b)
|
bd26d5cbf01c8786c43c7585e3c317722b36d333 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH17/EX17.6/Ex17_6.sce | 0281ceb6e32cc36798f503be9aa13eb428963c5f | [] | 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 | Ex17_6.sce | clc;
close();
clear();
//page no 554
//prob no. 17.6
c=3*10^8; //speed of light in m/s
f=5.925*10^9; //Hz
lembda=c/f; //m
mprintf('The wave length is %.3f cm \n',lembda*100)
theta_3dB=1.6; // beamwidth degree
D=70*lembda/theta_3dB //m
mprintf('The diameter is, D= %.3f m \n',D);
|
9943c5d8c0739f87fddea55b335575b68a2917d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH8/EX8.3/exa8_3.sce | 15cd936c0cdafd0e1f8f2e5958330c40597cfc48 | [] | 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,510 | sce | exa8_3.sce | // Example 8-3
// Computation of Optimal solution 2
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "";
// exec("plotresp.sci");
s = %s;
G = 4 / ( s^3+ 6*s^2 + 8*s + 4);
t = 0:0.1:8; u = ones(1,length(t));
// lesser points for a rough check
t1 = 0:0.01:8; u1 = ones(1,length(t1));
// m... |
5f595b7348fa668149e70263d2cfbb6c00adc5de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH16/EX16.6/16_6.sce | 872ca6ca37745a086fa19e46f2036c8f9383a7f7 | [] | 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 | 264 | sce | 16_6.sce | clear;
clc;
R1=175;R2=350;
y=poly([1 -3 1],"N","coeff");
f=roots(y);
N=f(1,1);
D=20*log10(N);
Ro=R1*(N+1)/(N-1);
printf("The characteristic impedance of T attenuator = %f ohms and its attenuation per section is %f db",round(Ro*10)/10,round(D*100)/100);
|
52f1b51553a7c645d24c5dc20f31e3da913aa895 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH14/EX14.4/EXP14_4.sce | 43230b92ef4a86023606bcf745ebc3e3b88b8c98 | [] | 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 | 385 | sce | EXP14_4.sce | clc;funcprot(0);//EXAMPLE 14.4
// Initialisation of Variables
K=567.53*10^6;..........//Slope of the Equationof Mg- alloy in Pa-nu/m^2
d=10;...........//Grain size in nu-m
Y=52.54*10^6;...........//Intercept of Mg- alloy in Pa
//CALCULATIONS
Yp=Y+(K*d^(-1/2));.......//Predicted yield strength of an Mg- alloy in M... |
ed09089e661f32a1b61ea8343a5bb56032b3b1b7 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/cmd_servo_move.sci~ | 83309e1434baa5ed421c5f84c533dacb49e1715d | [] | 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 | 2,144 | cmd_servo_move.sci~ | function cmd_servo_move(h,servo_no,u1)
// Command to run servo motor which has been setup
//
// Calling Sequence
// cmd_servo_move(h,servo_no,u1)
//
// Parameters
// h : Board number, reserved for future use. For this version, any number would do
// servo_no : 1=pin 9, 2=pin 10
// u1 : 0 - 180 ... | |
20b236421f1bad128490a82015ed2c70d99e546f | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-HypothesisTesting/FLtTest2S-NZ-01.tst | 0109701a15c72461663b6858e532e196f343ac74 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,844 | tst | FLtTest2S-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
e1d8ef30a37b3f7cc9cfa2b13070c2e350ca15df | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /MienTommy's Air UFO Ultimate Ladder.sce | 27f8feeb4c0a1b16d32691bfe65b459d20483a7d | [] | 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 | 48,505 | sce | MienTommy's Air UFO Ultimate Ladder.sce | Name=MienTommy's Air UFO Ultimate Ladder
PlayerCharacters=A
BotCharacters=Bot Rotation air.rot
IsChallenge=true
Timelimit=100000.0
PlayerProfile=A
AddedBots=Bot Rotation air.rot
PlayerMaxLives=0
BotMaxLives=10
PlayerTeam=1
BotTeams=2
MapName=boxervert.map
MapScale=10.0
BlockProjectilePredictors=false
BlockCheats=true
I... |
71c60805af145760b1c946cce750b5b5cae06b63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH9/EX9.6/9_6.sce | 54e8b9389e5e4ba0358884f998cdfe3d8d637547 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | 9_6.sce | clc
//initialisation of variables
m1= 0.2 //kg/s
v1= 1.0803 //m^3/kg
P= 200 //kPa
T= 200 //C
s1= 5.8041 //kJ.kg K
s2= 7.5066 //kJ/kg K
h1= 2870.5 //kJ/kg
h2= 2495.9 //kJ/kg
//CALCULATIONS
V1= m1*v1
V2= 0.1*V1
Q= m1*(273.15+T)*(s1-s2)
W= m1*((h1-h2)-(273.15+T)*(s2-s1))
//RESULTS
printf (' volume flow rat... |
adab9fbaca1322b2d152317e041482c66cff9b5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH1/EX1.26/Ex1_26.sce | 6876533ce02ba098178a15b13461ec891f2ca074 | [] | 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 | 352 | sce | Ex1_26.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.26
//Given Data Set in the Problem(SI Units)
d=40*10^-3
p=2.5
//Calculations
//Using Pressure =8*Surface tension/diameter of the soap bubble
st=p*d/8
mprintf("The Surface tension inside ... |
76e736e120a710dee610e9ec6a6e0347c5aa0e56 | 88f74b5fffdd03abe6e83f706181fd7f42a18b28 | /60002190054_Scilab5(InverseZ-Transform).sce | 22bbd120c590ddab3091aabadd1f2519a8d8047a | [] | no_license | khushiig/SciLab | 915c9fc2d762f09cb83da128d6a8885f988b6fb8 | 3ee1b02318f8c056690edd678eabb49f520e29f9 | refs/heads/main | 2023-01-25T03:42:14.747948 | 2020-11-25T10:31:41 | 2020-11-25T10:31:41 | 315,850,079 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | 60002190054_Scilab5(InverseZ-Transform).sce | //Programs to find the inverse z transform using the
//long division method
clear;
z=%z;
num=4*z-2;
den=(z-1)*(z-2)^2;
h=ldiv(num,den,16);
disp("First sixteen terms of the series:",h)
//Programs to find the inverse z transform using the
//long division method_2
clear;
z=%z;
num=3*(z^2)+2*z+1;
den=z^2-3... |
1aacfcdf71d4f07b4f2150b82222ffda53c62f65 | 27d20d5d5ba446128b602e338b583ee5f76666b9 | /2012/1004/gcpc2012d.tst | b4d2ca4675736ea3b6faaf16652ccfe226817c29 | [] | no_license | Neverous/ii-mia | 2b6b10181e7b6207d22a1ffd6c08c499ccc8c613 | 9a87fa85e325b1c39041c99a74005f88341a1aa7 | refs/heads/master | 2021-01-10T15:52:27.778247 | 2016-03-22T14:49:34 | 2016-03-22T14:49:34 | 54,483,598 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | tst | gcpc2012d.tst | /home/neverous/Pobrane/OLD/secret_2012/Outsourcing/testcases/sample;1;32768 /home/neverous/Pobrane/OLD/secret_2012/Outsourcing/testcases/Positives;1;32768 /home/neverous/Pobrane/OLD/secret_2012/Outsourcing/testcases/PositivesUselessLabels;1;32768 /home/neverous/Pobrane/OLD/secret_2012/Outsourcing/testcases/Paths;1;3276... |
46b68988d2ab9e0cd13e1527a869be5ae158aead | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH5/EX5.4/5_4.sce | d2a5e5c754c973df1a2ec1d68e7f8814485abb2f | [] | 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 | 173 | sce | 5_4.sce | //Clear//
clc
clear
exec("5.4data.sci");
rCH4 = (v0/W)*CCH4;x
x=log(PCO);
y = log(rCH4)
alpha= (y(3)-y(2))/(x(3)-x(2));
//plot2d(x,y)
disp("alpha")
disp(alpha)
|
41d710c3cf11546b920cfe9ae55179dc91fd0e0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH1/EX1.30/Ex1_30.sce | 9afac61f6210e7fed6ddac25e0abe06da2f1f25d | [] | 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,050 | sce | Ex1_30.sce | clear
//
//
//Given
//Variable declaration
Ds=20 //Diameter of steel rod in mm
Di_c=40 //Internal diameter of copper tube in mm
De_c=50 //External diameter of copper tube in mm
Es=200*10**3 //Youngs modulus of steel in N/sq.mm
Ec=100*10**3 //Youngs modulus of copper i... |
19e99447b13085bf626ea42ebe0eebf624f9fa8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH5/EX5.23/example5_23.sce | e7cb3a2ac8c27f0115d8bc5c9798d830115600be | [] | 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 | 387 | sce | example5_23.sce |
//example 5.23
//calculate
//diameter of well
clc;
//given
h1=2.1; //initial pumping depression
h=1.6; //heigth after recuperation
t=90; //time
h2=h1-h;
KbyA=2.303*60*log10(h1/h2)/t;
Q=10; //yield(lit/sec)
H=2;
A=Q*3.6/(H*(KbyA));
d=(4*A/%p... |
558d2bc12d86beddbe2ac50576c6f73a3deeb3c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH3/EX3.12/Ch03Ex12.sce | 72ddda713184bbe64efe2285b9e0900c2cdb0bbe | [] | 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,988 | sce | Ch03Ex12.sce | // Scilab code Ex3.12: Pg 92-95 (2008)
clc; clear;
V = 200; // Supply voltage, voltage
C_AB = 2; // Capacitance across branch AB, micro-farad
C_BC = 3; // Capacitance across branch BC, micro-farad
C_CD = 6; // Capacitance across branch CD, micro-f... |
1b37181af9cd7ff7f118a27cda85721b4264fbe1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH10/EX10.7/10_7.sce | a4668f0add931080f120274e0cff9d33d8a5dfc3 | [] | 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 | 520 | sce | 10_7.sce | clc;
v=650*10^3/3600;
KE=(1/2*v^2);
T0=-18+273;
cp=1.005;
Ieff=0.9;
T01=KE/10^3/cp+T0;
T01s=T0+Ieff*(T01-T0)
p02!p01=9;
y=1.4;
T02s=T01*(p02!p01)^[(y-1)/y];
Ieff2=0.89;
T02=T01+(T02s-T01)/Ieff2
W=cp*(T02-T01);
p01!p0=1.215;
p03!p4=p02!p01*p01!p0;
T03=1123;
y2=1.333;
T4=T03/[(p03!p4)^{(y2-1)/y2}]... |
2ee5aa703c51d9194ac67cd6dfe2203f2a0a764f | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/bfp-004-cvttolog.tst | 7ac6b7abbd347d212ec73360fddf4adfba7bf6ed | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 23,185 | tst | bfp-004-cvttolog.tst | *Testcase bfp-004-cvttolog.tst: CLFEBR, CLFDBR, CLFXBR
#Testcase bfp-004-cvttolog.tst: IEEE Convert To Logical
#..Includes CONVERT TO LOGICAL 32 (3). Tests traps, exceptions,
#..rounding modes, and NaN propagation.
sysclear
archmode esame
#
# Following suppresses logging of program checks. This test program, as ... |
51e386a502d1356540da8dbd21761e7aa7572a71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH34/EX34.18/ex18.sce | 93d82f4bf7ddb42b477062109c67f6abba57f1ac | [] | 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 | 179 | sce | ex18.sce | clear
clc
disp("chances of winning of A=1/2+(1/2)^2*(1/2)+(1/2)^4*(1/2)+(1/2)^6*(1/2)+..=' )
(1/2)/(1-(1/2)^2)
disp('chances of winning of B=1-chances of winning of A')
1-2/3 |
75eab172b75fc0b09472d21908a79488d7ef6518 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH11/EX11.6/Example11_6.sce | 16f14b894dc9861fb4397fbe785a52b12cf466e9 | [] | 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,955 | sce | Example11_6.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 4: OVERHEAD LINE INSULATORS
// EXAMPLE : 4.6 :
// Page number 186
clear ; clc ; close ; // Clear the work space and cons... |
0fe1f90fcc1a08138747d1a19817975cf599a357 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH6/EX6.2/6_2.sce | 97072c9a38cbd04d26367fcaddf5bbe69515f2c7 | [] | 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 | 176 | sce | 6_2.sce | //lubricants//
//example 6.2//
s=0.86;//specific gravity of lubricating oil//
A=(141.5/s)-131.5;//formula of API gravity//
printf("The gravity of lubricating oil is %f",A); |
954b3123ad80ec658cb4e796df52c9ee1ae9105b | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH7/EX7.9/example7_9_TACC.sce | 60b1fa3c850c032875762d8883ef2454ec9f7df8 | [] | 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 | 601 | sce | example7_9_TACC.sce | //example 7.9
clear;
clc;
//Given:
V=0.001;//Volume of vessel[m3]
T=300;//Temperature [K]
k=1.381*10^-23;//Boltzmann constant[J/K]
mol.wt=32;//molecular mass of oxygen molecule
h=6.626*10^-34;//planck's constant[J.s}
//To find the Transitional partition function of an oxygen molecule confined in a 1-... |
12e0305604e7b1d4f94b0c0388c89787b81b4a7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH9/EX9.7/Ex9_7.sce | 3e613327f9728b51de4f9503cb9bed47c999ed17 | [] | 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,785 | sce | Ex9_7.sce | //Book - Power system: Analysisi & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J.Overbye
//Chapter-9 ;Example 9.7
//Scilab Version - 6.0.0; OS - Windows
clc;
clear;
Vf=1.05 //Prefault voltage in per unit
Zf=0 ... |
d84121973a358ca717ea92c7a98247236b96ed48 | 81719679e3d5945def9b7f3a6f638ee274f5d770 | /aws-java-sdk-core/src/test/resources/resources/profileconfig/CompleteCsmProperties.tst | b0b26d60853b370ce49678bded28511f0bece48e | [
"Apache-2.0"
] | permissive | ZeevHayat1/aws-sdk-java | 1e3351f2d3f44608fbd3ff987630b320b98dc55c | bd1a89e53384095bea869a4ea064ef0cf6ed7588 | refs/heads/master | 2022-04-10T14:18:43.276970 | 2020-03-07T12:15:44 | 2020-03-07T12:15:44 | 172,681,373 | 1 | 0 | Apache-2.0 | 2019-02-26T09:36:47 | 2019-02-26T09:36:47 | null | UTF-8 | Scilab | false | false | 65 | tst | CompleteCsmProperties.tst | [aws_csm]
csm_enabled = true
csm_port = 1234
csm_client_id = foo
|
5e00f2e40a08d74fbc87f8f2b1cebcde0dfaf81e | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH11/EX11.10.b/exa11_10_b.sce | c6ee7d48f15ce3d0a10e8c042c6e9a6f0aabb9b3 | [] | 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 | 705 | sce | exa11_10_b.sce | //Caption:calculate_Td,tr,Tp,Mp
//example 11_10_b
//page 478
s=%s;
syms Td
G=16/(s^2+1.6*s)
G1=1+s*Td
H=1;
a=G*G1
CL=a/.H
CL=simple(CL)
disp(CL,"C(s)/R(s)=");
zeta=0.8//given
//since zeta=0.8 so 2*zeta*Wn=1.6+16*Td
Wn=sqrt(16)
//so on solving
Td=0.3
//so transfer function takes the form:
CL1=(16+4.8*... |
bc0a7af9ed6a1f55b27fb90fd89b007e3abd74cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH29/EX29.3/293.sce | 500f45ab1e7567932af3ca1885200813be296be4 | [] | 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,156 | sce | 293.sce | clc;
//Examctple 29.3
//page no 455
printf("Example 29.3 page no 455");
//an iron foundry has four work stations that are connected to single duct
v_air=4000//the minimum air velocity required for general foundry dust,ft/min
v_air_s=v_air/60//velocity of air in ft/s
n=4//no. of duct
q_e=3000//each duct transpor... |
df366842af08d5b41204126836382f5f7e93962e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH9/EX9.2/Ex9_2.sce | 285280b8f0778d1eff9f0e06f4050617353c6950 | [] | 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 | 224 | sce | Ex9_2.sce |
//Ex9_2
clc;
// Given:
m1=24*10^-6;// g per day
m2=10^-2;// g per day
i1=10^-6;// in A
//Formula: i1*m2=m1*i2
//Solution:
i2=(i1*m2)/m1;
i=i2/10^-3;// in mA
printf("The ion current should be = %f mA",i)
|
0e2649d0aa1c4bd1ffb99b8b06173039bd6312a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH26/EX26.5/Chapter26_example5.sce | 0cd26eef039cedb79f705b7677a2fa41f5285d3b | [] | 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,149 | sce | Chapter26_example5.sce | clc
clear
//Input data
p=3.5//Pressure at the delivery is 3.5 times that at entrance
T=1.15//Temperature rise during compression is 1.15 times that for frictionless adiabatic compression. In textbook it is given wrong as 1.5
T3=500+273//Temperature of products of combustion in K
pa=1//Atmospheric pressure in kg/c... |
912984b7de8734681374598080cf2b3934942d46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH9/EX9.2/Chapter92.sce | 8f54ce94ce6593fcaf9208d66bc70992332184a1 | [] | 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,461 | sce | Chapter92.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 9, Example 2")
//Steam is condensed at temprature(Tg=100°C) on the outer surafce of a horizontal tube of length(L=3m) and diameter(d)=50mm or .05m
Tg=100;
L=3;
... |
55698ccf7bf59c547c449252f8cd31ca7300f565 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH2/EX2.7/Ex2_7.sce | 7055758c54fbfadbcca50b8c5317c62031faee34 | [] | 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,248 | sce | Ex2_7.sce | // Example 2_7
clc;funcprot(0);
// Given data
T=500+273;// K
rho=24;// The density in kg/m^3
R=0.462;// kJ/kg.K
v=1/rho;// m^3/kg
// Calculation
// (a)
P=rho*R*T;// kPa
printf("\n(a)Using the ideal gas equation,The pressure of steam(P)=%4.0f kPa.",P);
// (b)
// Using values for a and b from Table B-8,the ... |
69549b3c554fa28da1ac67b2dcc9dd9f810cd8a7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/examples/link-examples/ext8c.sce | 3ff2ccc962892983eee829df0139b84a7e73cb3a | [
"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 | 318 | sce | ext8c.sce | //Copyright INRIA
//same example as # 10 with call to matptr
//param must be defined as a scilab variable
files=G_make(['/tmp/ext8c.o'],'ext8c.dll');
link(files,'ext8c','C');
param=[1,2,3]
y=call('ext8c','out',size(param),1,'d');
if norm(y-param) > %eps then pause,end
if norm(param(1)-18.0) > %eps then pause,end
|
85b34c9b24cb149b3334710108d6789e37b33b68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH9/EX9.6/9_6.sce | a7f57a7425eb40c148748a78e4928a8d869fc997 | [] | 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 | 9_6.sce | clc
//Initialization of variables
m=5.32*10^-26 //kg
v=445 //m/s
sigma=3.84*10^-19 //m^2
//calculations
mu=m*v/(3*sigma)
//results
printf("Dynamic viscosity of oxygen = %.2e newton sec/m^2",mu)
|
4e55099fdd6bc70180bc4f141ffd598370c11fb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH10/EX10.5/ex5.sce | 05f0901c361de30ab799503ad8809025c9b56538 | [] | 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,593 | sce | ex5.sce | //example5
//The Ideal Regenerative Rankine Cycle
clear
clc
P1=10 //Pressure in state 1 in kPa
h1=191.81 //Specific enthelpy in state 1 in kJ/kg
v1=0.00101 //Specific volume in state 1 in m3/kg
P2=1200 //Pressure in state 2 in kPa
wpumpin=v1*(P2-P1) //work done by the pump 1 in kJ/kg
h2=h1+wpumpin //Specific E... |
00b83d39ce0af98dba12177d7064ede26b63c7f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH4/EX4.21.i/Ex4_21i.sce | e123e7e9cb3dceaa13aa328781d4c61efa3b1de6 | [] | 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 | 377 | sce | Ex4_21i.sce | //Caption:Quantizing levels, bits per sample
//Example 4_21.i
//page no 197
//Find Quantizing levels,minimum number of bits per sample
clear;
clc;
SNRO=30;//dB
fmin=300;
fmax=3300;
fs=80000;
//SNRO=1.76+20log10(q)
q=10^((SNRO-1.76)/20);
q=ceil(q);
v=log2(q);
disp(q,"Quantizing levels required is");
d... |
fee9b2b4a6e07ce8609230a4a0f29111af82a9d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH7/EX7.5/Ex7_5.sce | 325da08f4480c0bba5d43fa1cd5b6fe91ff660b1 | [] | 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 | 618 | sce | Ex7_5.sce | clear
//
//
//
//Variable declaration
theta1=(8+(35/60))*%pi/180 //glancing angle(radian)
lamda=0.842 //wavelength of X-rays(angstrom)
n1=1 //order
n2=3 //order
//Calculation
x=n2*lamda*sin(theta1)/(n1*lamda)
theta2=asin(x)*180/%pi //glancing angl... |
352ff0ebce613cdc9a6d5d32826745f9a1aa86d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH26/EX26.4/264.sce | a04024cd2a437295158c03906e26f7f1026dbf0e | [] | 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 | 925 | sce | 264.sce | clc;
//Example 26.4
//page no 387
printf("\nExample 26.4 page no 387\n\n");
//air is used to fluidize a bed of speherical particles
D=0.2//bed diameter,m
d_p=7.4e-5//diameter of 200 mesh particles from table 23.2,m
rho_s=2200//ultimate solid density
rho_f=1.2//density of air
meu=1.89e-5//viscosity of air
g=9.... |
da5112b73ea7556d48c6d61112cfb24039095ede | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH12/EX12.4/Ex12_4.sce | 3a2aee004dd91c438ab76a034567e1bdd1bb9e88 | [] | 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 | 443 | sce | Ex12_4.sce | //Example 12.4
P2=1.01*10^5;//Absolute pressure in the nozzle (N/m^2)
v1=1.96;//Speed of water in the hose (m/s)
v2=25.5;//Speed of water in the nozzle (m/s)
rho=10^3;//Density of water (kg/m^3)
P1=P2+1/2*rho*(v2^2-v1^2);//Abolute pressure in the hose from Bernoulli's equation (N/m^2)
printf('Absolute pressure in... |
0b81fcf4e14bd770f8d7ddd2d74f8fdd3ec6af02 | a5f734c593296260310d614424be1bbcc2f5f7bd | /test/workflow.tst | 0ee71f816cd5d9da14918bc49914548e1c4165f3 | [] | no_license | Mark-Seaman/JackHammer | 459e58484d67945b932ae6ce4281d0b849cd0039 | 82964a2f5ac465c5fe0ae6e9095aff9ae0202b43 | refs/heads/master | 2016-09-05T18:33:16.154602 | 2015-04-01T22:32:58 | 2015-04-01T22:32:58 | 10,584,774 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 30 | tst | workflow.tst | tpyrun $p/test/workflow_test
|
8e0790b6b7ed8edb41731b875d7af83bbb2840ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH1/EX1.5/1_5.sce | 2ecd531b78a762ce1593577c2a14f8f3ffcc257a | [] | 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 | 277 | sce | 1_5.sce | clc();
clear;
// To calculate the uncertainity in momentum
deltax=0.2; //distance in armstrong
delta_xm=deltax*10^-10; //distance in m
h=6.626*10^(-34);
delta_p=h/(2*%pi*delta_xm);
printf("The uncertainity in momentum of electron in kg m/sec is");
disp(delta_p);
|
044713a3a852c321b42113921bb9384da3dbbbab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH6/EX6.18/Ex6_18.sce | e7ca83ae4eccfa12a52d8d6dfc6557ecb34e0908 | [] | 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,187 | sce | Ex6_18.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 6 Example 18")
v=0.4;//volume of air in part A and part B in m^3
p1=10*10^5;//initial pressure of steam in pa
p2=15*10^5;//final pressure of steam in pa
disp("h... |
db7fe057f630aba8a04965d94ab356a0d3139c06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH18/EX18.1/Ex18_1.sce | 41235ca4c42adb327b6bca5bb2f2c5a89eec9752 | [] | 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 | 941 | sce | Ex18_1.sce | // Example 18_1
clc;funcprot(0);
//Given data
n=10;// Number of fans used
T_1=35;// °C
T_2=30;// °C
m_w1=1000;// The quantity of cooling tower circulated through the tower in kg/min
DBT=35;// Dry bulb temperature in °C
WBT=25;//Wet bulb temperature in °C
C_pw=4.2;// kJ/kg°C
RH=90;// Relative humidity in %
... |
bcaf6135fc8fab0f0a2bd4018917f1bcdf99b3ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH2/EX2.8/Ch02Ex8.sce | d549fc58a53b101fa8dc84510205f3fa45a3f91c | [] | 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 | 979 | sce | Ch02Ex8.sce | // Scilab code Ex2.8: 49 (2008)
clc; clear;
// Applying Kirchhoff’s current law (the sum of the currents arriving at a junction is equal to the sum of the currents leaving that junction) at junction A
I2 = 40 + 10; // Electric current, A
// Applying Kirchhoff’s current law at junction C
I1 = 8... |
ea18837a070b96af26e763e6ec7e9a464d5ebffd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH6/EX6.5/6_5.sce | bc93606004457070bf920c99c86c4860487df5cd | [] | 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 | 660 | sce | 6_5.sce | clc
//initialisation of variables
clear
r= 1.4
ma2= 2.5 //ft/sec
g= 32.17 //ft/sec^2
p2= 1 //lbf/in^2
ps= 17.08 //lbf/in^2
ps2= 75 //lbf/in^2
Ts= 720 //R
R= 53.3 //lbf ft/lbm
A= 4 //ft^2
ps3= 0.4 //lbf/in^2
A2= 0.685 //ft^2
P= 5 //per cent
//CALCULATIONS
R1= (1+0.5*(r-1)*ma2^2)^(r/(r-1))
R2= (2*(r/(r-1... |
98e5753bc95445e95633266d34dd010c70013508 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH4/EX4.8/Ex4_8.sce | 208eba54d39ce963f74fad9e914763e63445c28b | [] | 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 | 615 | sce | Ex4_8.sce | //CHAPTER 4- MEASURING INSTRUMENTS
//Example 8
clc;
disp("CHAPTER 4");
disp("EXAMPLE 8");
//VARIABLE INITIALIZATION
I_m=15/1000; //from mA to A
r_m=5; //in Ohms
I=2; //in Amperes
v=30; //in Volts
//SOLUTION
R_sh=(I_m*r_m)/I; //I_m=I*(R_sh/(R_sh+r_m)) if R_sh<<5... |
cfa58936a7790ab931deb8737c98e131196f4355 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH4/EX4.6/FSNT_Ex_4_6.sce | 5784c48a64de5f93be1cd2e5bb48e725d542527e | [] | 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 | FSNT_Ex_4_6.sce | clc
//Chapter 4:Frequency selective networks and transformers
//example 4.6 paga no 130
//given
Rs=10//source resistance
L=0.2*10^-6//inductor
f=20*10^6//given frequency
XL=(2*%pi*f*L)//inductive reactance
Rp=50//input impedance
Xs=sqrt(Rp*Rs-Rs^2)//series reactance
Xcs=5.1//series capacitive reactance
CS=(... |
fa536f411bfbeb5cacfb8a0afe71b0794b59193b | 8ceaed28ddedaaf04d0deab0902f314d458dc616 | /projects/01/Or4Way16.tst | 3083aafaf0bf3d482382e6f0a7ce2cb0ec3be441 | [] | no_license | appleJax/nand-2-tetris | 1d2ec6f57bf043a6b78e97dcd9f8b8713f38323f | 79e4364b9ec4dd179c4b92c366c26d3217c617a4 | refs/heads/main | 2023-01-13T21:25:09.007141 | 2022-01-03T06:52:03 | 2022-01-03T06:52:03 | 224,096,207 | 0 | 0 | null | 2023-01-05T05:00:47 | 2019-11-26T03:41:37 | Hack | UTF-8 | Scilab | false | false | 611 | tst | Or4Way16.tst | load Or4Way16.hdl,
output-file Or4Way16.out,
compare-to Or4Way16.cmp,
output-list a%B1.16.1 b%B1.16.1 c%B1.16.1 d%B1.16.1 out%B1.16.1;
set a 0,
set b 0,
set c 0,
set d 0,
eval,
output;
set a %B1000000000000000,
set b 0,
set c 0,
set d 0,
eval,
output;
set a %B1000000000000000,
set b %B0100000000000000,
set c %B00100... |
6a0e0ef1798263a3238994e7f71e1237fd571e3a | c3d38db94d5862857932065e0c266a64e426002a | /tst/Ex10.tst | 134f4ef211a7ff626bdfb1e5d6a4c7ff7cacaf6d | [] | no_license | fingolfin/carat | 69806199557c0b46b752d83b0755c627ed5877ec | 21741c23edb7d5cf410e7dc1698f7fb942573e9e | refs/heads/master | 2020-09-03T15:33:29.255011 | 2019-05-23T07:31:58 | 2019-05-23T07:31:58 | 133,804,402 | 0 | 0 | null | 2018-05-17T11:35:02 | 2018-05-17T11:35:02 | null | UTF-8 | Scilab | false | false | 379 | tst | Ex10.tst | echo "### Test Ex10-1"
../bin/carat/Bravais_catalog << EOF
6-1
y
stdout
s
1
1
n
EOF
echo "### Ex10-1 return code $?"
echo "### Test Ex10-2"
../bin/carat/Elt Ex10_m
echo "### Ex10-2 return code $?"
echo "### Test Ex10-3"
../bin/carat/Orbit -g -S Ex10_m Ex10_B
echo "### Ex10-3 return code $?"
echo "### Test Ex10-4"
..... |
2bc58a43e206656be37cfa70471de014f76d99ca | c59576b9f96a7b26dc5bc0d52998ad818380b8cf | /test/FM10.prev.tst | cfccf3aea814b6a336c670e556059105764e649c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/checkdig | 0588535521d9106a5c777a809e50d64a9204fa3c | 3570d246efd0d102f1a2652dfe752884b5d346d8 | refs/heads/master | 2022-02-14T07:41:43.949901 | 2022-01-28T15:00:07 | 2022-01-28T15:00:07 | 30,117,975 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | tst | FM10.prev.tst | DE7901234567890 !OK
DE3400000001588 !OK
WR31CIS ?NOK
AT6101234567890 ?NOK
BE68123456789 ?NOK
FR9212345678 ?NOK
FR9112345678901 ?NOK
FR90123456789 ?NOK
FR2812345678901234 ?NOK
HU15A09450512 ?NOK
HU47E10011922T201 ?NOK
FI2212345678 ?NOK
IT36A1B2C ?NOK
IE84123456 ?NOK
LU270123456789 ?NOK
NL360123456789 ?NOK
PL180123456789... |
9bf94b4c6f190a45ddd6d98b91c8015c5d39c33d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH4/EX4.13/Ex4_13.sce | 4e6746e233880e1dc738551bef316848e1094e8c | [] | 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 | 505 | sce | Ex4_13.sce | clear all; clc;
disp("Scilab Code Ex 4.13 : ")
//Given:
sigma_allow = 115; //MPa
//Determinng the stress concentration factor:
r_n =10/20;
w_h = 40/20;
k = 1.4; //from graph
sigma_avg = sigma_allow/k;
P =sigma_avg*20*10;
P = P/1000;
//Display:
printf("\n\nThe largest axial force that the bar can... |
50d174b923844e2388757aac3df448d411bc08e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.2/10Ex2.sce | a906e8b8f52988ecd231cc0ad299fb9481cfcf2e | [] | 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 | 200 | sce | 10Ex2.sce | //chapter 10 Ex 2
clc;
clear;
close;
n1=6; n2=28; n3=0.2; n4=.04;
mprintf("(i)6 percent=%.2f\n (ii)28 percent=%.2f\n (iii)0.2 percent=%.3f\n (iv)0.04 percent=%.4f",n1/100,n2/100,n3/100,n4/100);
|
89afa83f51ec448545686f7020275cee33ccf23d | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH24/EX24.10/Example24_10.sce | 72d07837d5cf8846c16731c86dce7a682f35b07e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Example24_10.sce | //Example 24.10
clc
disp("2''s compliment method")
disp(" 1 0 0 0")
disp(" 0 1 1 0 <-- 2''s complement")
disp(" -------")
disp(" 1 1 1 0 <-- no carry")
disp("No carry results. Thus, the difference is negative and the answer is the 2''s compliment of 1110, i.e. 0010") |
18f32e4bb0ba3d61aa51b56a8c857aba43a1e3be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH2/EX2.7/Ex2_7.sce | 07a72dee357245982cdd4600d230c83a9cf954b3 | [] | 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,413 | sce | Ex2_7.sce | clc;
//page 96
//problem 2.7
//Here P(ra|mb) is denoted as P_ramb where a is 0,1,2 & b is 0,1
//P(X) is denoted as P_X where X is m0, m1, C & E
//From given values P_m0 = 0.6, P_m1 = 0.4, P_r0m0 =0.6, P_r1m1 = 0.7, P_r0m1 = 0, P_r1m0 = 0.2, P_r2m0 = 0.2 & P_r2m1 = 0.3
P_m0 = 0.6
P_m1 = 0.4
P_r0m0 =0.6
P_r1... |
d73ef71a2c56bb2da0aac9d86fec5b3d1ced0150 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.42/2_42.sce | 3d93507adb47e69df6306df1113e1e5d2f7e081d | [] | 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 | 611 | sce | 2_42.sce |
clear;
clc;
//Example 2.42
//Given
rho=7800 //[kg per cubic m]
h=100 //W/(sq m.K) Convective heat transfer coeff
Cp=460 //J/(kg.K)
k=40 //W/(m.K)
L=1 //[m] length ofrod
D=10 //mm
D=D/1000 //diameter in[m]
R=D/2 //raidus in [m]
//For cylindrical rod:
A=2*%pi*R*L //Area in [sq m]
V=%pi*R^... |
9a9fa8f837d8169c41826e315862fc4b9ab7f6d9 | ef7da921e1289d3deaaf9727db2b6f025656e8d9 | /OscillationRate.sce | e47c357161d84e9ca5317a3c5bf1242005220e03 | [] | no_license | PrayagS/SciLab_Exercises | ea88438207f2dc5d3f211c9abfe137a4bd43f68f | 0495ba76e693750980fefb386c28209a6fd6563e | refs/heads/master | 2020-09-08T01:52:22.914681 | 2019-11-16T05:39:29 | 2019-11-16T05:39:29 | 220,977,317 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | OscillationRate.sce | clear;
clf;
n = 0:1:50;
x1 = cos(2*%pi*0*n);
subplot(321);
plot2d3(n,x1);
plot(n,x1);
x2 = cos(2*%pi*0.3*n);
subplot(322);
plot2d3(n,x2);
plot(n,x2);
x3 = cos(2*%pi*0.5*n);
subplot(323);
plot2d3(n,x3);
plot(n,x3);
x4 = cos(2*%pi*0.8*n);
subplot(324);
plot2d3(n,x4);
plot(n,x4);
x5 = cos(2*%pi*1*n);
subplot(325);
pl... |
1b0a85dbfe2c2f1e6d5e78ba64ca6c1aa92e9973 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH6/EX6.12/Chap6_Ex12_R1.sce | e586d548f3d889914e60c384224aa32b3f40f267 | [] | 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,131 | sce | Chap6_Ex12_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-6,Example 12,Page 226
//Title: Minimum power for compression
//================================================================================================================
clear
clc
//INPUT
P1=0.1;//pres... |
da2a8048475d99d7bcc7c33926c1e2f010cd45ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH15/EX15.3/15_3.sce | 48da6eae92686bf291276f7d9d597e29cbac1057 | [] | 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 | 15_3.sce | //Eg-15.3
//pg-611
clear
clc
// The value of y can be computed using the equation :
// y(i,j+1) = 0.68*y(i,j) + 0.16*y(i+1,j) + 0.16*y(i-1,j)
y = zeros(5,5);
y(1,1:5) = 25;
y(1:5,1) = 100;
y(1:5,5) = 100;
//disp(y)
for(j = 2:4)
for(i = 1:4)
y(i+1,j) = 0.68*y(i,j) + 0.16*y(i,j+1) + 0.16... |
4ba98ccc4cecd68b56cd94e349c741588717c969 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/util/hypermat.sci | 69af216e3186e7c55e974f76690c7ea77577516a | [
"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 | 655 | sci | hypermat.sci | function M=hypermat(dims,v)
// Copyright INRIA
//initialize an hypermatrix whose dimensions are given in the vector dims
// all entries are set to 0
//
// M data structure contains the vector of matrix dimensions M('dims')
// and the vector of entries M('entries') such as the leftmost subcripts vary first
// [M(1,1,..)... |
e0d01a3ece79bbc4c3e4918eb6d08d8d3241710c | af7cd799acb90ee773382c3b1b8630e092971cd8 | /tp-cn/system_triangulaire.sce | 9f441c6a7c6d59eb31b5911c0bd8fcc302334791 | [] | no_license | Souad742/my-repo | 1e080b1a593aa1f8f24edd2ed4a766680344510f | 3c0df0e0cf230cbd6160d8e9a08ca7b51bdbf324 | refs/heads/main | 2023-02-03T05:06:47.269245 | 2020-12-18T23:32:27 | 2020-12-18T23:32:27 | 305,127,993 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | system_triangulaire.sce | function [x] = lsolve(A,b)
n=size(A,1);
m=size(b,2);
x = zeros(size(b,1),size(b,2));
x(1,1:m)=(b(1,1:m))./A(1,1);
for i=1:n
x(i,1:m)=(b(i,1:m)-A(i,1:(i-1))*(x(1:(i-1),1:m)))./A(i,i);
end
endfunction
function [x] = usolve(A,b)
n=size(A,1);
m=size(b,2);
x = zeros(size(b,1),siz... |
688f034d68b7f2ce793760dd0e984ef74b236932 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_9.tst | f491812fc80206fc430593b58df6caa1f669a601 | [] | 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 | 22,888 | tst | bow.12_9.tst | 12 2:0.020833333333333332 5:0.03225806451612903 19:0.3333333333333333 21:1.0 31:0.16666666666666666 60:1.0 70:0.25 81:0.3333333333333333 388:1.0 601:1.0 867:0.5 1219:1.0 2516:1.0 4412:1.0
12 2:0.020833333333333332 5:0.03225806451612903 17:0.25 38:0.06666666666666667 47:0.5 70:0.25 110:0.0625 119:0.3333333333333333 135:... |
ec8fe0751675582ec3bfb4fea9b298d4c577332a | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.5/2_5.sce | 91c2413fc10b63fc2bb2da4e22017ee5b0641bd6 | [] | 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 | 2_5.sce | function [Rab,Rbc,Rca]=star_to_delta(Ra,Rb,Rc)
X=Ra*Rb+Rb*Rc+Rc*Ra
Rab=X/Rc
Rbc=X/Ra
Rca=X/Rb
endfunction
function p=parallel(r1,r2)
p=r1*r2/(r1+r2)
endfunction
[Rx,Ry,Rz]=star_to_delta(8,4,2)
Req_ad=parallel(parallel(4,Rx)+parallel(12,Rz),parallel(3,Ry))
disp(Req_ad) |
fbaca81473d9fe2a211d4298837c9fd06e14b420 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH6/EX6.13/ex6_13.sce | 00386ded465006d2f02bf24b1a43f25492d5c9d9 | [] | 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 | 722 | sce | ex6_13.sce | clc;
p1=0.3; // initial pressure of ateam in MPa
T1=350; // Initial temperature of steam in degree celcius
// following are the values taken from steam table for initial state
v1=0.9535; // specific volume in m^3/kg
u1=2886.2; // specific internal energy in kJ/kg
s1=7.868; // specific entropy in kJ/kg K
v2=2*v1... |
96761de0181fb34e4a4a390e41f58c43664e2235 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH1/EX1.25/Ex1_25.sce | d0760dd8081ea0ad44e30363e2f74b08d94d05f2 | [] | 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 | 673 | sce | Ex1_25.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 25")
m1=2;//mass of H2 in kg
m2=3;//mass of He in kg
T=100;//temperature of container in k
Cp1=11.23;//specific heat at constant pressure for H2 in KJ... |
b00717f0924fd66cf9c3797e309859631a6464f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH6/EX6.2/Ch06Ex2.sci | 2168d57c28fcba7faaaac21564851d09382065e3 | [] | 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,065 | sci | Ch06Ex2.sci | // Scilab Code Ex6.2 Rate of diffusion of copper through pure Al sheet: Page-196 (2010)
a = 4.05e-010; // Lattice parameter of fcc Al, m
N = 4; // Number of Al atoms per unit cell of fcc Al
n = N/a^3; // Number of Al atoms per unit volume, per metre cube
D = 5.25e-013; // Diffusion coeffcient of copper ... |
a9e3a00fca266a2b64238d3e8d0a15d9d99903f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH7/EX7.12/Example712.sce | 24c8d65c82974cab9b040a54bd60f483c184f970 | [] | 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 | 847 | sce | Example712.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 7, Example 12")
disp("Dimensionless specific speed is")
disp("Ns = 0.336*(C3/C0)^0.5*(A3/Ad)^0.5 in rev")
disp("A3 and Ad are in m2"... |
983ba1d16ae25dbb28bde659c0c5472709013b33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.14/Ex4_14.sce | 1898ca4b27d6103e02e5ed99c1fa45e577a45896 | [] | 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 | 398 | sce | Ex4_14.sce |
// Ex4_14
clc;
// Given:
E0=1.7;// in MeV
// Solution:
// For E0<2.5 MeV; using Katz and Penfold empirical equation we have
R1=412*((E0)^(1.265-0.0954*log(E0)));// mg/cm^2
// Using feather's relation we have
R2=530*E0-106;// mg/cm^2
printf("The range in Al for beta radiation is %f mg/cm^2 using Katz and ... |
6a1d60f24d01f512b4a2ce1ce790baa2c4390017 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH21/EX21.5/Ex21_5.sce | b98e178fcfcc9b1f5985332d24028a565ba82301 | [] | 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 | 208 | sce | Ex21_5.sce | //Example 21.5
clc;
V_max=150//in V
V_rms=(V_max)/sqrt(2)
I_max=.255//in ohm
I_rms=I_max/sqrt(2)
cos=.426
P=V_rms*I_rms*cos
disp(V_rms,"Voltage in V=")
disp(I_rms,"Current in Amps=")
disp(P,"Power in watt=")
|
67a7de79dd63d59aeed65e99e6d14e8252197ded | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH6/EX6.6/6_6.sce | 6097006adcda46c8f4661e634064599a5f56b36d | [] | 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 | 6_6.sce | //clc();
clear;
//To calculate the percentage of volume change
T=910; //temperature in C
r1=1.258; //initial atomic radius in Armstrong
r2=1.292; //latter atomic radius in Armstrong
a1=(4*r1)/sqrt(3); //lattice constant in BCC structure
Vu1=a1^3; //volume of unit cell of BCC
n1=2;
V1=Vu... |
7dbd02771e3c5a1a686059b4dbc1f8eb5d32b027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH3/EX3.3/Ex3_3.sce | 5550f3d7f0d9fb82ab506b1531d5c1e0f2979933 | [] | 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 | 388 | sce | Ex3_3.sce | //example-3.3
//page no-78
//given
//ionia radius of Na and cl are resp.
r1=0.98*10^(-10) //m
r2=1.81*10^(-10) //m
//no of atons in FCC
N=4
//total volume of Na and cl ions are resp
v1=N*4/3*(%pi)*(r1)^3 //m^3
v2=N*4/3*(%pi)*(r2)^3 //m^3
//the lattice constant
a=2*r1+2*r2
//average packing fraction
AP... |
2bbb69822ab306ceb50db1b240fc66a365c7d28b | 72bdc6d649588b61192529e7d1420ddc18d1a67a | /tema1/Ejemplo3cTema1.sce | e2d9c17efa684559ec5a07d8b0bab1bc870c2bef | [] | no_license | jgpATs2w/scilab-examples | c3fcff648f720a8e909b2af0ec9ab70fb90dfcd2 | 59522a5ae1abbadf6f62bff16095f4b74c707918 | refs/heads/master | 2020-09-27T23:41:06.927931 | 2020-02-11T08:54:24 | 2020-02-11T08:54:24 | 226,637,785 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | Ejemplo3cTema1.sce | clear
i=0;
producto=1;
for a=1:1:12
for b=a+1:1:13-a
c=15-a-b
if c<>a & c<>b & a*b*c>producto
producto=a*b*c
i=i+1;
ternassuman15(i,:)=[a b c];
resultado=[a b c]
end
end
end
disp(ternassuman15)
disp(producto)
disp(resultado) |
fae0b880aa545d6031aece43a7c200002442e82e | b37ac7105c45cf46c3d4a422d28ad4977fa8f380 | /gradient-descent/fitting-line-using-gradient-descent.sci | c950814829fffadb560473d7c71560ebd0ca5ce9 | [] | no_license | svrealtime/publecture-ai-smalldata | d0045ed9852d03e29c829ba7aa6eb7611201e57c | 7479f2eaaef60d2e425828229e3b1f3648418168 | refs/heads/master | 2020-07-17T13:50:41.277701 | 2017-06-14T10:43:51 | 2017-06-14T10:43:51 | 94,319,589 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,806 | sci | fitting-line-using-gradient-descent.sci | // given 5 samples (c.q. approximated points) of a line
// determine the parameters of the best fitting line
// i.e. a and b in l:y = ax + b
// via gradient descent
// e.g. y=2x-3
xx = 1:5;
yy = [-1.1, 0.9, 3.2, 4.9,7.2]; // approximations
function [a, b] = update_one_step(a, b, xx, yy, lambda) // lambda is lea... |
3499ef3e1aa7e4883eb33c2e7a2ffe3fb4d5c590 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/percent/%re.sci | 0fbd078665936efc896dc056e26268502e2a69b3 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sci | %re.sci | function [f1,f2,f3,f4,f5]=%re(i,j,f)
// %re(i,j,f) extraction f(i,j) in a rational matrix
//!
if type(i)==10 then
[lhs,rhs]=argn(0)
if rhs<>2 then error(21),end
nams=['num','den','dt']
for k=1:prod(size(i))
kf=find(i(k)==nams)
if kf==[] then error(21),end
execstr('f'+string(k)+'=j(kf+1)')
end
r... |
e8d23bead3415b486f6985ee7cbd2c9951a7fd34 | 98efda43218be3d9e665771c28742517fd4f334f | /Toolbox Test/rc2is/rc2is3.sce | 0de47ff0b0268bdff8ba9be485f5fb3b52072dea | [] | no_license | ankurmallick/Scilab_spt | bded5b3ed7c5618770ef4bb997b5f61aa7732cd9 | e35c986f70147ee773796c839153ed7adbda3941 | refs/heads/master | 2021-01-17T06:48:24.162281 | 2016-12-05T12:54:24 | 2016-12-05T12:54:24 | 43,445,584 | 0 | 2 | null | 2015-12-10T05:15:44 | 2015-09-30T16:47:57 | Scilab | UTF-8 | Scilab | false | false | 203 | sce | rc2is3.sce | //Testing for complex inputs(exception handling)
a=2+1*%i;
rc2is(a);
//Output
//--error 10000
//Input reflection coefficients are not real
//at line 33 of function rc2is called by :
//rc2is(a);
|
356044b68980d21b237433092f457c94411f08d2 | 3283519dac9c1e61d043b013149244a630700610 | /Problem Set 2/Pset2-Item4/4B-Lineweaver.sce | b00bdc7c192fbf27b5ba62ea751d4c3dfcece292 | [] | no_license | PascuaPrimrose/CS-131---Numerical-Methods | c9496ecc37100ef3f9175f3cbc4eb2b745f8fa1c | 69db2c5b6794e6af748991b6995172d59c65de50 | refs/heads/master | 2020-04-24T16:23:00.646776 | 2019-02-22T17:13:03 | 2019-02-22T17:13:03 | 172,104,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | 4B-Lineweaver.sce | //Linear Least Squares Lineweaver (i)
clc
clear
C = [2.5, 5, 10, 15, 20];
v0 = [0.024, 0.036, 0.053, 0.060, 0.064];
function [a0, a1] = leastSq(x, y)
nx = 5
sumX = sum(x)
sumY = sum(y)
sumXY = sum(x.*y)
sumXX = sum(x.^2)
a1 = (nx*sumXY-sumX*sumY)/(nx*sumXX-sumX^2)
a0 = (sumXX*s... |
90177c9ee1f78d51ffb89e247773f3a48efa6ab3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH11/EX11.1/ex_1.sce | b4ffdc6e02e682f5b2138e0d5dfc0d9a8dcfd40e | [] | 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 | 187 | sce | ex_1.sce | //Example 1// Frequencies
clc;
clear;
close;
//given data :
t=2;// in sec
n1=100;// in vibrations/sec
n2a=n1+(1/t);
n2b=n1-(1/t);
disp(n2a,"frequency,n2a= ")
disp(n2b,"frequency,n2b = ")
|
4640904b7e3e4067c873cbbe4c91c3b341090493 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH4/EX4.2/2.sce | 37e770be645b5ff54c3988cdc56f9109a397f013 | [] | 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 | 431 | sce | 2.sce |
//Variable declaration
e=1.6*10**-19;
m=9.1*10**-31; //mass(kg)
h=6.626*10**-34; //planck's constant
lamda=1.66*10**-10; //wavelength(m)
//Calculation
v=h/(m*lamda); //velocity(m/s)
E=h**2/(2*m*e*lamda**2); //kinetic energy(eV)
//Result
printf('velocity is %0.3f *10**4 m/s \n',(v/10*... |
cc944703a01b0beb75ad5dc537ff343cb6dd8750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH9/EX9.1/Ex9_1.sce | e4998a53744b8a552ba0bc38116be6f092b2907b | [] | 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 | sce | Ex9_1.sce | //Chapter 9: Reflector Antennas
//Example 9-2.1
clc;
//Variable Initialization
P_transmit = 25000.0 //Power transmitted by station transmitter (W)
gain_dbi = 29.0 //Gain of array (dBi)
r = 7500e3 //Distance (m)
h = 250e3 //Height (m)
z = 377.0 //Intrinsic i... |
fe9c06f2c9d7b2442bd203edf15c5c52a2e9194b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH4/EX4.15/Exa4_15.sce | ca2f063eeddbaac1a4942d0bd917329c8fade840 | [] | 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 | 411 | sce | Exa4_15.sce | //Exa 4.15
clc;
clear;
close;
// given data
Gain=10;//Unitless
fb=10;//in KHz
//Assuming fa=fb/10
fa=fb/10;//in KHz
// Formula : fa=1/(2*pi*RF*CF)
RFCF=1/(2*%pi*fa);
//Assuming R1=1Kohm
R1=1;//in Kohm
RF=10*R1;//in Kohm
CF=RFCF/RF;//in uF
Rcomp=(R1*RF)/(R1+RF);// in Kohm
disp(RF,"Value of RF in Kohm is ... |
bf21d0f581bbf683918b1800b8d6ab12ce1098b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH6/EX6.10/ex6_10.sce | b9d2519da4c74862924b4d999587e86381f84e88 | [] | 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 | 406 | sce | ex6_10.sce | //Programming Example 6.10
//Averaging a list of numbers
count=1;
Sum=0;
//initialize and read in a value for n
printf("How many numbers ? ");
n=scanf("%d");
//read in the numbers
while(count <= n)
printf("x= ");
x=scanf("%f");
Sum=Sum+x;
count=count+1;
end
//calculate the aver... |
87d20b15b7b40cb0655f64bffc92005b2dffd2c4 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/unr_oper_11.tst | 28c973e45151e5fb8cfaf4f094592c21ffc6e948 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | tst | unr_oper_11.tst | // @Harness: verifier
// @Purpose: "Test for operator resolution"
// @Result: "UnresolvedOperator @ 7:25"
architecture unr_oper_01 {
subroutine foo(a: int, b: boolean): void {
local e: int = a | b;
}
}
|
650313ddb3775ca4be04f7e59869739be28e3bbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH40/EX40.13/40_13.sce | 4bf59974517b79c94011ac3db042578dff3f2960 | [] | 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 | 40_13.sce | //Problem 40.13: A capacitor is charged with 5 mC. If the energy stored is 625 mJ, determine (a) the voltage across the plates and (b) the capacitance of the capacitor.
//initializing the variables:
e0 = 8.85E-12;
er = 1;
Q = 5E-3; // in Coulomb
W = 0.625; // in Joules
//calculation:
//voltage across the pl... |
495d9f71e01fec56e1a82be4e78e3bfd2b26dd43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.12.b/solution10_12.sce | cd03358d26158af19c13df565c8be4b15edef663 | [] | 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,683 | sce | solution10_12.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution10_12.sce')
//Obtain path of data file
datapath = path + filesep() + 'data10_12.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the maximum spring force P (N)
P = m * 9.81
//Calculate the Wahl Factor K
K = (((4 * C) - 1)/((4 ... |
bfea4ae745be39563435e007127dc9e3002380fc | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/trim/trim_f16.sci | 88de1d37dfe33fb10df6bc106609a844b7cf31c7 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,582 | sci | trim_f16.sci | exec('eqm/engine_f16.sci');
exec('eqm/eqm.sci');
exec('eqm/params_f16.sci');
function [X, controls, params] = trim_straight_level(V_ftps, alt_ft, xcg)
[out, inp] = argn(0);
if inp<3 then
xcg = .35;
end
if inp<2 then
alt_ft = 0.0;
end
params = load_f16();
params.xcg = xcg;
... |
2350f9f0c8475500e1161a88204a9c47c986b76e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/%lss_ones.sci | 4b5e783c23fd92a3a698c5e86af311fec20209c2 | [
"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 | 56 | sci | %lss_ones.sci | function x=%lss_ones(a)
// Copyright INRIA
x=ones(a(5))
|
2c12f5e332fb32b02a4ced8a0c0937cb3ed0afa4 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /matlab/plasma/bfieldtrapezium.sce | 6e98f4f1f6d6de331f449576afa85981e0556ad8 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,639 | sce | bfieldtrapezium.sce | //bfield outside a solenoid
//assume solenoid aligned along z axis
function [b]=bfieldtrapezium(r,ztp,zbot,n,i,rfp,dtheta)
//n number of turns
//i per turn
bt=zeros(3,1);
btd=zeros(3,1);
mu0=4.0*%pi*(10^(-7));
dz=(ztp-zbot)/n;
ce=zeros(3,1);
//calculate field contribution for each turn
//z=zbot;
... |
20ce2be715376b2b6ba2b48a4543a62e0f14b250 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH8/EX8.7/Ex8_7.sce | ea05d9cb99418f0c6d2b05d020c1d9dde7fd5fb6 | [] | 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 | Ex8_7.sce | //Example number 8.7, Page number 172
clc;clear;
close;
//Variable declaration
H=1800; //magnetizing force(amp/m)
chi=3*10**-5; //magnetic flux(wb)
A=0.2*10**-4; //area(m**2)
//Calculation
B=chi/A;
mew=B/H; //permeability(henry/m)
//Result
printf("permeability is %.3e H/m^2",mew)
//answer in the book i... |
ca32002dccf9525f772b5e3aa18b87b8bdcb92b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH13/EX13.6/Ex13_6.sce | a1dd47006ae11fea8b03e7a33639586020c659db | [] | 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,027 | sce | Ex13_6.sce | clc;clear;
//Example 13.6
//13.6 (d) answer not matching as float datatype is giving more accurate answer in comparison to textbook that has given approximate due to rounding off to two decimal places
//given data
mfs=0.0348;
mfw=0.9652;
T0=288.15;
//constants used
Mw=18;
Ms=58.44;
Rw=0.4615;
pm=1028;
R... |
b022bff1bd5fb6d52b86f3fcd47baee4554e9115 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/mtlb/%s_c_b.sci | 3dc5de6cc0e4d1b93583cfb58fe14a305bfe9638 | [
"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 | 39 | sci | %s_c_b.sci | function r=%s_c_b(s,b)
r=[s bool2s(b)]
|
e8539fabbab700f9cbad6ee417c3514bf9b4ecec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH1/EX1.10/ex1_10.sce | 0bca1dc909c64e81dd09087703a355c20b4a9ca4 | [] | 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 | 280 | sce | ex1_10.sce | clc;
clear all;
n = 2.8e10; // Rigidity modulus in Newton per meter suquare
theta = 90; // In degress
theta1 = theta*(%pi/180); // in radians
l = 2; //Length of wire in meter
r = 0.5e-3; // Radius of wire in meter
t = (%pi^2 * n *r^4)/(4*l);
disp('Nm',t,'Torque is');
|
26d708baaa477ac867509e13eee0fc2e51f389eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH14/EX14.11/Ex14_11.sce | b50ce7969220981cd31dded11274bbead6f090a3 | [] | 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 | 228 | sce | Ex14_11.sce | //Ex14_11 Pg-699
clc
L=500/1000 //length of fiber in m
Pin=1*10^(-3) //input power in watt
Pout=85/100*10^(-3) //output power in watt
alpha=(10/L)*log10(Pin/Pout) //loss
printf("Loss in the fiber = %.2f dB/Km",alpha)
|
7616deb9a0ebaff642ab1e04316c96efbb4358a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.8/2_8.sce | 0a05d4239cf77c1b08721d6dd2769dc22d53b2b8 | [] | 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 | 155 | sce | 2_8.sce | //Converting practical voltage source to current source
I=12/6
//KCLs
A=[0.7,-0.5;-0.5,0.767]
V=inv(A)*[7;2]
disp(V)
I12=(V(1)-V(2))/2
disp(I12) |
d28940028228f56d935fcbfd152a45c4e9e6d3f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH15/EX15.11/eg_15_11.sce | bc81bcfff013cd858678ba82189f86cd072c5500 | [] | 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 | 442 | sce | eg_15_11.sce | clc;
clear;
A=[0 1 0;
1 0 0;
0 1 1];
B=[1;1;1];
C=[1 0 0];
D=[1];
K=[C;C*A;C*(A*A)];
disp(K);
disp(rank(K),'rank of K matrix is ');
disp("Since the rank is 2 K matrix can be reduced");
disp("As only the first 2 rows are linearly independent therefore");
T=[1 0 0;0 1 0];
disp(T,'T =');
disp("In thi... |
9deeff29349d367ff7a179196135e51af5f07478 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH11/EX11.2/Ex11_2.sce | 326d2e131c31cd1c827756f2a23a925e71941da8 | [] | 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 | 737 | sce | Ex11_2.sce |
// Theory and Problems of Thermodynamics
// Chapter 11
// Kinetic Theory of Gases
// Example 2
clear ;clc;
//Given data
P = 0.1 // pressure of helium surface exposed in MPa
T = 300 // temperature of helium surface exposed in K
R = 8.314 // gas constant
M = 4*1e-3 ... |
702331af6b8ff379e9ce1edf30242456a004a57e | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/Local_Planner/matrix_fromAngleVector.sci | 739ed07c8c35ef27f6d922ca1370c23dd6b22dfc | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sci | matrix_fromAngleVector.sci | function Rmat = matrix_fromAngleVector(angle,vector)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//Outputs the rotation matrix according to Rodrigues formula
//INPUT
//
//OUTPUT
//
//TODO :
//----------------------... |
64133903b69ee5a9e62289a11e69801941ac05d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH2/EX2.23/Ex2_23.sce | 54408889203a06febaab69edcd3bb7f73d8156df | [] | 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 | 552 | sce | Ex2_23.sce | //exa 2.23
clc;clear;close;
format('v',7);
//dF1/dP1=0.025*P1+15;//
//dF2/dP2=0.05*P2+20;//
PL=15.625;//MW
P1=125;//MW
lambda=24;//Rs. per MWh
B11=PL/P1^2;//Coefficient Loss
//dF2/dP2*L2=lambda
P2=poly(0,'P2');
L2=1;//penalty factor
eqn=(0.05*P2+20)*L2-lambda;
P2=roots(eqn);//MW
//PL=B11*P1^2
P1=poly(0,'... |
e32f361995a53efeb8744473022e421287099e16 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/DT87NVH/ATWM1_Working_Memory_MEG_DT87NVH_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | 9b0a813e27f7129c0ebe607443f63d0f80ba2ffc | [] | 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,597 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.