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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6317a9607e40ca10d4fbe204f733d65917433820 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH4/EX4.2/Ex4_2.sce | e59f683e3abd752ec804849dd2a7c593dde8d299 | [] | 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 | 344 | sce | Ex4_2.sce | // Exa 4.2
clc;
clear all;
// Given data
Iful= 50; // Fullscale deflection current in micro Amperes
Rm= 500; // Internal resistance in Ohms
V= 10; // Full range voltage of instrument(Volts)
// Solution
Rs= V/(Iful *10^-6)-Rm; // Multiplier resistance
printf('The value of multiplier resistance = %.... |
81497a77c20391bb648ba73a7334a989e873705a | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_rc_controller.sci | 61fc8edbc0670d3c8256d584c7b5a771ea3e5126 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 2,176 | sci | mdaq_rc_controller.sci | function [x,y,typ] =mdaq_rc_controller(job,arg1,arg2)
rc_controller_desc = ["This block converts PWM signals from RC controller receiver";
"to number. Block supports up to 4 PWM channels. In order to";
"use block DIO25...DIO28 needs to be configured as an input.";
"Channels: 1 - DIO25, 2 - DIO26, 3 - DIO27, 4 - ... |
766ea18d581be97e77b431502ace484137617650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH4/EX4.1/Exp4_1.sce | 96f3dfd1a28848414b22b7288af6acf3e467edbd | [] | 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 | 269 | sce | Exp4_1.sce | //Example 4.1
clc
n=120/8
format(3)
disp(n,"n = slots/pole =")
m=15/3
disp(m,"m = slots/pole/phase = n/3 =")
beta=180/15
disp(beta,"beta(in degree) = 180/n =")
kd=(sind(30)/(5*sind(6)))
format(6)
disp(kd,"Therefore, K_d = sin(m*beta/2) / m*sin(beta/2) =")
|
8f82ef221f1c442cba3378fc878bce77129fe577 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/2_4.sci | 41806a2477321318c3fb6e3eeb8705921bc30a82 | [] | 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 | 132 | sci | 2_4.sci | FA0 = 5; // mol/s
rAat=-(1/400);
X = [0 0.1 0.2 0.3 0.4 0.5 0.6]';
p = [189 192 200 222 250 303 400];//1/-rA = 800//dm^3.s/mols |
3c37b57c36b5013e4b634c466f89a8aa32fd89bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH4/EX4.16/Exp4_16.sce | c944e60d3e2506dafcd543dbbe62b0be9eff80eb | [] | 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 | 675 | sce | Exp4_16.sce | //Example 4.16
clc
disp("V_ph = 2200 V, f = 50 Hz, 440 kVA, R_a = 0.5 ohm")
disp("I_aph = 200 A = I_ac, V_oc = 1160 V, I_f = 40 A")
za=1160/200
format(4)
disp(za,"(a) Z_s(in ohm) = V_oc/I_ssc |same I_f =")
xs=sqrt((5.8^2)-(0.5^2))
format(7)
disp(xs,"(b) X_s(in ohm) = sqrt(Z_a^2 - R_a^2) =")
disp("(c) c... |
854f54d7fe472cb05f7bf6bd42f9bc7cec8ff39f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH3/EX3.8/3_8.sce | be58e9422327fe69c6aa596994204a1fd6260f17 | [] | 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 | 167 | sce | 3_8.sce | clc
clear
//Initialization of variables
C=1/4000
F=125 //lb
n=3500 //rpm
//calculations
Bhp=F*n*C
//results
printf("Bhp developed by the engine = %.1f",Bhp)
|
a8af5869e8b9372e62819df29125a51170ec6ec5 | 694ad1c574305de3b85702522d231dea9660e94c | /test/table.tst | 1286edca7abea00e8fc85bbdfd04bb0c6e17b66c | [] | no_license | Mark-Seaman/SeamanTech | ced41e87b2b6fe2ffdc1172c2bd1b2e207536dfd | f2635eb82c26990305ff338c1a9dcbbf4618a3ed | refs/heads/master | 2021-01-13T02:03:24.626053 | 2015-12-07T16:20:34 | 2015-12-07T16:20:34 | 23,025,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31 | tst | table.tst | tpyrun $p/bin/util/table_test
|
d77c05a3e8f95a623d344e02b599450aee9bfbed | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.20.b/solution10_20.sce | d7b936abb0e8ed1face9ba8d487e01acfc86b853 | [] | 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,108 | sce | solution10_20.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution10_20.sce')
//Obtain path of data file
datapath = path + filesep() + 'data10_20.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the maximum force in the spring Pmax (N)
Pmax = 2 * Pmin
//Calculate the factor containing C and ... |
148360f4b2e10e411adffd99ffa385178c36e658 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH2/EX2.12/Example2_12.sce | 7b3e2ee39c43ed7e0e05de8cd291e854f86486b5 | [] | 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,055 | sce | Example2_12.sce | clear;
clc;
// Example: 2.12
// Page: 57
printf("Example: 2.12 - Page: 57\n\n");
// Solution
//*****Data*****//
m = 1;// [kg]
P1 = 8;// [atm]
T1 = 50 + 273;// [K]
// V1 = V;// [L]
// V2 = 5V;// [L]
V1_by_V2 = 1/5;
gama = 1.4;
R = 0.082;// [L-atm]
//***************//
// Adiabatic process:
prin... |
4ff978f0a6c45c606836d843bf999b99a6007af4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH4/EX4.14/Example4_14.sce | 7da622fc3827b1cca5dee79fb8704594d9ebee1b | [] | 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 | Example4_14.sce | //Example 4.14
clc;
clear;
close;
format('v',9);
//Given data :
S1=1;//sp. gravity of water
S2=1;//sp. gravity of water
S3=0.9;//sp. gravity of oil
h3=100/1000;//meter
w=9.81*1000;//N/m^3
pAB=w*(h3-h3*S3);//N/m^2
disp(pAB,"Difference of pressure in N/m^2 or Pa : ");
|
e4d23bb4c8eacc3cf6b80aa6c3780c99530f0074 | 464ce6326e71577dfbaa32e2c881306849780844 | /macros/bsc.sci | 29ed9a3e2375768a6a00fb814929eebe0ffa2eec | [] | no_license | tripathiaishwarya/itpp_module | 43bfd0fea477eb6c687dc7468c25140102096d72 | f701b8e0fe065dbdf55da14b821aa45a56499135 | refs/heads/master | 2021-01-10T21:54:18.914097 | 2015-07-06T10:19:02 | 2015-07-06T10:19:02 | 38,388,403 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sci | bsc.sci | function [output] = bsc(input, p)
funcprot(0);
[nr , nc ]= size (input)
intermediate = zeros(1, nc);
if (p<0) then
disp("p must be between 0 and 1");
abort
end
if (p>1) then
disp("p must be between 0 and 1");
abort
end
for i = 1:nc
select input(1,i)
case 0
case 1
else
disp("Binary data expected");
ab... |
b222152220f8fefb2c5dd24700e77f2526b0e6dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH3/EX3.2.1/3_2_1.sce | afc563426ee92d7dfaec5acef7935214e8af2ed2 | [] | 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,443 | sce | 3_2_1.sce |
//chapter_no.-3, page_no.-89
//Example_no.3-2-1
clc;
//(a)Calculate_the_reflection_coefficient
Zl=70+(%i*50);
Z0=75+(%i*.01);
r=(Zl-Z0)/(Zl+Z0);
x=real(r);
y=imag(r);
o=atand(y,x);
disp(o,'the_phase_of_reflection_coefficient is =');
M=abs(r);//magintue_of_r
disp(M,'the_magnitude_of_reflection_coefficient_is =');... |
d5b157b9ba4a5787adcafcad39b1a55cf59fc1d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.21/ex2_21.sce | 806e15572f331ac026df2c127a811f66703d4eac | [] | 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 | ex2_21.sce | // Exa 2.21
clc;
clear;
close;
format('v',6)
// Given data
R1 = 4;// in ohm
R2 = 3;// in ohm
R3 = 2;// in ohm
R_L = 5;// in ohm
V = 15;// in V
I2 = 6;// in A
// -R1*I1 - R3*I1 + R3*I2 + V = 0;
I1 = (V+R3*I2)/(R1+R3);// in A
Vth = I2/R3;// in V
V_CD = Vth;// in V
Rth = (R1*R3)/(R1+R3)+R2;// in ohm
I = ... |
d2d8a88a5527096a0c02e2d95946c356939c001a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH17/EX17.3/Ex17_3.sce | baddc9cc914c52ed4cf548224e1c104f095a726b | [] | 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,894 | sce | Ex17_3.sce | clear;
clc;
disp('Example 17.3');
// aim : To determine
// (a) the brake power
// (b) the brake specific fuel consumption
// (c) the indicated thermal efficiency
// (d) the energy balance, expressing the various items
// given values
t = 30;// duration of trial, [min]
N = 1750;// speed of engine, [rev/min... |
6ae07001ee625fd0f9c9818ea5085ac25715b511 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH8/EX8.10/Ex8_10.sce | ac708dde8ac0406eba5e6f8a5a42ee27ceb1c9df | [] | 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 | 105 | sce | Ex8_10.sce | clc;
ApdB=-3;
Ap=10^(ApdB/10);
Pout=0.05; //watt
Pin=Pout/Ap; //watt
disp('mW',Pin*1000,"Pin=");
|
036484c7827d812f4634dc68b4d14c029260fc24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH37/EX37.3/Ex37_3.sce | 69190e77546c252aaf0126880383415f53b62b87 | [] | 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 | Ex37_3.sce |
//To Calculate the percentage increase in Magnetic Field
//Example 37.3
clear;
clc;
X=2.1*10^-5;//Susceptibility of Aluminium
Bin=X*100;//Percentage increase in Magnetic Field
printf("Percentage increase in the Magnetic Field = %.1f*10^-3",Bin*10^3);
|
9e97cd72df6adf081ec654d5b8a9589b496151a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3889/CH5/EX5.7/Ex5_7.sce | e3d541ae228da002d204c62716624bd3877f4c39 | [] | 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 | 571 | sce | Ex5_7.sce | //Example 5.7
//page 324
//Control Systems: Principles and Design
//M Gopal, Second Edition, Tata McGraw-Hill
//Chapter:Concepts of Stability: Routh Stability Array
xdel(winsid())//close all graphics Windows
clear;
clc;
//transfer function
s=%s;
P=s^6+s^5+3*s^4 + 3* s^3 +3*s^2 +2*s +1;
//routh array
r=ro... |
1ae840392a4b6900a547d9c28ab2cf500352572e | 80e79c1a0b81d3c24fe9c6746adfc6bb0013628f | /check/security.tst | 3f0ac38d2ec79a658b32f6c4597989bb6ecfdc46 | [] | no_license | wisard/bash | bf6acbc6a07dcb87aa35cf9a1bdbb123862f83bd | 78b038078e6e7e190d0d3c8ac4bd7613639eb628 | refs/heads/master | 2021-06-05T00:04:08.499634 | 2018-04-03T06:29:04 | 2018-04-03T06:29:04 | 5,629,950 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | tst | security.tst | test_userid()
{
CURRENT=""
OKVALUE="${1}"
CURRENT=$( $REMOTE id -u wisard 2>/dev/null )
if [[ "x${CURRENT}" != "x${OKVALUE}" ]]; then
return 1
else
return 0
fi
}
test_selinux()
{
CURRENT=""
OKVALUE=${1}
CURRENT=$( $REMOTE sestatus 2>/dev/null| sed -n 's/SELinux status: *\(.*\)$/\1/p' )
if ! [[ "$... |
e0e38fc69eafb30deb40827ef6f7fd392843cd8e | b61214213da59c049ec1a018e815f4feb95bccca | /lexers/Scilab/example_calculator.sce | 726d7d17cbc2f958053f80efee2f3ede9c72cf83 | [] | no_license | Alexey-T/lexer_tests | 25ab893f928fe2ac073c153e349c140fd3bd8678 | 3d26a98a4f9a2ae12c4074ea90b9416d75736b83 | refs/heads/master | 2023-08-17T13:07:10.432096 | 2023-08-13T06:51:15 | 2023-08-13T06:51:15 | 74,854,492 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,686 | sce | example_calculator.sce | // Copyright 2013 Anna Bassi, EnginSoft S.P.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... |
7274b20edd062e9b4f21af5a1fe5134969bc9352 | 002b6230874dea6e4d76defafc1ae293b5744918 | /library/Demos/LocalRegions/Tests/LocProject3D_Prism_Mod_Basis_P6_Q7.tst | 5dbfd32537d6393f5b1fdec0cc77c8d7d273ec22 | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | tst | LocProject3D_Prism_Mod_Basis_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Project3D Prism Modified basis P=6 Q=7</description>
<executable>LocProject3D</executable>
<parameters>7 4 4 5 6 6 6 7 7 6 0 0 0 1 0 0 1 1 0 0 1 0 0.5 0 1 0.5 1 1</parameters>
<metrics>
<metric type="L2" id="1">
<value t... |
bc413496ebab7feb2a2fe985bc253d03665ef094 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH12/EX12.13/Ex12_13.sce | 989663f45034e36617ec1ff2e475360a5ec17701 | [] | 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,027 | sce | Ex12_13.sce |
// Given:-
T1 = 38.0 // temperature of entering air in degree celcius
psi1 = 0.1 // relative humidity of entering air
AV1 = 140.0 ... |
e279d9e0c8284d974969f3cfd165e0ceead122a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH21/EX21.11/Ex21_11.sce | 2c0f1fdf969824a8dd1a40c103fc0446b0cce2b2 | [] | 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 | 384 | sce | Ex21_11.sce | //example-21.11
//page no-650
//given
//frequency
f=50 //Hz
//eddy current loss in transformer
We=100 //W
//to find eddy current loss at frequencies
f1=60 //Hz
f2=100 //Hz
//as we know that
//We is directly proportional to f^2
We1=f1^2*We/f^2 //W
//similarly
We2=f2^2*We/f^2 //W
printf ("the eddy cu... |
f2e2c1a99add5d8af44acf4335b295fd0ca05c32 | 940067908a620ecf3af07168e750cd30769047e4 | /IntegraleSimpson.sce | 1ddbe4da2d302406fdfe5da363a2e82d1603f233 | [
"MIT"
] | permissive | davidfotsa/Numerical_Methods_With_Scilab | 9bada60e6feba012fa7a52ce0e0ea85a40afd0d4 | a3c731888b8a7a77f0d851210bc62e00e348ace9 | refs/heads/main | 2023-08-01T13:11:14.528993 | 2021-09-28T04:19:38 | 2021-09-28T04:19:38 | 407,939,339 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | IntegraleSimpson.sce | //Integration par la méthode de Simpson
x=-3:1:3;
y=[2.3,1.6,.7,0,.7,1.6,2.3];
function I=IntTrap(x,y)
n=length(x);
I=y(1)-y(n);
if n>2 then
for i=1:(n-1)/2
I=I+2*(2*y(2*i)+y(2*i+1));
end
end
I=I/3;
endfunction
disp(IntTrap(x,y));
|
6acde0afe53feb0eb8e13ffaba4ca67dad3334e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.36/ch7_36.sci | 525a2307339c7601885f23f3c6c41da5a4f853e6 | [] | 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 | 990 | sci | ch7_36.sci | //to sketch speed the speed-torque characteristicsof the series motor connectedto mains by calculating speed and torque values at diff values of armature current
clc;
Ise=[75 100 200 300 400];
V=250;
Ra=.08;
function [Ea]=Eaa(Ise)
Ea=V-Ra*Ise;
endfunction
Eav=[121.5 155 250 283 292];
n=1200;
function[... |
652cced6591d97f44bf1bf267597dbbeada4e4b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.2/EX20_2.sce | e14c38c34129ca5acb8095b51b14b51fdc42e536 | [] | 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,194 | sce | EX20_2.sce | clc;funcprot(0);//EXAMPLE 20.2
// Initialisation of Variables
N=300;............//Compressor rpm
afr=15;.........//Air fuel ratio
etamech=0.85;....//Mechanical efficiency
etamt=0.9;.......//Motor transmission efficiency
v=1;............//Volume dealt with per min at inlet in m^3/min
rld=1.5;........//Ratio of st... |
e73e0600b18d932c52a4a2108077647228922d5a | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/functions/pmgei_method/method/pls/rescale.sci | 4921006548d9467414e6fcf248b8df21d526f046 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sci | rescale.sci | function [X] = rescale(Xsc,Xbar,Xstd)
// Ouput variables initialisation (not found in input variables)
X=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
[n,k] = size(Xsc);
X=(Xsc.*[ones(n,1)*Xstd])+(ones(n,1)*Xbar);
endfunction
|
2e92f6c526eb63541658f0c1246dadf416ddd340 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH7/EX7.3/Ex7_3.sce | 3fbdfa483401d84ba95da449e79ae60d633056c5 | [] | 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 | 319 | sce | Ex7_3.sce | clear
//
//
//
//Variable declaration
d=1.181 //lattice spacing(angstrom)
theta=90*%pi/180 //glancing angle(radian)
lamda=1.540 //wavelength of X-rays(angstrom)
//Calculation
n=2*d*sin(theta)/lamda //order of diffraction
//Result
printf("\n order of diffraction is %0.3f ",n)
|
eb7afce20e704cc81d72faa9fb833e609a76c94d | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/PulseWaveSolver/Tests/Paper2_DG.tst | 8172b28205ea9b7fcca3a3fa33a43db9519f4e2b | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 685 | tst | Paper2_DG.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>1D straight vessel, P=5</description>
<executable>PulseWaveSolver</executable>
<parameters>Paper2_DG.xml</parameters>
<files>
<file description="Session File">Paper2_DG.xml</file>
</files>
<metrics>
<metric type="L2" id="... |
1ffbc3e317427a2c1329c29c086923beb42cbf3d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.12_4.tst | 4cd0a516eaf635b5ade00a8231d902b7bc03011d | [] | 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 | 437,774 | tst | 5.12_4.tst | 12 331:1 364:1 424:1 882:1 2271:1 2558:1 3413:1 4213:1 4527:1 6461:1 6548:1 6932:1 7299:1 7443:1 7474:1 7540:1 8024:1 9173:1 11269:1 11465:1 12728:1 12959:1 13045:1 13324:1 14748:1 15067:1 15298:1 15833:1 16177:1 16860:1 16908:1 16950:1 17269:1 17673:19 18468:1 20426:1 20848:1 21227:1 21292:1 22018:1 22521:1 22854:1 23... |
6c57c51b418cc2f12919297f59b70f3b403f13df | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH3/EX3.2/32.sci | 934b38cc88a26a90bd7b5f73ea38fe5ca4a156ff | [] | 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 | 654 | sci | 32.sci | //chapter 3 example 2//
//temperature of silica glass=T,isothermal compressebility=Bc,refractive index of silica=n1,photoelastic coeffcient of silica=P,boltzmann constant=Kb,optical wavelength=l,rayleigh scattering coeffcient=Tr,attenuation in km=Akm,attenuation in db=Adb//
clc
clear
n1=1.46;
P=0.286;
Bc=7*(10^-1... |
deede71ce12b9c87387266e493192cd551987b8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH2/EX2.4/Ex2_4.sce | 5e1c29424949d768ac0da88a00904d27dfd29b85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex2_4.sce | clc
//solution
// initialization of variables
m=2 // mass of water in kg
P=2.2 // pressure in Mpa
T=800 // temperature in degree centigrade
// Table C.3 is used for values
v=0.2467+(P-2)*(0.1972-0.2467)/(2.5-2)// specific volue by interpolatin between 2 and 2.5 MPa
V=m*v // final volume
printf("The Final V... |
ca5b0754d72f5558280d1e0bfdd34e147b5f1391 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH8/EX8.4/ex8_4.sce | c1c9ff69f0605c62dc4b3f7b12d55c2a298149e3 | [] | 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,018 | sce | ex8_4.sce | clear;
//clc();
// Example 8.4
// Page: 177
printf("Example-8.4 Page no.-177\n\n");
//***Data***//
n_water = 80;//[mol]
n_butanol = 20;//[mol]
n_total = n_water+n_butanol;//[mol]
// Here from the figure 8.12 given in the book we can find the mole fraction of the water in each phase
// Let x_feed be the ... |
16ac8112461f4c1dbded74a3ebb069c990bd1432 | 178822612bcd418dc12ba7a649304a24ab618d60 | /Numerical Analysis/GaussAvecPivot.sci | 69225344d29a932a5e0ead54357125e273c84eff | [] | no_license | engom/Math_Problem_Solving | b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3 | 6538c476681ae4ee803ea9b3a8944c5f370e1961 | refs/heads/master | 2022-05-25T01:13:16.123161 | 2016-02-13T11:32:28 | 2016-02-13T11:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sci | GaussAvecPivot.sci | A = [1 2 -2;1 1 1;2 2 1]
b = [1;-2;3]
function[x]=GaussAvecPivot(A,b)
n=size(A,'c')
for k=1:n-1
for i=k+1:n
end
abs(A(k0,k))=max(A(l,k))
k=k0
p(i)=A(i,k)/A(k,k)
for j=k+1:n
A(k,j)=A(i,j)-p(i)*A(k,j)
end... |
db77db2908131d76e3c5d46f3346d02951824a98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH15/EX9.15.5/Ex9_15_5.sce | 5b6c16da481e411f842d32fac9aee292e353fbbc | [] | 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 | 292 | sce | Ex9_15_5.sce | //Section-9,Example-1,Page no.-E.8
//To predict whether the reaction is spontaneous or not.
E_01=1.23 //E_0(H+,O_2,H_2O)
E_02=-0.44 //E_0(Fe2+,Fe)
E_0=E_01-E_02
disp(E_0,'E_0 for the given cell(V)')
//Since E_0 >0,it follows that the reaction is spontaneous.
|
482cc62cc8553e82c5720b921b23feb5c40220ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH3/EX3.9/ex3_9.sce | 34c9eafab4e5c3ce3b9ec413b07cf93743bbf6d7 | [] | 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 | 259 | sce | ex3_9.sce | clc;clear;
//Example 3.9
//given data
R=10967700;//Rydberg constant in 1/m
//calculation
W1=4/(3*R);//as n1=1 and n2=2
disp((W1*10^10),'Long wavelength in angstrom');
W2=1/R;//as n1=1 and n2=infinity
disp((W2*10^10),'Short wavelength in angstrom') |
776f57e710148a33e799321c88255f4f07a00172 | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/invdef_overhead.tst | 88f67fae00a7c7344bdba4540776f397fb882c2d | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 2,869 | tst | invdef_overhead.tst | CONNECT SCOTT/TiGER
@@tmr81.ot
CREATE OR REPLACE PROCEDURE count_emp_definer
AUTHID DEFINER
IS
n INTEGER;
BEGIN
SELECT COUNT (*) into n FROM emp;
END;
/
grant execute on count_emp_definer to demo;
CREATE OR REPLACE PROCEDURE count_emp_invoker
AUTHID CURRENT_USER
IS
n INTEGER;
BEGIN
SELECT COUNT (*)... |
2e8a6c7ac3ae4297cef78e94d585061cef27baa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/CH2/EX2.3/2_3.sce | 69d3d9c7ad37fe784d4f20cc0ec5088db8c5a9da | [] | 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 | 2_3.sce | //clear//
clc
clear
exec("2.3data.sci");
CA0=(yA0*P0)/(R*T0);
FA0 = CA0*v0;
//V = FA0*X*(1/-rA)
V = FA0*inttrap(X,p)
disp("FA0 =")
disp(FA0)
disp("mol/s")
disp("V =")
disp(V)
disp ("dm^3")
disp("Answer is slightly differennt from the book because inttrap command of SCILAB uses trapezoidal integration, w... |
e89180bd1590fe277fec5cb5c2949b9316ef1d9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.11/Ex2_11.sce | 033ee5920b64a6f5a9b39c7fd5ba3ae0f40a2cf0 | [] | 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 | 211 | sce | Ex2_11.sce | //Finding forces developed in wires
//applying Lami's theorem
T1=150*sind(90+60)/sind(45+30) //N
T2=150*sind(180-45)/sind(45+30) //N
printf("The forces in the wires are:-\nT1=%.1f N \nT2=%.1f N",T1,T2)
|
d2565063ee9ea8278b422ea730971f634cacb1c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH6/EX6.17/6_17.sce | 25d76b70e61afc8a7c317f9b4959d7f2a711c2d3 | [] | 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 | 126 | sce | 6_17.sce | clc
//initialisation of variables
p= 0.08 //atm
//CALCULATIONS
a= (1-p)/(p+1)
//RESULTS
printf ('fraction = %.2f ',a)
|
7e85052f3bcb68359bc9687cc13be92191cb2b8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH35/EX35.3/ex3.sce | c137110f638a4d666ecfce46f2910644d7b6768c | [] | 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 | 312 | sce | ex3.sce | clc
p=206/840
disp('q=1-p')
q=1-p
n=840
disp('standard error of the population of families having a monthly income of rs. 250 or less=(p*q/n)^0.5=')
(p*q/n)^0.5
disp('hence taking 103/420 to be the estimate of families having a monthly income of rs. 250 or less,the limits are 20% and 29% approximately') |
128a05d714bc45f990ba9ab8ca3da87d1e5cd2e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH8/EX8.4/ex8_4.sce | 791e3a60e06988f7d8a0a3e868384e93de2b773c | [] | 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 | 226 | sce | ex8_4.sce | // Example 8.4, page no-211
clear
clc
d=2700//kh/m^3
awt=27
t=10^-14//s
e=1.6*10^-19//C
m=9.1*10^-31//Kg
avg=6.023*10^26
n=avg*d*3/awt
sig=(n*t*e^2)/m
printf("The conductivity of Al is %.4f*10^7 ohm-m.",sig*10^-7)
|
09caf201bd89bda230aea17864d22b2c91f40d29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH7/EX7.5/7_5.sci | 42254ce352819cc952554ddbb8e4522047fe23e6 | [] | 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 | sci | 7_5.sci | // calculating maximum error
clc;
R=5*10^6;
V=0.00005*R;
disp(V,'0.005 percent of the reading(micro sec)=');
LSD=1;
ME=V+1;
disp(ME,'Maximum error (micro sec)=')
R=500;
V=0.00005*R;
disp(V,'0.005 percent of the reading(sec)=');
LSD=1;
ME=V+1;
disp(ME,'Maximum error (sec)=')
|
c7fc06c625b4a9b27a2575ba2a00811859c31704 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH3/EX3.9/example3_9.sce | 3dd400cc4541f15d422b8214c8e6ac09abcc2996 | [] | 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,843 | sce | example3_9.sce |
clear;
clc;
printf("\t Example 3.9\n");
Cas=1.521*10^-7;
v=1525; //velocity in m/s
D=0.0516; //diffusivity in cm^2/s
d=1.25*10^-3; //density of air in g/cm^3
u=1.786*10^-4; //viscosity of air in n*s/m^2
Dia=2.54; //diameter in cm
nre=(Dia*v*d)/(u); //calc. of reynolds no.
... |
72cf6a7da3472de8163947f476b5742d0f7663e9 | 2e768d577a9279039672816cbc408828923ec86d | /macros/colorChange.sci | ac5bab5ead5807c9ffdd9220d246c109f268b360 | [] | no_license | rg77/FOSSEE-Image-Processing-Toolbox | 3eebdad59f6bef3ee1d01f42d19ccbe798a05f8e | 6e18569e0bdeba9e75387b404fd9aeb3caf1a30d | refs/heads/master | 2020-12-02T16:16:35.016043 | 2017-07-07T12:39:05 | 2017-07-07T12:45:50 | 96,527,784 | 0 | 0 | null | 2017-07-07T10:25:25 | 2017-07-07T10:25:24 | null | UTF-8 | Scilab | false | false | 3,075 | sci | colorChange.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_... |
a2fa98da7513043aa56695332f9bc8652a6bcea6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH3/EX3.13/Ex3_13.sce | d6c79fd8cdae63456e978bfc9bbb57af6f926549 | [] | 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,057 | sce | Ex3_13.sce | clc();
clear;
//Given :
angle = 4*10^-2 ; // angle in rad
//1 radian = 57.2957795 degrees
theta = angle*57.2957795 ;// in degrees
// d*sin(theta) = lambda , so d = lambda/(sin(theta)) :
//(a)For Sound waves
lambda1 = 0.75; // Wavelength in m
d1 = lambda1/sind(theta); // distance in m
//(b)For Ultrasonic ... |
55218ae3b06f1943e84294c225882bbf077c7ab1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.28/EX_2_28.SCE | 320c2e2c9bbb4b237e4f6c00a69bdada30b0bc6f | [] | 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 | 526 | sce | EX_2_28.SCE | // Example 2.28: Ic,Vce
clc;
clear;
close;
Vcc=22;// Colector voltage in volts
Beta=40;
Rc=10;// Collector resistance in killo ohms
Re= 1.5;// in kilo ohms
R1= 40;// in kilo ohms
R2= 4;// in kilo ohms
Vbe=0.5;// Base to emitter voltage in volts
Vb=Vcc * (R2/(R1+R2)); // vOLTAGE AT BASE
Ic= (Vb-Vbe)/Re; //in... |
fd74e5cc30a2256d9e7ef9425620f7c48ae8e898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH1/EX1.5/ch1ex5.sce | 4ad13879a89155b33ee5a87e0602f57aabb92215 | [] | 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 | 404 | sce | ch1ex5.sce | //signals and systems
//time reversal
clear
close
clc
t=[-6:0.1:6];
a=gca();
plot(t,exp(t/2).*((t>=-5)&(t<=-1)));
figure
a.thickness=2;
a.y_location="middle";
xtitle=('the signal x(t)')
//by replacing t by -t we get
a=gca();
plot(t,exp(-t/2).*((t>=1)&(t<5)));
a.thickness=2;
a.y_location="middle";
xtitl... |
d313d1f62337d68f0298963d8485efe55ee313fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH8/EX8.3/Example8_3.sci | 998e5410af4d896dfe5137a230d59b2379055250 | [] | 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,117 | sci | Example8_3.sci | //Programming Example 8.3
//Read several lines of text and determine the average number of characters per line
funcprot(0)
function[]= mainReadAvg()
//n=number of chars in a given line
count=0 //number of lines
Sum=0 //total number of characters
printf("Enter the text below:")... |
be655346c156778c1874af3dee0bfe3b38edab44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.16/Ex1_16.sce | c35015cf2c75dd92b302508051404657d7437f7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | Ex1_16.sce | clear
//
//given
dv=20 //dv/dt
c=25*(10**-6)
//case a
i=c*dv
printf("\n i= %e A",i)
//case b
q=c*dv
printf("\n q= %e C",q)
//case c
p=dv*i
printf("\n p= %e W",p)
//case d
v=dv**2
wc=(c*v)/2
printf("\n wc= %e J",wc)
|
f612bff3d22e5f6c3403cf36cc959a1d38cc012b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535.zip/Fundamentals_Of_Nuclear_Science_And_Engineering_J._K._Shultis_And_R._E._Faw_3535/CH5/EX5.6/Ex5_6.sce | 40a6bb87532d32fb249cd886649912a7983c128d | [] | 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 | 214 | sce | Ex5_6.sce | errcatch(-1,"stop");mode(2);//Chapter 5, Example 5.6, Page 129
// Age of the wood
//based on eq 5.74
t = -(5730/log(2))*log(1.2/6.4)
printf("\n Time = %f y ",t);
//Answer may vary due to round off error
exit();
|
07038a041f53a6f48283cc62eddc87bdf3947dea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH9/EX9.3/ex9_3.sce | d124aebaf9c58651eae4527be7ceb7f6b20df9f8 | [] | 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 | ex9_3.sce | clc;
clear all;
h = 6.62e-34; // Planck's constant in J.s
c = 3e8; // Velocity of ligth in air
t = 18000; // Time of glow - (5*3600) in seconds
P = 30 //Power in watts
lambda = 5893e-10; // Wavelength of emitted ligth in meters
E = (h*c)/lambda; // Energy of a photon
n = (P*t)/E; // let n be the number of photo... |
aae650b51aad79e6370ab2f81208beef0aa10ae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH11/EX11.2/11_2.sci | 61b723d45e36842637c9b6cdff4478ac65a04703 | [] | 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 | 560 | sci | 11_2.sci | clc();
clear;
//To determine the binding energy per nucleon of U with mass no. 235
M=235.043945; //atomic mass of uranium
Z=92; //atomic number of uranium
mp=1.007825; //mass of proton
N=143; //no.of neutrons
mn=1.008665... |
1ef51ff5bd58f8523de8bafb8cc92139264d25c8 | ca85f6c9a24e8f358782db08c26600b52c090c87 | /circular_convolution.sce | c655c820194c1f80c61f84382fea546dad3d2f29 | [] | no_license | ROHITDH/circularconvolution | 56d930b0821d9ae52f3b0b1b6b4df573f0a08745 | d742b36b106e85f3b4fee2732c3d7ec6d9a78979 | refs/heads/main | 2023-01-06T21:13:43.992152 | 2020-10-26T13:42:58 | 2020-10-26T13:42:58 | 308,819,433 | 0 | 0 | null | 2020-10-31T06:30:46 | 2020-10-31T06:30:45 | null | UTF-8 | Scilab | false | false | 471 | sce | circular_convolution.sce | clear
clc
close
x = input('Enter input sequence x(n) =');
h = input('Enter impulse response h(n) = ');
lx = length(x)
lh = length(h)
N = max(lx,lh)
x = [x zeros(1,N - lx)]
h = [h zeros(1,N - lh)]
n1 = 2:N;
xm = [x(1) flipdim(x(n1),2)]
disp(xm)
yc = sum(xm.*h) // to get sum of product
... |
e6ead2ef32636496fd160b440ceda1fbfdfe1e8f | c60c6eeccc936a29a7517d2c67ae530cfe26d091 | /TestTool/testfiles/tcu/alarm.tst | b4724b64d470fcfdc5d833fdaaf51f9025f35e59 | [] | no_license | joshuaju/BscSoftware | 4a208ce2c4043eab4c18816bd675727c152d3afd | 564d428225806da69f43dac3f66643732c9aa690 | refs/heads/master | 2021-06-01T05:42:45.596108 | 2016-07-29T11:52:52 | 2016-07-29T11:52:52 | 58,967,370 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | tst | alarm.tst | [AUTHOR] Joshua Jungen
[TESTNAME] Überprüfung der Alarmschwellen
[LIB] "TCUIVKeywordLibrary.jar" tcu
[VAR] "config.var"
[REPEAT] 10
[SETUP]
Ist Torque Alarm inaktiv
{status_ch2} = Lese Feature Status von Bit "4"
Deaktiviere das Feature Kanal 2
Warte für {delay_short}
[TEST]
{ratedTorqueA} = Lese Rat... |
b19ec845ea0a1895eb05ccde545c99ae0bdf62d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH8/EX8.3/Ch08Ex3.sci | 4a42cf639362cf3314cf542cc8c95b4c2e6c0253 | [] | 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 | sci | Ch08Ex3.sci | // Scilab Code Ex8.3 Calculation of wavelength of characteristic X-rays Page-253 (2010)
h = 6.626e-034; // Planck's constant, Js
c = 3e+08; // Speed of light in free space, m/s
e = 1.602e-019; // Charge on an electron, coulomb
E_K = -78; // Energy of K shell for platinum, keV
E_L = -12; // Energy of L sh... |
e472e8ed2821ac77fac9f26be9a3fcecfe51bb8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH15/EX15.6/15_6.sce | dc2a91f532816cb32269abd32d234e273eecbe13 | [] | 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 | 810 | sce | 15_6.sce | clc;
//page no 525
//prob no. 15.6
//A transmitter with o/p power=10W at fc=250MHz,connected to Tx 10m line with loss=3dB/100m t0 antenna with gain=6dBi.Rx antenna 20km away with gain=4dBi
//Refer fig.15.6,assuming free space propagation
d=20;fc=250;Gt_dBi=6;Gr_dBi=4;loss=3/100;Zl=75;Zo=50;L=10;Pt=10;
Lfs=32.44+... |
0a62348f70a90463cc2cfb8f85f0001a54a3b66c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.1/Ex1.sce | 13f56c912319887e45f043388fc90a684fc077f6 | [] | 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 | 568 | sce | Ex1.sce | // Additional solved examples , Example 1 , pg 330
lam=590*10^-9//wavelength(in m)
T=270+273 //temperature(in kelvin) (converting celsius into kelvin)
k=1.38*10^-23//boltzman constant (in (m^2*Kg)/(s^2*k))
h=6.625*10^-34//plancks constant(in Js)
c=3*10^8//speed of light
N=exp(-(h*c)/(lam*k*T)) //N=(n2/n1)=rela... |
c5afd4d86f7b98f4498322d0ce8cd6ed7636b929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH1/EX1.10.b/Example1_10_b.sce | 4d6d7de1f005a04a63b0bf2a68a4bb4aa6ea3882 | [] | 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 | 655 | sce | Example1_10_b.sce | //Example 1.10(b)
clear;
clc;
R1=1*10^3;
R2=1*10^6;
ro=75;//Output Resistance
a=200*10^3;//Open Loop Gain for ic741
b=R1/(R1+R2);//Feedback Factor
T=a*b;//Loop Gain
Trec=1/T;
Atemp=1+Trec;
Atempr=1/Atemp;
A=(-R2/R1)*Atempr;//Gain
Rnnum=R2+ro;
Rnden=1+a;
Rn=Rnnum/Rnden;//Equ... |
bf4da3de6048d10453c180b2b5f464173cef680f | 2587236934174196597ea90b834c2cf87d5bdb0d | /Questao1_a.sce | c6e6815bb1c167e3f43d3b44dbb3833e7cc90de6 | [] | no_license | Stephaniebraga/SC2 | 386bb257d07e874e3a22595d90c1327ec26bf365 | 011331e5cad4a633f935495ff8e95151254a118a | refs/heads/master | 2021-01-19T04:56:19.429061 | 2015-08-04T12:39:35 | 2015-08-04T12:39:35 | 39,805,292 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,455 | sce | Questao1_a.sce | //Trabalho de Simulação
//Disciplina: Sistemas de Comunicação II
//Dupla: Stéphanie Braga e Hugaleno
//Questão 1 - item a: Sinalização On-Off e cálculo de espectro de potência.
clc;
close;
clear;
//gera sinal
N=1000;
b=rand(1,N); //Gera matriz com valores N aleatórios entre 0 e 1.
x=round(b); //arredonda os valores ... |
c796cf5a571871920f3f74834561faa35232bf4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH1/EX1.3/1_3.sce | d4cea7d1a82ecb29a059f9387d46bf52da44e796 | [] | 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,712 | sce | 1_3.sce | clear;
clc;
// Illustration 1.3
// Page: 9
printf('Illustration 1.3 - Page:9 \n\n');
//*****Data*****//
// Blood contains two parts a-blood cells b-plasma
f_a = 45; // [percent of blood cells by volume]
f_b = 55; // [percent of plasma by volume]
r = 1200; // [Rate of blood which is pumped through artifi... |
28d86303442a8b7ff804fadb8b61f2d82abefa96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.22/Ex3_22.sce | 13aca62ace75ec6f6d17ba4f0b57f0c05985f8c2 | [] | 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 | Ex3_22.sce | //Example 3_22
clc;
clear;
close;
format('v',6);
//given data :
L=100;//mH
R=15;//ohm
V=230;//V
f=50;//Hz
XL=2*%pi*f*L/1000;//ohm
IR=V/R;//A
disp(IR,"Branch Current IR(A)");
IL=V/XL;//A
format('v',5);
disp(IL,"Branch Current IL(A)");
I=sqrt(IR^2+IL^2);//A
disp(I,"Line Current I(A)");
pf=IR/I;//Power f... |
c444dc78d90f7e5df989b40ddece0fe7b5a25f56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH5/EX5.3/Ex5_3.sce | 00d6c060069261d41dd92b2cd203feb44a79df08 | [] | 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 | 728 | sce | Ex5_3.sce | sigma_cc=5//in MPa
sigma_sc=130//in MPa
b=300//width, in mm
D=400//depth, in mm
P=1000//axial load, in kN
Ag=b*D//in sq mm
Asc=(P*10^3-sigma_cc*Ag)/(sigma_sc-sigma_cc)//in sq mm
//provide 25 mm dia bars
n=round(Asc/(0.785*25^2))
mprintf("Provide %d no. 25 mm dia bars\n", n)
//design of links
dia=20/4//in mm
... |
82ca00f8e1bbc7c87ef6fc78e50ce5dbcc542bba | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH2/EX2.2.44/Ch2_2_44.sce | e952d47c182775f9e8193395dec13f5c080d2d92 | [] | 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 | 335 | sce | Ch2_2_44.sce | clc
disp("Example 2.44")
printf("\n")
disp("Find the ripple factor & DC load current")
printf("Given\n")
Vm=230
f=(314/(2*%pi))
RL=400
C=500*10^-6
//ripple factor
r=1/(4*sqrt(3)*f*RL*C)
//DC load current
Vdc=Vm/(1+(1/(4*f*C*RL)))
Idc=Vdc/RL
printf("ripple factor \n %f\n",r)
printf("DC laod current \n%f a... |
1f0a6bd30afb40f45e344204a8a4f41cceadf88d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH13/EX13.3/ex13_3.sce | 8842d93b27fc988c70fe7d521d76b570e0915a44 | [] | 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,108 | sce | ex13_3.sce | clc;
// Let take NH3 as component 1 and H2O as component 2
// (a) & (b)
// Calculation of f1sat = pi1sat*p1sat for ammonia
P_1=50; // low reference state pressure in kPa
P1sat=614.95; // Saturation Pressure of ammonia at 10 oC in kPa
h1sat=1453.3; // Specific enthalpy at 10 oC in kJ/kg
s1sat=5.2104; // Specific ... |
917f43b53148889632595d3ce14471567b95052a | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH13/EX13.3/example3.sce | 9f9f7aad8025b61c215063e85a4b74064f4f6bfe | [] | 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 | 668 | sce | example3.sce | // calculate gate voltage and drain current at half cutoff point
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 13-3, page 431
clear; clc; close;
// Given data
// 2N5668
Vgsoff=-4;// gate-source cutoff voltage in volts
Idss=5*10^-3 ;/... |
2aa0a8335136f07be4ce6ea3062c8dc648a8d622 | b74b2ace796d50f1d2550b2ac8747b0c55e7faa7 | /macros/herokuhtml.sci | ba471097d7d78573deb8c37b111c387a1670ed87 | [] | no_license | slevin48/plotdeploy | 2f1a5aea6b14b540b7890a86c588e8361e237152 | 2bbba304a9151beb4b01104746ea41f95d73bd78 | refs/heads/master | 2023-02-14T22:09:40.476472 | 2021-01-08T19:00:04 | 2021-01-08T19:00:04 | 263,965,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sci | herokuhtml.sci | function herokuhtml(figname)
// Create a index.php file to start the heroku app
// <?php include_once(“home.html”); ?>
// Create a html file for the plot
// <img scr="plot.png">
fd2 = mopen(SCIHOME+'\plotdeploy\home.html','wt');
mfprintf(fd2,'<img src=""plot.png"">');
mclose(fd2);
endfunctio... |
969fb1c4f0ad08dfa637a779323295ac6fa6f4c8 | b846ffaa3e3e3311c37e95270bbe930fdf91a314 | /matricAddition.sci | fddab1cd5800a6dd19e8624067f5f7edb986748d | [] | no_license | rahulgarg28071998/mathlab-practical-scilab | 100a15f74f94942d32a8be8125b4020a7e265ede | a83cc6b817fcca9268a59583eab372109552f2f8 | refs/heads/master | 2020-03-11T15:22:05.161498 | 2018-04-18T15:19:11 | 2018-04-18T15:19:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sci | matricAddition.sci | clc
m=input("input the number of rows")
n=input("input the number of column")
disp("Enter elements of first matrix:")
for i=1:m
for j=1:n
A(i,j)=input(" ")
end
end
disp(A)
disp("Enter elements of second matrix:")
for i=1:m
for j=1:n
B(i,j)=input(" ")
end
end
disp(B)
... |
418168a428f9b9e1cc27438ce47de3b092a54746 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH8/EX8.11/8_11.sce | 0043d360e93595e9ef00d46b4f6ebddd8b136454 | [] | 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 | 420 | sce | 8_11.sce | m1 = 2; // m1_dot
m2 = 1;
T1 = 90+273;
T2 = 30+273;
T0 =300;
m = m1+m2;
x = m1/m;
t = T2/T1; // Tau
cp = 4.187;
Sgen = m*cp*log((x+t*(1-x))/(t^(1-x)));
I = T0*Sgen;
disp("kW/K",Sgen,"The rate of entropy generation is")
disp("kW",I,"The rate of energy loss due to mixing is")
// Alternatively
T = (m1*T1+m... |
161b5a9eddc412822f2b27c5bec0594ec13b9961 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/vmm_4.sce | 714bdf4b961bfe589e00338315d715c41e37ced2 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,061 | sce | vmm_4.sce | //****************************** VMM ***********************************
if (blk_name.entries(bl) =='vmm_4') then
//disp("VMM block");
mputl("# VMM",fd_w);
vmm_str= '.subckt vmm_4x4 ';
vmm_out=' ';
for pst=0:3
vmm_str=vmm_str + ' in['+string(pst)+']=net' + string(blk(blk_objs(bl),pst+2));
... |
b284aaa92d1a68152b4f02655a8e01d0c55b96a8 | ee448e163bbdfa978366ef29a12478fef0cfeee3 | /euler.sce | 47fc89282d0c2de1f472dc99d82de97408568cb4 | [] | no_license | jerryleandro/ComputacaoNumerica | f3d14bd31e08424fa16dddf21e904e8ee012cd80 | 3e9da09f585c5ded586355b0974e63f3853014da | refs/heads/master | 2021-07-23T22:46:44.703735 | 2020-09-25T02:13:32 | 2020-09-25T02:13:32 | 217,126,491 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | euler.sce | function [x,y] = euler(a , b , h, y0)
x = a : h : b
y(1) = y0
n = length(x)
for i = 2 : n
y(i) = y(i - 1)+ h* df(x(i-1),y(i-1))
end
endfunction
function t = df(x,y)
t = (12 - y)
endfunction
plot(x,y,'o-')
|
8f74eced90a25726ecd2f412b1b75a9cc9a481a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH5/EX5.21/5_21.sce | c688681684e463f22e0fa9d186a3b342a958220e | [] | 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 | 441 | sce | 5_21.sce | pathname=get_absolute_file_path('5_21.sce')
filename=pathname+filesep()+'5_21data.sci'
exec(filename)
V=sqrt(2*Wt/(D*S*Clm));disp(V,"V=","V=sqrt(2*Wt/(D*S*Clm))","stalling speed for Boeing 727 V:")
printf("\Answer:\n")
printf("\n\stalling speed for full fuel tank : %f m/s\n\n",V)
disp("stalling speed for lockhead... |
887c53770e79c8a66a637e674c79692a1d217faa | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/LT52YEG/ATWM1_Working_Memory_MEG_LT52YEG_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 0246a56e2352c7ddd5c8a4e8e2df98353cfe3389 | [] | 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,383 | sce | ATWM1_Working_Memory_MEG_Salient_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_monitor... |
051749e9c909f86227a03db815b0cf6c4082651d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH8/EX8.4/Ex8_4.sce | be86bbd63d3f56b97ac684495b748eea0b6e9cff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | Ex8_4.sce | clear ;
clc;
// Example 8.4
printf('Example 8.4\n\n');
printf('Page No. 232\n\n');
//given
pump_1 = 100*10^3;// Required pump in W
T_1 = 8;// Pump Operating time of each day
Inc_op = 0.5;// Increased output per cent
pump_ex = 50*10^3;// Extra pump requried in W
// This question doesnot contain any calcula... |
4ee2c64b1163d010c17ec6d7ff161620db8befd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH7/EX7.9/Ex7_9.sce | 4bf2ca568aa5213106d440a0c532287f09f0a98d | [] | 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,277 | sce | Ex7_9.sce | clc
clear
//DATA GIVEN
n=6; //no. of cylinders
D=0.09; //bore of each cylinder in m
L=0.1; //length of stroke in m
r=7; //compression ratio
ETArel=0.55; //relative efficiency
Fsc=0.3; ... |
e7c7fde4e5ae54e918bc933ad9379b6c475ac53b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH19/EX19.10/EX19_10.sce | 9f35c52642ea0038486cf0b57246d2caf03751d2 | [] | 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 | 383 | sce | EX19_10.sce | //Finding of Head , Shaft Power
//Given
n=3;
D1=0.4;
B1=0.025;
a=30;
A=0.15;
A1=0.0267;
Emano=0.85;
E=0.75;
Q=0.06;
N=1200;
g=9.81;
rho=1000;
//To Find
V=Q/A1;disp(V);
u=(%pi*D1*N)/60;
Vw1=(u*tan(%pi/6)-V)/tan(%pi/6);
Hm=(Emano*u*Vw1)/g;
Hm1=3*Hm;
SP=(rho*g*Q*Hm1)/(1000*E);
disp("Head ="+string(Hm1... |
ca94d3471ced65d48eb1fcce9e41c7723b92087d | 484e05962b62928b49ae2e8fd80d4c45031eb3dc | /outsub/outsub.tst | c985b8e27639d48bbbe0124c4a28dda2ff2eacb5 | [] | no_license | Royallle/hdl_cfx | adbb9dce7e3ae69507a4c1b26cddbd3b3a9eb0dc | 52cbe66f365516b659b65909e86aacb60da0342b | refs/heads/master | 2022-02-24T06:54:22.169423 | 2019-09-15T15:29:35 | 2019-09-15T15:29:35 | 110,464,895 | 0 | 0 | null | 2017-11-14T13:40:42 | 2017-11-12T20:05:58 | Scilab | UTF-8 | Scilab | false | false | 360 | tst | outsub.tst | // Script de teste da função outsub
load outsub.hdl,
output-file outsub.out,
compare-to outsub.cmp,
output-list a%B1.5.1 b%B1.5.1 out%B1.5.1;
set a %B00001, // 1-1
set b %B00001,
eval,
output;
set a %B11011, // -5-(+1)
set b %B00010,
eval,
output;
set a %B01000, // 8-4
set b %B00100,
eval,
output;
set a %B11011, /... |
5f4dafa4d95974d09a48480fb2d34efacac65015 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH10/EX10.12/10_12.sce | 0e00c5b161d1871dbbbc2300f1576538164c2ce8 | [] | 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,607 | sce | 10_12.sce | clear;
clc;
funcprot(0);
//Example - 10.12
//Page number - 351
printf("Example - 10.12 and Page number - 351\n\n");
//Given
P_1 = 80;//[bar] - Initial pressure
P_1 = P_1*10^(5);//[Pa]
T_1 = 300 + 273.15;//[T] - Initial temperature
P_2 = 40;//[bar] - Final pressure
P_2 = P_2*10^(5);//[Pa]
T_2 = 300 + 273... |
84049dfc7b31bbb6ba85cd14698416702f9a6091 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH8/EX8.12/ex8_12.sce | 58c51a7b4d796bc503682af2491343dccd1af6d1 | [] | 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,342 | sce | ex8_12.sce | clear;
//clc();
// Example 8.12
// Page: 193
printf("Example-8.12 Page no.-193\n\n");
//***Data***//
// This problem is similar to the example 8.10 except that, we are provided vapour phase composition
// Here again, we will denote ethanol as species 'a' and water as the species 'b'
y_a = 0.1700;
y_b = ... |
e0b45f9cf56ecbe7f62743ae223d8b536e429ba7 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test1-3.tst | b003e502d1c49efcfb180fd25e901b617210489c | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | tst | test1-3.tst | main
var x, y;
{
let x <- 1;
let y <- call inputnum();
while x <= y do
if x != 5 then
call outputnum(x);
call outputnewline()
fi;
let x <- x + 1
od;
call outputnum(x);
call outputnewline();
call outputnum(y);
call outputnewline()
}. |
cbd11c6d7f31cc39e16f4ea5f9b2dd0af8b7ace0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH3/EX3.19/Ex3_19.sce | 71f96902d76dcd9b5e4371ddf1387e5f8834aabe | [] | 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 | 568 | sce | Ex3_19.sce | //lubricants//
//page 3.38 example 9//
clc
S_C=188//Saponification value of castor oil//
wt_oil=12.3//weight f oil saponified(gms)//
blank=45//volume blank titration reading(ml)//
back=30.2//volume back titration reading(ml)//
volume=blank-back//volume of alcoholic KOH consumed(ml)//
N=0.5//normality of KOH for... |
c92ddf9487bba45ca7c93afa5aa12105effbf622 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH8/EX8.3/8_3.sce | d584cce01585c340147391ae66852388fc32ecb9 | [] | 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 | 8_3.sce | clc
//Initialization of variables
Q=2
A=0.196 //cm^2
D=0.5 //ft
rho=0.9*1.94
mu=0.0008 //lb s/ft^2
hl=25
g=32.2 //ft/sec^2
L=200 //ft
r=2 //in
//calculations
V=Q/A
R=D*V*rho/mu
f=hl*D*2*g/(L*V^2)
umax=V*(1+1.33*sqrt(f))
T0=f*rho*V^2 /8
u2=umax - 5.75* sqrt(T0/rho) *log10(D*12/r)
//results
printf("Ce... |
ffbec5e68509f60bb755a0c613e1bffad3643887 | 9c1679fe9e7e3791831c4b8371a70002356d26e3 | /exp2a_fm.sce | e3001d62f7a003c75b07a17ab58ba48fffc11c1a | [] | no_license | prajakta98/OSTC | a5947113b6ffe9da1ea3301ab3d70bb34ec3d88d | 153cf64155d1e33c54271e711c49c4c945fbe6e6 | refs/heads/master | 2020-03-24T22:49:35.118555 | 2018-10-23T04:20:18 | 2018-10-23T04:20:18 | 143,104,662 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | exp2a_fm.sce | t= 0:1/1000:1; // declare time interval
Ac = 9; // amplitude of carrier signal
Am = 4.5; // amplitude of modulating signal
fc = 100; // carrier frequency
fm = 50; // modulating frequency
//Carrier signal
Vc = Ac *cos (((2*%pi)*fc)*t);
... |
dded06962711a1b9fa982e0a2fbaf73e6e06e42e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/demos/metanet/metro.sci | 1ef01018973fa00c11f477e1d3000ec5de327bd3 | [
"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 | 11,502 | sci | metro.sci | function []=metro()
//Scilab program for the travel by the tube in Paris
//needs the file 'node2station' giving the fit between nodes and the names
//of the stations
//needs the execution of the program 'metrostart' for the data of the graph
// Copyright INRIA
inin=file('open',SCI+'/demos/metanet/node2station','old');
... |
70fef43b5ec2809868688ef429197258250a4b6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.2/3_2.sce | 747466c211e040b3156ae559238cc340c964d7b5 | [] | 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 | 642 | sce | 3_2.sce | //Network Theorem 2
//pg no 3.4
//example 3.2
disp("When 4-A source is acting alone:");
disp("By current-division formula :");
I1=3.33*(3.53/(6+3.53));
printf("I1=3.33*(3.53/(6+3.53)) = %.2f A (down)", I1);
disp("When 10-V source is acting alone:");
disp("By current-division formula :");
I2=0.833*(3.53/(6+3.53... |
b511be465b8f2c982f0c2d22c49fd88c4c231258 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.8_7.tst | 3832f3432f72e320a348255d3509d45586976a11 | [] | 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 | 543,210 | tst | 5.8_7.tst | 8 230:1 408:1 515:1 725:1 823:1 914:1 1201:1 1476:1 1522:1 1617:1 1741:1 1807:1 1892:1 1946:1 1971:1 1972:1 2189:2 2349:1 2366:1 2374:1 2376:1 2780:1 2798:1 2864:1 2906:1 3023:1 3057:1 3327:1 3419:1 3612:1 3805:1 3962:1 3995:1 4049:1 4201:1 4471:1 4616:1 4726:1 4872:1 4939:1 5071:2 5225:1 5226:1 5239:1 5387:1 5512:1 55... |
3bee838529460a9fd1e78aeb0318c9a19907b855 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH11/EX11.17/11_17.sci | 6c099bb877a2b23fb9b303936b6415ca5724fdec | [] | 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 | sci | 11_17.sci | //value//
s=%s;
H=syslin('c',1/((s+1)*s*(s+3)));
evans(H,100)
syms k;
m=s^3+6*s^2+8*s+k;
cof_a_0 = coeffs(m,'s',0);
cof_a_1 = coeffs(m,'s',1);
cof_a_2 = coeffs(m,'s',2);
cof_a_3 = coeffs(m,'s',3);
r=[cof_a_0 cof_a_1 cof_a_2 cof_a_3]
n=length(r);
routh=[r([4,2]);r([3,1])];
routh=[routh;-... |
39ec8384dd017411299a9186f1156c879eba038a | b7c000944f3bdb1516cb63cc765742ab020019eb | /oscillator-euler.sce | 9a77f5cdb8d89a143c0cfe3a571563b4c84f6266 | [] | no_license | arngucci/TP2 | 42411f06cce1b079fe9e8738716864638385376e | 7dc248be305ccc420b57224cbe33766e96ef4353 | refs/heads/master | 2023-01-19T06:06:47.517276 | 2020-11-19T09:14:49 | 2020-11-19T09:14:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | oscillator-euler.sce | //Parameters
N=10000;
dt=0.003;
R=4*(%pi)^2;
A=0.1;
x0=1;
y0=0;
//creating the vectors
t=0:dt:(N-1)*dt
x=zeros(N,1)
y=zeros(N,1)
//initialization
x(1)=x0;
y(1)=y0;
//loop
for i=1:N-1
x(i+1)=x(i)+y(i)*dt;
y(i+1)=y(i)-(A*y(i)+R*x(i))*dt;
end
figure;
plot(t',x);
|
09b127da667cf1bfd747cfeb88c3ed6007b29d0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH2/EX2.8/Ex2_8.sce | dcd510ad176be4018464c36aa88d72b28586993f | [] | 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 | 832 | sce | Ex2_8.sce | b=250//width, in mm
D=600//overall depth, in mm
bottom_cover=50//in mm
top_cover=50//in mm
d=D-bottom_cover//effective depth, in mm
sigma_cbc=5//in MPa
sigma_st=140//in MPa
m=18.66//modular ratio
M=95*10^6//in N-mm
//to find critical depth of neutral axis
Xc=d/(1+sigma_st/(m*sigma_cbc))//in mm
//to find Ast1... |
675d212f4ccc4fa675b3f0b4afb2be0562a813c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH4/EX4.5/4_5.sce | 1c57c071b63ab0a239a46b97714a3c9dc417c525 | [] | 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,386 | sce | 4_5.sce | //all the quantities are expressed in SI units
//(a)
//the slope function in terms of theta is given as
function temp = dz_by_dx(theta)
if (theta>=0) & (theta<=0.9335) then
temp = 0.684 - 2.3736*cos(theta)+1.995*(cos(theta)^2);
elseif (theta<=%pi) & (theta>0.9335) then
temp = -0.02208;
... |
44a84c12fe9cc1cd285b83b2e5b16db565d0b7eb | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_Temp/johan x y z assen 29 febr.SCI | a27c4f13dff25121ecb21b0fce764e8062572f96 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,328 | sci | johan x y z assen 29 febr.SCI | Codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
sf=T_scene_create;
sss=T_getscene;
vp=T_getviewport;
vp.CameraPos=point(0,0,10);
vp.CameraDir=vector(0,0,-1);
vp.FocalDistance=10;
vp.NearClipPlane=0.1;
vp.FarClipPlane=20;
sss.ambientlightcolor=color(0.3,0.3,0.3);
#bol=sf.add("sphere");#bol.color=color(1,0.5,0.5);#bo... |
5887d49699b23f37981cfe19ba225c7472e0cf04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH3/EX3.5/SolEx3_5.sce | 595acbfd898d04204e6eb8e89d5c1970e71c91f5 | [] | 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 | SolEx3_5.sce | //Find the required value of RB.
//Solved Example Ex3.5 page no 84
clear
clc
Vbb=6 //V
Vbeq=0.7 //V
Ibq=40//10^-6
Rb=((Vbb-Vbeq)/Ibq)*1000
printf("\n Rb = %0.1f k ohm",Rb)
|
22cf79d12db27886c7bdc053aaaf05b14de42d6e | 4b3c8d2302d37ad5981adb6f68fae3db1d9820c8 | /addNewWE.sce | b781d8ecf6daddd4e828fe56098d150dc8cc0353 | [] | no_license | mayank1513/littleBird_RD_ResourceManagementSystem | 002d19579b3b55a314450ec75d2874131741564b | 090d016248164580defc9b4629ba54c9dc362949 | refs/heads/master | 2020-03-15T04:48:31.637752 | 2018-05-03T09:46:53 | 2018-05-03T09:46:53 | 131,970,842 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,421 | sce | addNewWE.sce | if ~isdir(baseDir + '\WomenEmpowerment') then
mkdir(baseDir + '\WomenEmpowerment');
end
blkStr = get('blk','string')(get('blk','value'));
vilStr = get('vil','string')(get('vil','value'));
hemStr = get('hem','string')(get('hem','value'));
if isempty(blkStr)|isempty(vilStr)|isempty(hemStr) then
messagebox('Please... |
bf347fa33338dac973e8c347fdff225aa58c9027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH7/EX7.2d/eg7_2d.sce | 7c20cb26853708c55a8395bf2d0038919b8e4038 | [] | 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 | 90 | sce | eg7_2d.sce | accidents= [4 0 6 5 2 1 2 0 4 3 ];
lambda= mean(accidents)
disp(cdfpoi("PQ", 2, lambda)) |
bc6d8e685dfbab3371d00631f82338e2a30676fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH12/EX12.17/ex12_17.sce | e39dffd1c10f12296daec22b48dc3193337c9ab0 | [] | 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 | 315 | sce | ex12_17.sce | clc;
V=20; //potential difference in Volt
E=500; //Electric field in V/m
s=V/E; //calculating distance between them in metre using s=V/E
disp(s,"Distance between the plates in metre = "); //displaying result
disp(s*100,"Distance between the plates in cm = "); //displaying result |
5626e08cf7e7cd47ef2902a1ccf8fd12b188bcc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH11/EX11.1/ex11_1.sce | a424c890a91712325f9e2dc73303bf149082a9e4 | [] | 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 | 344 | sce | ex11_1.sce | clc;clear;
//Example 11.1
//calculation of total absorption and average absorption coefficient
//given values
V=20*15*5;//volume of hall in m^3
t=3.5;//reverberation time of empty hall in sec
//calculation
a1=.161*V/t;//total absorption of empty hall
k=a1/(2*(20*15+15*5+20*5));
disp(k,'the average abso... |
e4284e46c588ef86828a44e7e0a587a4c897aa1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH2/EX2.11/Exa2_11.sce | 53ba1384474e2a1a32b4e34dc66ba139d64841a6 | [] | 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 | 429 | sce | Exa2_11.sce | //Exa 2.11
clc;
clear;
close;
//Given data
IES=10^-14;//in A
alfaF=1;//unitless
alfaR=0.1;//unitless
//Formula : alfaF*IES=alfaR*ICS
ICS=(alfaF/alfaR)*IES;//in Ampere
disp(ICS,"Collector base junction saturation current in Ampere : ");
RelativeSize=ICS/IES;//unitless
disp("Collector is "+string(RelativeSize... |
56a72cf6393708218073b35b287c73463d39afe8 | 607fe53653a19100ed470c4f0b5da1a5cbb0a7f3 | /s06102020_2.sce | fd4101daa3cd34360766dd870b54cb6335017dda | [] | no_license | sanjeevphy/ForPhDCourseWork | 70b3944e4dce8a5f054ef59b8710923005ca9127 | 945812099f1f41395daa1b1ceeb33c69b9a07481 | refs/heads/main | 2023-02-22T04:25:00.575704 | 2021-01-28T07:00:53 | 2021-01-28T07:00:53 | 333,669,242 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 65 | sce | s06102020_2.sce | x0=0;
x1=0:0.3:2 * %pi;
X=integrate('sin(x)','x',x0,x1);
disp(X)
|
d9920c977c5ff2707a97071031f95d7b31a6f3a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.37/Ex4_37.sce | 7e6be9bacd06b8989e9458f444854e5a48e75ff9 | [] | 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 | 212 | sce | Ex4_37.sce | clear
//
//norton's theorem
//values derived and calculated from figure
v=complex(230,0)
xl=complex(8,-6)
isc=v/xl
IN=isc
rl=complex(0,5)
zn=(rl*xl)/(rl+xl)
zload=complex(4,3)
I=(IN*zn)/(zn+zload)
printf("\n I")
|
760e317ad1f3bbc1d6931b074aa86f9f95e13c94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH28/EX28.10/Ex28_10.sce | c1384b9041b0b23735ca5c37ee252b6040be491a | [] | 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 | 746 | sce | Ex28_10.sce | //chapter28
//example28.10
//page607
printf("1) Y = A . B . C` + A . ( B . C )` \n")
printf(" Y` = ( A . B . C` + A . ( B . C )` )` \n")
printf(" By De Morgan theorem \n")
printf(" Y` = ( A . B . C`)` . ( A . ( B . C)` )` \n")
printf(" By De Morgan theorem \n")
printf(" Y` = ( A` + B` + C ) . ( A` ... |
4cf687a5a63dc84860d188209203e198ebd2c837 | 564beb66e232557765505973f93cc322a394133a | /KONA/scilab/lu_no_pivot.sci | ff02241f4d14a2bcd9f6184e7e886bf859e481a8 | [] | no_license | KeithEvanSchubert/Keith_On | 2442bb74b9d531c96d9f10da8df1dede54423094 | fe8dd1e90e695957346aa176b7e0d0fea30171e3 | refs/heads/master | 2021-01-18T22:08:18.862471 | 2019-09-04T17:39:58 | 2019-09-04T17:39:58 | 51,767,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sci | lu_no_pivot.sci | function [l,u]=lu_no_pivot(A)
[m,n]=size(A);
l=eye(m,m);
u=A;
for colPivot=1:n
// for legibility
// pivot is on main diagonal (row=col)
rowPivot=colPivot;
// make sure the pivot isn't zero, as
// we must divide by it
if u(rowPivot,colPivot)==0 then
break;
end
// calculate the next col of l
for ro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.